SlotsV
beta​
SlotsV is an economy based slot machine plugin.
Dependencies:
Usage:
See video demonstration for layout example.​
- Create a "Game Board" 3X3 or 3X5.
- Create a sign with the following layout:
- [SlotsV]
- $<bet amount>
- Left click the top left of the game board.
- Left click the bottom right of the game board.
- Right click the sign to play.
Optional: Add Controller Block
- While holding a blaze rod; left click the sign.
- While holding a blaze rod; left click the controller block.
- Right click the controller block to play.
​
Video Demonstration:
Configuration:
- Payout
- Win
- Sound: The sound played after a win that is more than bet amount.
- Sound2: The sound played after a win that is less than the best amount.
- Lost
- Sound: The sound played after no amount is won.
- Blocks: List of blocks that the plugin uses to populate the slot machine reels (In order from lowest valued to highest valued). *Only the first 9 in the list will be used.
- OffsetAccountEnabled (true/false): Uses an economy account to offset win/loss of the slot machines.
- OffsetAccountUUID (UUID): The economy account that the plugin will use for withdrawals and deposits. If OffsetAccountEnabled = true, this account must have more than 15x the bet amount. This must be the UUID of a player that has previously joined the server.
- OffsetConfigAccountEnabled (true/false): Uses a value stored in the config to offset win/loss of the slots machines.
- OffsetConfigAccountBalance: This balance is used for withdrawals and deposits. If OffsetConfigAccountEnabled = true, this value must be more than 15x the bet amount.
The "Offset Accounts" are used to bind the transactions of the slot machines to the economy. When enabled, the slot machines do not create money from thin air. For example: On my server when players purchase in-games ranks/plots that money is transferred to my balance, and the Casino operates from the same balance. It's not required to operate this way, however, I just prefer keeping it bound to the economy.
Warnings
- The region that the slot machine is in must be protected from players breaking blocks (WorldGuard recommended). This plugin does not prevent players from breaking the machines/blocks.
- The slot machine will grief blocks that are inside of it's "Game Board" area.
This plugin is in beta and I'm actively working on further developing it. If you have any suggestions or issues please let me know.
Cheers,
FleddMoss
onst