⚡️Gamble with your items, win all or lose all⚡️
Fixed Cannot invoke "java.lang.CharSequence.toString()" because "replacement" is null
Fixed com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Incorrect string value
Fixed NPE with ItemStackBuilder and AIR material
Added support for 1.21.4
Fixed exception on plugin startup on some java versions
- Added animation.yml file like on my CoinFlip plugin ( will make a generator for it later)
- Credits now are removed after game ends instead at start
- improved logger
- added SkinsRestorer hook
Fixed support for legacy versions
Added new config option Settings.SpinItemsInsteadHeads to spin bet items instead of players head
1.21.3 support
WARNING: PLUGIN WILL NOW REQUIRE JAVA 17+ !
Fixed
java.lang.IncompatibleClassChangeError: Found class org.bukkit.inventory.InventoryView, but interface was expected
Updated NBTAPI library
Added 1.21.1 support
Fixed NPE in versions below 1.20.5
Added ability to add gamled items into lore
ItemsLore:
Enable: true
MaxItems: 5
MoreString: '&f&o... and more'
Lore:
- '&f&lItems:'
Changed HistoryGUI materials.
Now You can specify material for each side (heads/tails) in config like this
Item:
# Material used by side(heads/tails)
MaterialHeads: EMERALD
# Material used by side(heads/tails)
MaterialTails: DIAMOND
Added side icons to preview game GUI
HistoryServerGUI:
# Slot for side items for first & second player
HeadsTailsSlots: [47, 51]
Heads:
Material: EMERALD
DisplayName: §bHEADS
Lore:
- '&7Player1 %PLAYER1%'
- '&7Player2 %PLAYER2%'
- '&7Winner %WINNER%'
- '&7Loser %LOSER%'
- '&7Time %TIME%'
- '&7Side %SIDE%'
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Tails:
Material: DIAMOND
DisplayName: §bTAILS
Lore:
- '&7Player1 %PLAYER1%'
- '&7Player2 %PLAYER2%'
- '&7Winner %WINNER%'
- '&7Loser %LOSER%'
- '&7Time %TIME%'
- '&7Side %SIDE%'
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Fixed MySQL database issue
Removed debug messages
Fixed NPE
IF YOU ARE USING SQLITE DATABASE YOU HAVE TO REMOVE IT
Updated libraries to support MC 1.20.6
Removed debug message