GambleBar (赌博酒吧 - 提供赌博娱乐的插件)
Native Minecraft Version: 1.15
GambleBar是一个有趣的插件,让玩家通过\/bar命令从酒吧购买赌酒,右键点击饮品后,根据饮品概率赢取或输掉金额,并根据配置获得相应的奖励或者持续一段时间的恶心效果。
该插件目前支持Minecraft服务器版本1.12 - 1.15.2。若服务器版本为1.8,1.11或1.16.x,则需要使用高级版插件GambleBarPro。
功能:
- 创建自定义饮品,指定成本、中奖概率和财务奖励。
- 酒吧有9个插槽用于放置饮品。
命令:
- \/gamblebar help- 打开帮助菜单
- \/gamblebar- 打开酒吧界面
权限:
- gamblebar.help- \/gamblebar help
- gamblebar.open- \/gamblebar
配置示例:
#玩家输掉饮品后的“醉酒”效果持续时间 (以秒为单位),设置为0则禁用。
drunkEffect: 10
#酒吧界面的标题
barTitle: "&b&lGambleBar"
bar:
0:
name: "&c啤酒"
lore:
- "&e价格: &f$%price%"
- "&e奖励: &f$%reward%"
- "&e中奖几率: &f%odds%%"
- "&c享受赢取的机会!"
price: 500
reward: 1000
odds: 50.00
消息配置示例:
#当玩家没有权限时发送的消息 noPermission: "&c对不起,您没有权限进行此操作。" #当控制台尝试使用需要玩家的命令时发送的消息 mustBePlayer: "&4此命令仅适用于玩家!" #当玩家打开酒吧GUI时发送的消息 openedBar: "&e选择一种饮品购买,赢取机会!" #当玩家购买饮品时发送的消息 boughtDrink: "&f您购买了一杯&c%drink%&f,价格为&c$%price%&f。" #当玩家尝试购买无法支付的饮品时发送的消息 cannotAfford: "&f您无法支付&c$%price%&f购买此饮品。" #当玩家赢得饮品时发送的消息 drinkWin: "&f您赢得了饮品并获得了&c$%reward%&f。" #当玩家输掉饮品时发送的消息 drinkLose: "&c您输掉了饮品并感到眩晕!" #帮助菜单的内容 help: - "&6>>" - "&6\/gamblebar &f- 打开GambleBar酒吧界面。" - "&6\/gamblebar help &f- 打开此帮助菜单。"
注意:如果想联系插件作者,请在SpigotMC上私信作者,Spigot支持仅适用于高级插件。
.containeri,.first,.second{position:absolute;}.containeri{margin:auto;top:91px;bottom:0;right:0;left:677px;width:170px;height:50px;transition:all 0.3s ease;transform:scale(0.8);}.wrapi{width:100%;height:50px;border:2px solid #FFF;transition:all 0.3s ease;border-radius:5px;}.first,.second{width:100%;height:50px;font-family:"Open Sans",sans-serif;transition:all 0.2s ease-in-out;font-size:17px;text-transform:uppercase;color:#FFF;letter-spacing:2px;text-align:center;vertical-align:middle;line-height:50px;}.second{opacity:0;}.first,.second{cursor:default;}.containeri:hover{width:250px;}.containeri:hover .wrapi{padding-bottom:17px;}.containeri:hover .first{transform:translateY(-8px);padding-top:5px;}.containeri:hover .second{transform:translateY(20px);opacity:1;}
收录



