ZyloLotto – 基于 GUI 的 Minecraft 1.21 彩票系统
注意: 此版本支持多种语言。目前提供德语 (de_DE) 和 英语 (en_US)。
请在 config.yml 中设置你偏好的语言。未来更新将添加更多语言。
ZyloLotto 为你的服务器带来了一个完整且易于使用的彩票系统。
玩家可以购买彩票、观看实时开奖,并享受巨额奖金。
所有内容均基于图形界面(GUI)——无需复杂的命令。
功能
彩票系统
- 玩家通过 GUI 直接购买彩票——每张彩票都是一个随机生成的 5 位代码。
- 所有彩票会自动保存,并增加奖池金额。
奖池与经济系统
- 完全兼容 Vault,包括自动支付处理。
- 每购买一张彩票或通过可选的自动填充功能,奖池都会增长。
动画开奖
智能中奖检测
- 自动检测位置正确的 2 到 5 个匹配数字。
- 奖金根据可配置的百分比值进行分配。
开奖与中奖历史记录
- 清晰的 GUI 显示过往开奖、中奖者、日期和支付金额。
- 所有数据永久存储。
玩家彩票概览
- 玩家可以在分页 GUI 中浏览自己的彩票。
- 管理员可以直接查看或删除彩票。
管理员菜单
- 通过专用的管理员菜单完成彩票管理。
- 更改奖池、彩票价格、删除中奖者或开奖记录、修改自动填充、启用/禁用回滚等。
自动开奖
- 可选的自动开奖功能,按固定间隔启动开奖。
- 间隔时间可通过聊天实时更新。
测试开奖
- 管理员可以使用任意 5 位数字运行测试开奖。
- 非常适合测试或活动使用。
SQLite 数据库
- 无需手动设置——
lotto.db 会自动创建。
- 插件自行处理彩票、开奖、中奖者和奖池金额的保存。
命令
| 命令 |
描述 |
/lotto |
打开主彩票 GUI |
/lottodraw |
开始常规彩票开奖 |
/lottotest <12345> |
使用固定数字开始测试开奖 |
LuckPerms 权限
| 权限 |
描述 |
默认值 |
zylolotto.admin |
访问完整的管理员菜单及所有管理员功能 |
op |
zylolotto.draw |
允许执行官方彩票开奖 (/lottodraw) |
op |
zylolotto.test |
允许执行测试开奖 (/lottotest) |
op |
| (无权限要求) |
通过 /lotto 打开彩票菜单 |
everyone |
所需插件
- Vault (1.7.3) – 用于经济集成
(SpigotMC: Vault Plugin)
- LuckPerms – 用于权限管理
(Modrinth: LuckPerms)
ZyloLotto – GUI-Based Lottery System for Minecraft 1.21
Note: This version supports multiple languages. Currently, German (de_DE) and English (en_US) are available.
Set your preferred language in config.yml. Additional languages will be added in future updates.
ZyloLotto brings a complete, easy-to-use lottery system to your server.
Players can buy tickets, watch live drawings, and enjoy massive winnings.
Everything is fully GUI-based – no complicated commands required.
Features
Ticket System
- Players buy tickets directly through a GUI – each ticket is a randomly generated 5-digit code.
- All tickets are saved automatically and increase the jackpot.
Jackpot & Economy System
- Fully Vault-compatible, including automatic payout handling.
- The jackpot grows with every ticket purchased or via optional autofill.
Animated Drawing
- Winning numbers are displayed through a multi-stage animation with sound effects.
Intelligent Winner Detection
- Automatically detects 2 to 5 correct numbers in the correct positions.
- Winnings are distributed based on configurable percentage values.
Drawing & Winner History
- Clean GUIs show past draws, winners, dates, and payout amounts.
- All data is stored permanently.
Player Ticket Overview
- Players can browse their tickets in a paginated GUI.
- Admins can view or delete tickets directly.
Admin Menu
- Complete lottery management through a dedicated admin menu.
- Change jackpot, ticket price, delete winners or draws, modify autofill, enable/disable rollback, and more.
Automatic Drawing
- Optional auto-draw that starts a drawing at regular intervals.
- Interval can be set live via chat.
Test Drawing
- Admins can run a test draw with any 5-digit number.
- Perfect for testing or events.
SQLite Database
- No setup required –
lotto.db is created automatically.
- The plugin handles saving tickets, drawings, winners, and jackpot values on its own.
Commands
| Command |
Description |
/lotto |
Opens the main lottery GUI |
/lottodraw |
Starts a regular lottery drawing |
/lottotest <12345> |
Starts a test drawing with fixed numbers |
LuckPerms Permissions
| Permission |
Description |
Default |
zylolotto.admin |
Access to the full admin menu and all admin functions |
op |
zylolotto.draw |
Allows executing the official lottery draw (/lottodraw) |
op |
zylolotto.test |
Allows executing test drawings (/lottotest) |
op |
| (no permission) |
Opens the lottery menu via /lotto |
everyone |
Required Plugins
- Vault (1.7.3) – For economy integration
(SpigotMC: Vault Plugin)
- LuckPerms – For permissions management
(Modrinth: LuckPerms)
评论 0
登录后参与评分
还没有评论,来抢沙发吧