背景
在本插件发布之时,正值农历新年(2023年2月)。通常在特殊节日期间,香港彩票的奖金会额外提高,以吸引人们购买。
然而,与此同时,我身处地球的另一端,远离我的大家庭和亲友们(你可以把它想象成圣诞节全家团聚的场景)。因此,我灵机一动,决定创作一款受此启发的彩票插件……如果你想了解是什么激发了这款插件的创作灵感,请滚动到页面底部。
关于
想要在你的服务器上拥有一个更接近现实世界(IRL)的彩票系统吗?该系统不会将所有售出的彩票中奖几率平均分配,从而避免那些只想碰碰运气的“穷人”白白把钱送给买了6400张彩票的那一个人。
使用本插件,你可以在服务器上创建手动启动或自动循环的彩票游戏。虽然完整机制可能并不简单,但通过下注加入游戏却超级简单。玩家可以根据他们押注的中奖号码数量赢得不同等级的奖品!
需要注意的是,中奖几率与下注的数量无关。(换句话说,只有一个人玩并不意味着该玩家100%会赢。)
如何玩 LotterySix?
1. 检查是否有已安排且可供游玩的开奖!
- 游戏可以在配置文件中设置开始时间,或通过
/lottery start手动启动 - 打开 GUI:
/lottery play

2. 点击金锭开始!

3. 选择你的6个幸运数字(简单参与)
- 还有更多复杂的参与方式等待你去发现!

4. 在预定的开奖时间准备好参与开奖!
- 将随机抽取6个数字 + 1个特别号码
- 由密码学安全伪随机数生成器进行抽取,如果你在意这一点的话

5. 如果赢了就领取奖品!
- 如果你选择的数字中有3个或以上与开奖结果匹配(不包括特别号码),你将赢得一些奖品!
- 匹配的数字越多,奖金越高!
- 每个等级并不保证有获奖者,这与幸运抽奖不同;事实上,赢得高等级奖项极其困难
- 详见下方链接中的详细解释

参与方式与开奖机制是如何工作的?
DiscordSRV 集成
通过 DiscordSRV 离线下注、查看你的投注、过去的开奖结果以及更多内容!
- 开奖结果公告
- 斜杠命令 /lottery




Floodgate Geyser 集成
在使用书籍界面的地方使用基岩版表单,因为书籍界面无法远程打开

负责任博彩
了解 LotterySix 即使作为一款仅供娱乐的 Minecraft 插件,如何促进负责任博彩
回馈社区 / 慈善
可以配置一个账户来接收作为税款扣除的部分彩票销售额(“彩票基金”)。
例如,这些资金可以由服务器所有者或管理员接收,然后重新分配给其他玩家,用于资助全服项目!这使得被征税的彩票销售额得以善其用,回馈给服务器社区。
依赖项
- PlaceholderAPI
- Vault
- 一个兼容 Vault 的经济插件
安装
仅在 Spigot、Paper 等上
- 将 LotterySix.jar 放入 plugins 文件夹,并包含所需的依赖项
- 启动服务器
- 编辑配置文件(如果需要)
- 重启服务器(如果你在步骤3中更改了配置文件中的内容)
通过 Bungeecord 或 Velocity 网络
- 将 LotterySix.jar 放入后端服务器(Spigot、Paper 等)的 plugins 文件夹中,并包含所需的依赖项
- 将 LotterySix.jar 放入代理服务器的 plugins 文件夹中(代理服务器上没有依赖项要求)
- 启动然后停止你的代理服务器和后端服务器
- 在代理服务器上编辑你的 LotterySix 配置文件
- 记得在上述配置中将
Bungeecord: true设置为 true - 将上述配置复制到所有后端服务器,并替换掉原本生成的配置
- 启动你的代理服务器和后端服务器
- 如果你以后想调整配置,请确保从步骤3开始再次遵循上述步骤
如果你不确定如何配置 LotterySix 游戏,建议阅读此内容。
开发构建版本
展示服务器
想试试这个插件吗?
IP: mc.loohpjames.com

命令
/lotterysix play - 打开 LotterySix 图形界面 [lotterysix.play]
/lotterysix balance - 修改任意玩家的投注账户余额 [lotterysix.balance]
/lotterysix start - 手动开始游戏并设定开奖时间戳 [lotterysix.start]
/lotterysix run - 手动开始进行中的游戏的开奖流程 [lotterysix.run]
/lotterysix cancel - 取消当前游戏并退还所有投注 [lotterysix.cancel]
/lotterysix preference - 设置您的个人玩家偏好 [lotterysix.preference]
/lotterysix settopprizefund - 设置当前游戏的前三名奖金池 [lotterysix.settopprizefund]
/lotterysix setdrawtime - 设置当前游戏的开奖时间 [lotterysix.setdrawtime]
/lotterysix setspecialname - 为当前游戏设置特殊名称 [lotterysix.setspecialname]
/lotterysix setcarryoverfund - 将上一轮的滚存奖金转入当前游戏 [lotterysix.setcarryoverfund]
/lotterysix reload - 重新加载配置文件 [lotterysix.reload]
/lotterysix update - 检查更新 [lotterysix.update]
默认配置
免责声明
许多司法管辖区对具有现实货币价值的“机会游戏”(如战利品箱或彩票)有相关法规限制。请确保您的服务器遵守这些相关规定。LotterySix 仅供娱乐,对于各服务器如何使用我们的内容概不负责。
数据使用
您的服务器将被包含在 的公开使用统计数据中。不会发送您服务器的任何私人信息。
版本检查也通过 进行,以便在新版本发布时通知您。不会发送您服务器的任何私人信息。
灵感来源:香港赛马会 的 “Mark Six 六合彩”
如果您想知道现实中它是什么样子的~~
(语言:粤语,部分英语)
开奖从 1:35 开始
Background
At the time of this plugin's creation, it is Lunar New Year (02/2023). Usually, during special holidays, the lottery prize money in Hong Kong get's extra high to attract people to buy for the occasion.
However, while that is happening, I am halfway across the globe from my extended family and loved ones (Think of it like Christmas when the entire family gather around). Therefore, I've had the bright idea of creating a lottery plugin inspired by this... Scroll to the bottom of the page if you want to see what inspired this plugin.
About
Want a lottery system on your server that is a bit more like IRL that doesn't evenly distribute chances over all tickets bought making the poor who wants to try their luck just idiots giving free money to that one person who bought 6400 tickets?
With this plugin, you can create a manually started or automatically reoccurring lottery game on your server. While the mechanics in full might not be as simple, joining a game by placing a bet is super simple. A player can win prizes of different tiers depending on the number of matching numbers they've bet on!
One thing to note is that the odds are independent of the number of bets placed. (In other words, one person playing doesn't mean that player is 100% going to win.)
How to play LotterySix?
1. Check if a draw is scheduled and available to play!
- Games can be scheduled to start in the config or manually started with
/lottery start - Open the GUI with
/lottery play

2. Click on the gold ingot to begin!

3. Choose your 6 lucky numbers (Simple Entry)
- There are also other forms of more complex entry methods for you to discover!

4. Get ready at the scheduled draw time for the draw!
- 6 numbers + 1 special number will be chosen at random
- By a cryptographically secure random number generator, if that matters to you

5. Collect prizes if you win!
- If the numbers you've picked contain 3 or more numbers selected in the draw (excluding the special number), you will win some prizes!
- The more matching numbers, the higher your winnings!
- Each tier is NOT guaranteed a winner, unlike a lucky draw, in fact, it is extremely difficult to win higher tiers
- See the link below for a detailed explanation

How do the entry types & draw work?
DiscordSRV Integration
Place bets, check your bets, past draw results and more offline via DiscordSRV!
- Draw Result Announcement
- Slash Command /lottery




Floodgate Geyser Integration
Use Bedrock forms in places where book interfaces were used because they cannot be opened remotely

Responsible Gambling
See how LotterySix facilitates the promotion of responsible gambling even as a just-for-fun Minecraft plugin
Returning to the Community / Charity
An account can be configured to receive a portion of the lottery ticket sales taken as tax (the "Lotteries Fund").
For example, they can be received by the server owner or an admin to then be redistributed to other players to fund server-wide projects! This allows taxed ticket sales to be turned to good use, returning them to the server community.
Dependencies
- PlaceholderAPI
- Vault
- A Vault Compatible Economy Plugin
Installation
Only on Spigot, Paper etc.
- Put LotterySix.jar into the plugins folder along with the required dependencies
- Start the server
- Edit the config (if you need to)
- Restart the server (if you changed something in the config in step 3)
Over a Bungeecord or Velocity Network
- Put LotterySix.jar into the plugins folder along with the required dependencies in your backend servers (Spigot, Paper etc.)
- Put LotterySix.jar into the plugins folder in your proxy server (there are no dependencies on proxy servers)
- Start and then Stop your proxy server and your backend servers
- Edit your LotterySix config on the proxy server
- Remember to set
Bungeecord: truein the above config - Copy the above config to all of your backend servers and replace the originally generated one
- Start your proxy server and your backend servers
- If you ever want to adjust the config, make sure you follow the steps again starting from Step 3
You are recommended to read this if you are unsure how to configure LotterySix games.
Development Builds
Showcase Server
Want to give the plugin a try?
IP: mc.loohpjames.com

Commands
/lotterysix play - Opens the LotterySix GUI [lotterysix.play]
/lotterysix balance - Change the balance in any player's betting account [lotterysix.balance]
/lotterysix start - Manually start a game and schedule the draw at timestamp [lotterysix.start]
/lotterysix run - Manually start the draw of an on-going game [lotterysix.run]
/lotterysix cancel - Cancel the current game and refund all bets [lotterysix.cancel]
/lotterysix preference - Set your own player preferences [lotterysix.preference]
/lotterysix settopprizefund - Set the top 3 tier prize fund for the current game [lotterysix.settopprizefund]
/lotterysix setdrawtime - Set the draw time of the current game [lotterysix.setdrawtime]
/lotterysix setspecialname - Set a special name for the current game [lotterysix.setspecialname]
/lotterysix setcarryoverfund - Set the carry-over fund from last round to the current game [lotterysix.setcarryoverfund]
/lotterysix reload - Reload the config [lotterysix.reload]
/lotterysix update - Check for updates [lotterysix.update]
Default Config
Disclaimer
Many jurisdictions have regulations against "Game of Chance" (Such as loot boxes, or lotteries) with real-world monetary value. Please make sure your server follows those relevant regulations. LotterySix is just for fun and is not responsible for how each server uses our content.
Data usage
Usage statistics at will be visible to the public with your server included in the statistics. No private information of your server is sent.
Update checking is also done via to notify you whenever a new version is released. No private information of your server is sent.
Inspired By "Mark Six 六合彩" of the Hong Kong Jockey Club
If you are wondering how it looks like IRL~~
(Language: Cantonese, Partially English)
The draw starts at 1:35
下载 LotterySix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LotterySix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LotterySix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LotterySix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LotterySix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LotterySix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LotterySix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LotterySix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LotterySix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LotterySix
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 支持 Minecraft 26.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
评论 0
登录后参与评分
还没有评论,来抢沙发吧