ItemSlots 是一个模组,允许玩家在老虎机中下注物品。按照以下步骤即可制作一台机器:玩家将想要下注的物品放入发射器并拉动拉杆。当拉杆被激活时,红石灯会闪烁。如果玩家获胜,奖励物品会掉落至玩家脚下;如果失败,则下注的物品会被销毁。
制作
制作一台机器。
管理员和拥有相应权限的玩家均可进行制作。
- 使用任意方块搭建框架。
- 放置发射器和拉杆。
- 放置空白告示牌以使用默认概率和赔率。
- 或者在第二行放置自定义概率的告示牌,第三行设置赔率。任何空白行都将填充为默认值。
- 放置红石灯。
告示牌设置
告示牌各行含义如下:
第一行:标记行,用于告知插件该告示牌属于老虎机。默认为 [777]
第二行:概率,即获胜的百分比概率
第三行:赔率,奖金 = 赔率 * 下注金额
激活
使用方法:右键点击拉杆。
拆解
要拆解机器,请先破坏红石灯。
特性
权限
默认设置:任何人都可以使用机器,但制作和销毁仅限管理员(op)操作。
配置文件
- 制作消息
- 销毁消息
- 胜利消息
- 失败消息
- 最大赔率
- 最大概率
- 基础赔率
- 基础概率
- 机器标记
待办事项
以下是我们计划实施的功能:
集成 Vault 以支持经济系统。
添加命令
已知问题
告示牌相关的 Bug 现已修复。
ItemSlots is a mod that allows the player to bet items in a slot machine. A machine is built using the steps below. The player places items they want to bet in the dispenser and pulls the lever. When the lever is activated the lamp flashes. If the player wins the payout is dropped at the player's feet. If the player loses the items are lost.
Build
To build a machine.
Ops and players with permission can build.
- Build the frame out of any material.
- Place dispenser and lever.
- Place a blank sign for default odds and payout.
- Or place a sign with custom odds on the second line, payout on third. Any blank lines will be filled with defaults
- Place redstone lamp.
Sign Setup
What the lines on the sign mean:
Line 1: Marker Line, this tells the plugin this sign is for a slot machine. Default [777]
Line 2: Odds, Percentile odds of winning
Line 3: Pay out, Winnings = pay out * wager
Activation
To use, right click lever.
Break Down
To break the machine down, break the lamp first.
Features
- A sign must be placed on the machine defining the odds.
- If a blank sign is placed default odds and payout will be assigned.
- Place items are placed in the dispenser
- To destroy a machine break the redstone lamp first
Permissions
Default: anyone can use a machine, build and destroy are op only.
Config
- Build message
- Destroy message
- Win message
- Lose message
- Max payout
- Max odds
- Base payout
- Base odds
- Machine marker
To Do
These are the things we plan to do
Implement vault for economy support.
Commands
Known Bugs
The sign bug should be fixed now.
评论 0
登录后参与评分
还没有评论,来抢沙发吧