服务器使用量
未统计
服务玩家数
未统计
下载量
4,185
插件详细介绍
Jackpot 是一款终极全自动彩票插件。玩家可以购买彩票参与全服统一奖池,系统会按固定计时自动开奖;同时插件提供高度可配置的设置项,适合 factions、skyblock、towny 以及其他经济类服务器。
插件简介
- Jackpot 允许玩家购买彩票并加入一个全服共享的奖池。
- 奖池会按照固定计时器自动开奖。
- 几乎所有数值与消息都可以通过配置文件自定义。
- 非常适合基于经济系统运行的服务器。
功能特性
- 自动化彩票系统
- 可配置的税率、开奖时间和票价
- 完全可自定义的配置文件
命令
/jackpot
显示当前奖池信息。
/jackpot buy <amount>
购买彩票。
/jackpot reload
重载配置并重新启动奖池计时器。
权限
jackpot.reload
允许重载 config.yml
依赖
Vault
此插件没有 Vault 将无法运行。
配置文件
占位符
{amount}---> 购买的彩票数量{price}---> 购买这些彩票的总价格
{timer}---> 距离奖池开奖的剩余总时间{total-value}---> 当前奖池总价值{tax}---> 奖池税率百分比{total-tickets}---> 当前奖池彩票总数{player-tickets}---> 玩家已购买的彩票数量{player-percent}---> 玩家赢得本次开奖的概率百分比
{winner}---> 当前奖池开奖获胜者名称{prize}---> 当前奖池开奖奖金
重要说明
- 如果使用颜色代码,请将文本用
''包裹。 - 所有时间数值均以秒为单位。
tax-percent设置为0.10表示 10% 的税率。
`Config.yml`
# +------------------------------------------------------+ #
# | Jackpot (Configuration) | #
# +------------------------------------------------------+ #
# If you have problems, join the Jackpot help support channel:
# https://discord.gg/gFwVVTE
# -----------------------------------------------------------
# Use these placeholders to display information:
# -
# {amount} ---> Amount of tickets purchased.
# {price} ---> Price for tickets purchased.
# -
# {timer} ---> Total time remaining till jackpot draw.
# {total-value} ---> Total value of current jackpot.
# {tax} ---> Jackpot tax percentage.
# {total-tickets} ---> Total amount of jackpot tickets.
# {player-tickets} ---> Number of jackpot tickets purchased by the player.
# {player-percent} ---> The percentage change the player will win the draw.
# -
# {winner} ---> The player name of the current jackpot draw winner.
# {prize} ---> The current jackpot draw prize.
# -----------------------------------------------------------
# IMPORTANT NOTES:
# > Wrap your text in '' (quotes) if using color codes.
# > All time values are in seconds.
# > A tax-percent value of 0.10 is a 10% tax.
# -----------------------------------------------------------
jackpot:
ticket-price: 10000
draw-time: 10800
tax-percent: 0.1
warnings:
- 3600
- 1800
- 600
- 60
confirm-gui: true
messages:
buy-ticket: '&a&l(!) §aYou successfully purchased {amount} tickets for ${price}'
cannot-afford: '&c&l(!) §cYou cannot afford the total price of ${price} for {amount}
tickets!'
jackpot-info:
- ''
- '&e&lServer Jackpot'
- ' &b&lJackpot Value: &e${total-value} &7(-{tax}% tax)'
- ' &b&lTickets Sold: &e{total-tickets}'
- ' &b&lYour Tickets: &a{player-tickets} &7({player-percent}%)'
- ''
- '&b&l(!) &bNext Winner in &n{timer}&r'
- ''
jackpot-results:
- ''
- ' &b&l(!) --- JACKPOT RESULTS --- &b&l(!)'
- ' &7Congratulation to &a{winner}&7 for winning the lottery!'
- ' &7A prize of &a${prize}&7 has been added to their balance.'
- ''
jackpot-warning:
- ''
- '&b&l(!) &bServer Jackpot (${total-value}) drawing in &l{timer}&b!'
- '&7Use &e/jackpot buy &7to purchase a ticket!'
- ''
confirm-gui:
title: Confirm {amount} Tickets
confirm-button:
material: LIME_STAINED_GLASS_PANE
name: '&a&lConfirm Purchase'
lore:
- '&7Click to &aconfirm &7purchase of'
- '&a{amount} &7ticket(s) for &a${price}'
cancel-button:
material: RED_STAINED_GLASS_PANE
name: '&c&lCancel Purchase'
lore:
- '&7Click to &ccancel &7purchase of'
- '&c{amount} &7ticket(s) for &c${price}'
center-button:
material: BOOK
name: '&e&l(!) Confirm Your Purchase (!)'
lore:
- '&7Select whether you would like to'
- '&7confirm or cancel your ticket purchase.'
cancel-message: '&c&l(!) &cYou have canceled your ticket purchase!'支持与问题反馈
- 如果你遇到任何报错、漏洞或其他问题,请私信作者,或前往 Discord 获取支持:
https://discord.gg/qzEQzYr
- 如果你喜欢这个插件,欢迎留下评价。
- 请不要在评论区提交 bug 报告。
使用本插件的服务器
play.mythicpvp.nettangomc.net
- 如果你希望将自己的服务器加入此列表,请在站内私信作者,或通过 Discord 联系:
TechnoVision#0647
即将推出
/jackpot stats命令/jackpot forcewinner命令- 支持在服务器重启后保留奖池数据
- 欢迎提出建议
附加内容
- 原页面包含以下折叠内容:
ScreenshotsProof
测试支持版本
版本分布
基本信息
插件名称
Jackpot Automatic Lottery System
作者
TechnoVision
平台
Bukkit / Spigot
支持版本
1.8 - 1.17
点赞数
2
最近版本
暂无数据
-