[娱乐][经济]LiteLottery —— 大乐透,让玩家在服务器里买彩票吧[1.7.10-1.21.X]
插件交流QQ群:215549411 点击链接加入群聊
插件介绍
这是一款让玩家可以在服务器中选号投注的插件,支持金币或点券,每天定时开奖。
玩家可以从可选号码中选择一组或多组号码购买,具体规则请看下面功能介绍。
功能介绍
玩法介绍(字多 直接上图):
上图中开奖时间、每注价格、奖金数量等皆可在配置文件中自定义。若要调整中奖概率,修改最大可选数字即可,更多功能详见配置文件。
虽然配置文件中默认的值都是我正在使用的,但每个服务器经济情况并不相同,请根据服务器内经济情况调整最大号码、每注价格以及奖金等。
开奖为每天一期,默认情况下每天只在设定的时间开奖一次,每天00:00自动切换到新一期,新一期的奖池资金为上期奖池剩余资金+初始奖池
开奖时五等奖、四等奖、三等奖的奖金会从奖池中扣除,扣除后剩余的资金按比例分给二等奖和一等奖,如果没有玩家中奖则不消耗奖池资金。
虽然五四三等奖的奖金是固定的,但可以限制奖金上限,不会出现某一玩家中了大量低等奖而奖金甚至超过一等奖的情况 因为这坑我已经踩过了···
注意:不要把随机选号使用次数上限设的太高,随机选号会极大降低投注成本,使玩家非常容易就购买大量不同号码的组合,从而提升中奖概率。
插件截图
(上图为了演示中奖,把最大号码设成了5,所以中奖率才这么高。另外要注意的是1.10及以下版本开奖时没有Title效果[屏幕中间的字])
指令/权限
/LiteLottery reload —— 重载插件配置
/LiteLottery version —— 查看插件版本
/LiteLottery run —— 忽略设置的开奖时间 立即开奖
/LiteLottery force —— 无视开奖状态(不管当天是否已经开奖)强行开奖
/LiteLottery reset —— 将开奖状态重置为未开奖
/LiteLottery betting <玩家名> <投注数量> <所选号码> —— 替指定玩家投注(不会消耗玩家金钱,不受随机选号次数和冷却时间限制) 号码写 random 表示随机
/LiteLottery bettingWithPlayer <玩家名> <投注数量> <所选号码> —— 以指定玩家身份投注(会消耗玩家金钱,受随机选号次数和冷却时间限制) 号码写 random 表示随机
以上/LiteLottery可缩写为/lot
/Lottery —— 查看玩法介绍以及投注信息
/Lottery <投注数量> <所选号码>—— 购买指定数量的选定号码
/Lottery <投注数量> random —— 购买指定数量的随机号码
以上/Lottery可缩写为/lt
所有命令不区分大小写、所有命令支持TAB补全
LiteLottery.admin —— 权限 可使用/LiteLottery命令,默认OP拥有
LiteLottery.Lottery —— 权限 可使用/Lottery命令,默认所有玩家拥有
LiteLottery.bypass —— 权限 使用随机选号不受冷却时间和次数限制,默认OP拥有
配置文件
#开奖时间
lotteryTime: '20:30'
#开奖前十分钟发送开奖提醒消息
notice: true
#最大可选数字 (最少5个 最多99个)
maxNumber: 20
#使用点券 true=使用点券(注意:点券不支持小数) false=使用金币
usePoints: false
#初始奖池 新一期奖池余额 = 上期剩余奖池 + 初始奖池
initialPrizePool: 500000.0
#奖池上限
maxPrizePool: 50000000.0
#每注金额 注意:请谨慎设置每注奖金和五四三等奖奖金 以免期望值过大 导致玩家大量投注不同号码可以稳赚不赔
#但奖金过低会降低对玩家的吸引力 各位服主自行斟酌吧 不过一等奖的极低概率不影响整体期望 可以保持较高奖金来吸引玩家
moneyPerBet: 200.0
#最大投注号码总量 0=无上限
maxNumbers: 0
#最大投注总量 0=无上限
maxBets: 0
#五等奖每注奖金20选5中此奖概率:1/2.27(44.02%) 计算公式:C(5,1)*C(15,4)/C(20,5)
fifthPrize: 220.0
#五等奖奖金上限(每人)
#由于五等奖、四等奖、三等奖、特等奖的每注奖金是固定的 而不是像二等奖、一等奖那样按中奖注数平均分配
#这就可能导致有人中了低等奖但奖金比一等奖还多 例如有人中了一万注三等奖 而默认配置中三等奖每注奖金1万
#最后奖金就是10000*10000=1亿 是一等奖基础奖金的2倍 为了避免这种情况 可以设定每次开奖时 每人从五四三等奖获得的奖金上限
fifthPrizeMax: 500000.0
#四等奖每注奖金20选5中此奖概率:1/3.41(29.35%) 计算公式:C(5,2)*C(15,3)/C(20,5)
fourthPrize: 300.0
#四等奖奖金上限(每人)
fourthPrizeMax: 500000.0
#三等奖每注奖金20选5中此奖概率:1/14.77(6.78%) 计算公式:C(5,3)*C(15,2)/C(20,5)
thirdPrize: 700.0
#三等奖奖金上限(每人)
thirdPrizeMax: 500000.0
#二等奖基础奖金 [二等奖每注奖金 = (25%奖池资金 + 基础奖金) / 中奖注数]20选5中此奖概率:1/206.72(0.4837461%) 计算公式:C(5,4)*C(15,1)/C(20,5)
secondPrize: 2000000.0
#一等奖基础奖金 [一等奖每注奖金 = (75%奖池资金 + 基础奖金) / 中奖注数]20选5中此奖概率:1/15504(0.0064499%) 计算公式:C(5,5)*C(15,0)/C(20,5)
firstPrize: 50000000.0
#特等奖每注奖金20选5中此奖概率:1/1860480(0.000053749570%) 计算公式:P(20,5)
specialPrize: 1234567890.0
#特等奖奖金上限(每人) 虽然感觉特等奖就是个摆设 但以防万一还是设置一个上限吧
specialPrizeMax: 2000000000.0
#奖池余额为0时是否继续发放五四三等奖
#在发奖时 五、四、三等奖的奖金也会从奖池中扣除 所以如果有人中了大量低等奖 很可能导致奖池余额归零
#如果此项设为false 可能会导致部分中奖玩家无法领到奖金 降低游戏体验 如非必要不建议设为false
ignorePrizePool: true
#随机选号使用间隔(秒)
randomInterval: 60
#随机选号使用次数上限(每天) 不建议设置过大 因为如果玩家一直使用随机选号,会降低选号的时间、思考成本,并且大量的随机很容易增加中奖概率
randomMax: 2
消息文件(语言文件)
messagePrefix: '§7§l[§c§lLottery§7§l] '
playerOnly: '§c本命令只能玩家使用。'
versionInfo: '§a当前版本: §b'
configReloaded: '§a配置文件重载完成。'
alreadyDrawn: '§c今天已经开过奖了!'
drawingInProgress: '§c当前正在开奖, 你必须等待开奖结束才能再次开奖!'
settingDrawState: '§c当前正在开奖, 你必须等待开奖结束才能设置开奖状态!'
drawStateReset: '§a已将开奖状态设为§b未开奖§a。'
unknownCommandArgs: '§6错误: 未知的命令参数'
fileCreationFailed: '§c无法创建新文件, 初始化失败!'
gameIntroduction:
- '§7玩法介绍: 每天开奖前从可选号码中任选1-5个号码为一组进行投注, 每注价格: $%s'
- '可以投注多组号码, 但每一组号码中的号码不能重复。'
- '开奖规则: 每天%s系统随机生成5个中奖号码。所选号码与中奖号码进行比较, 包含全部中奖号码即为一等奖, 包含4个中奖号码即为二等奖, 包含3个中奖号码即为三等奖, 包含2个中奖号码即为四等奖, 包含1个中奖号码即为五等奖。'
- '五等奖每注奖金: $%s, 四等奖每注奖金: $%s, 三等奖每注奖金: $%s'
- '二等奖每注奖金: (奖池资金 * 0.25 + $%s) / 中奖注数'
- '一等奖每注奖金: (奖池资金 * 0.75 + $%s) / 中奖注数'
- '除此之外, 还设有特等奖, 投注号码与中奖号码完全一致即为特等奖。'
- '特等奖每注奖金: $%s'
bettingInstructions:
- '§3投注方法: /lt <投注数量> <所选号码>'
- '例如: /lt 2 07 12 02 10 05 表示购买2注(07 12 02 10 05)'
availableNumbers: '§6可选号码: §2'
currentPrizePool: '§a当前奖池资金: §e$'
currentBets: '§d本期投注 §3(您):'
betStatistics: '§3本期投注统计: §a{0}§3组号码 §6{1}§3注'
drawCompleted: '§c今天已经开奖, 明天再来投注吧。'
usageInstructions: '§6用法: §7/lt <投注数量> <所选号码>'
tooManyNumbers: '§6你选的号码太多了, 最多只能选5个号码。'
invalidBetAmount: '§6无效的投注数量: §7'
randomLimitReached: '§c你今天使用随机选号的次数已达上限。'
randomCooldown: '§b你使用的太快了,喝口茶休息一会再来吧。'
duplicateNumber: '§6错误, 选择的号码中含有重复号码: §7'
invalidNumber: '§6错误, 选择的号码不在可选号码内: §7'
maxBetsReached: '§c你本期投注的号码数量已达上限。'
betLimitExceeded: '§c错误, 投注数量超过了本期投注上限。'
awaitingDraw: '§7(等待开奖)'
betPlaced: '§a§l购买§6{0}§a§l注§3({1}) §a§l共花费: §b$'
insufficientFunds: '§c错误: §7你没有足够的金钱。'
totalCost: '§7共计需要: ${0} (每注价格: ${1})'
drawNotice: '§b开奖将在十分钟后进行, 不要走开, 也许你就是本期的特等奖得主!'
drawing: '§6§l正在开奖§6···'
drawingInProgressTitle: '§6正在开奖···'
winningNumber: '§b第{0}个中奖号码是: §c'
currentWinningNumbers: '§6本期中奖号码'
winningNumbers: '§6本期中奖号码: §a'
specialPrize: '§d§l(特等奖)'
specialPrizeWinner: '§4§l难以置信! §a{0}§c§l抽中§d§l特等奖§6§l{1}§c§l注!'
specialPrizeOffline: '§6很遗憾··· 由于特等奖得主当前并未在线, 只能获得20%的奖金。'
specialPrizeAmount: '§6你抽中§d§l特等奖§c, 获得了: §b$'
firstPrize: '§c(一等奖)'
secondPrize: '§b(二等奖)'
thirdPrize: '§a(三等奖)'
fourthPrize: '§3(四等奖)'
fifthPrize: '§9(五等奖)'
noPrize: '§7(未中奖)'
noFifthPrize: '§9五等奖: §7无'
fifthPrizeWinners: '§9五等奖: '
noFourthPrize: '§3四等奖: §7无'
fourthPrizeWinners: '§3四等奖: '
noThirdPrize: '§a三等奖: §7无'
thirdPrizeWinners: '§a三等奖: '
noSecondPrize: '§b二等奖: §7无'
secondPrizeWinners: '§b二等奖: '
noFirstPrize: '§c一等奖: §7无'
firstPrizeWinners: '§c一等奖: '
fifthPrizeLabel: '§9五等奖'
fourthPrizeLabel: '§3四等奖'
thirdPrizeLabel: '§d三等奖'
secondPrizeMessage: '§a你抽中§6%d§a注§b二等奖§a, 获得了: §b$'
firstPrizeMessage: '§c你抽中§6%d§c注§c§l一等奖§c, 获得了: §b$'
drawResults: '§6§l开奖结果:'
prizeWon: '§a你抽中§6{0}§a注{1}§a, 获得了: §b$'
prizeReduced: '§a你抽中§6{0}§a注{1}§a, 但由于奖池资金不足, 只获得了: §b$'
noPrizeFunds: '§c很遗憾! 虽然你抽中§6{0}§c注{1}§c, 但由于奖池资金已经为0, 未能获得奖金。'
下载地址
注意:不支持Java 7,至少需要使用Java 8
本插件已在1.7.2/1.7.10/1.8.8/1.9.4/1.10.2/1.11.2/1.12.2/1.13.2/1.14.4/1.15.2/1.16.5/1.17.1/1.18.2/1.19.4/1.20.6/1.21.4测试通过
插件理论兼容Minecraft 2.0.0版本之前的任何新版本,所以即使是本帖没有标明的新版本通常也能正常使用。
备用下载地址:百度网盘
本插件需要Vault或PlayerPoints作为前置(取决于使用金币还是点券),如果您的服务器没有安装对应插件则无法运行本插件
如果使用金币 需要安装Vault插件以及支持Vault的经济插件(如Essentials、CMI、Economy等)
Vault下载地址:SpigotMC MCBBS
如果使用点券 需要安装PlayerPoints插件
PlayerPoints下载地址:SpigotMC(1.8-1.21) Dev-Bukkit(1.2-1.10)
问题反馈
如果使用过程中有任何问题/建议/意见欢迎在本帖回复或加群反馈
最后,如果你觉得本插件有用,请给我评个分~
提示:评分人气不消耗自身人气
https://myunco.sinacloud.net/misc/pingfen.png
PlaceholderAPI占位符
%litelottery_current_pool% —— 当前奖池余额
%litelottery_current_pool_msg% —— 当前奖池余额消息
%litelottery_player_bet_stats% —— 当前玩家投注统计
%litelottery_player_bet_detail% —— 当前玩家投注详情
%litelottery_draw_time% —— 开奖时间
%litelottery_draw_state% —— 是否已开奖
%litelottery_first_prize% —— 一等奖最高奖金 通过 75%奖池资金 + 基础奖金 实时计算得出
%litelottery_second_prize% —— 二等奖最高奖金 通过 25%奖池资金 + 基础奖金 实时计算得出
%litelottery_third_prize% —— 三等奖每注奖金
%litelottery_fourth_prize% —— 四等奖每注奖金
%litelottery_fifth_prize% —— 五等奖每注奖金
%litelottery_money_per_bet% —— 投注每注需要的金额
更新日志
2025-04-09 1.4.4版本发布
- 增加以下PlaceholderAPI变量:
%litelottery_current_pool% //当前奖池余额
%litelottery_current_pool_msg% //当前奖池余额消息
%litelottery_player_bet_stats% //当前玩家投注统计
%litelottery_player_bet_detail% //当前玩家投注详情
%litelottery_draw_time% //开奖时间
%litelottery_draw_state% //是否已开奖
%litelottery_first_prize% //一等奖最高奖金 通过 75%奖池资金 + 基础奖金 实时计算得出
%litelottery_second_prize% //二等奖最高奖金 通过 25%奖池资金 + 基础奖金 实时计算得出
%litelottery_third_prize% //三等奖每注奖金
%litelottery_fourth_prize% //四等奖每注奖金
%litelottery_fifth_prize% //五等奖每注奖金
%litelottery_money_per_bet% //投注每注需要的金额
- 其他细节优化
2025-03-21 1.4.3版本发布
- 现在使用FoliaCompatibleAPI实现Folia支持
- 修复了在部分版本的服务端中开奖会报错的问题
- 其他细节优化
2025-02-01 1.4.2版本发布
- 修复了1.9-1.12版本中特等奖音效无法播放的问题
- 修改了配置文件中的注释和奖金默认值
- 其他细节优化
2025-01-27 1.4.1版本发布
- 修复启动时报错无法创建文件的问题
2025-01-26 1.4.0版本发布
- 支持Folia
- 支持使用点券
- 支持1.7.2版本
- 命令"/lot forcefalse"修改为"/lot reset"
- 新增命令"/lot betting <玩家名> <数量> <号码>" 用于替指定玩家投注(不会消耗玩家金钱,不受随机选号次数和冷却时间限制)
- 新增命令"/lot bettingWithPlayer <玩家名> <数量> <号码>" 用于以指定玩家身份投注(会消耗玩家金钱,受随机选号次数和冷却时间限制)
- 增加检查更新
- 其他细节修正和优化
2022-03-12 1.3.1版本发布
- 重复开奖时已开过奖的投注号码不会再次开奖了
- 其他细节优化
2022-01-09 1.3.0版本发布
- 修复了"/lot forcefalse"命令修改的开奖状态在重载后失效的问题
- 添加了"messages.yml"文件, 可以自定义插件消息内容
- 其他细节修正和优化
2021-11-28 1.2.3版本发布
- 修复了在Thermos服务端启动报错的问题
- 修复了在"整数"版本(例如1.7/1.8等只有一个.的版本)启动报错的问题
- 修改了配置文件的加载方式
2021-11-12 1.2.2版本发布
开源
插件为非盈利性插件,免费发布,严禁销售和转卖
开源协议遵循GPL-3.0
开源地址:Github
本插件所用所有代码均为原创,不存在借用/抄袭等行为 MMOexp WoW Classic 20th Anniversary: With a strong financial foundation
Building gold from level 1 to 20 in WoW Classic Anniversary doesn't require complex strategies or heavy grinding. By focusing on high-value materials like cloth, leather, and cooking ingredients, and combining them with efficient leveling routes, you can steadily grow your wealth without slowing down your progress.
From humanoid farming in starter zones to fishing Deviate Fish and hunting rare materials, every step of your journey offers opportunities to earn gold. The key is consistency—stick to efficient farms, manage your time well, and your cheap WoW Classic 20th Anniversary Gold will naturally accumulate.
With a strong financial foundation early on, you'll be fully prepared for the challenges and expenses that await in the later stages of the game.
Leveling a Warrior in World of Warcraft Classic is famously challenging-but also incredibly rewarding when done correctly. This guide covers everything you need to know to level efficiently, including playstyle fundamentals, hamstring kiting, stance macros, weapon progression, talent choices, and essential addons. The advice here is based on extensive hands-on experience leveling multiple Warriors across PvE, PvP, and raiding environments. A large amount of WoW Classic 20th Anniversary Gold can also be very helpful.
If you master these mechanics early, Warrior leveling becomes faster, safer, and far more enjoyable.
Early Levels and Core Playstyle
At level 1, Warrior gameplay is extremely simple. You'll primarily rely on Heroic Strike because it's your only rage spender. Once you unlock Charge, your basic flow becomes charging into enemies, generating rage, and dumping it into Heroic Strike.
Things start to get much more interesting once you unlock Hamstring, Rend, and Overpower. These abilities unlock the Warrior's most important leveling technique: hamstring kiting.
Hamstring Kiting Explained
Hamstring kiting is the single most important skill for leveling a Warrior efficiently. It reduces incoming damage without lowering your DPS, which dramatically cuts down on food, bandage, and downtime usage.
The technique works best with a slow two-handed weapon.
Here's how it works:
Charge into the target.
Apply Hamstring.
Step away while your weapon swing timer resets.
Step back in just before your auto attack goes off.
Auto attack, then step back out again.
Reapply the Hamstring as needed.
You're timing your movement around your swing timer, which means the enemy attacks less often while you lose no damage output. Since mobs attack faster than you do, standing still results in significantly more damage taken.
Every player needs a lot of WoW Classic 20th Anniversary Gold, I suggest you go to a third-party website like MMOexp.com to buy, safe and comfortable transactions, and years of experience to ensure the security of your account.
页:
[1]