⚡️Gamble with your items, win all or lose all⚡️
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
Fixed %ITEMS% placeholder
Fixed typo in GUI with player games
Changed command to invite player to the game from /itemflip [player] to /itemflip invite [player]
Added new credit system. When enabled you need to have specified amount of credits to invite someone to the game
  CreditSystem:
    Enable: false
    CommandCost: 10
New permissions for new commands
  itemflip.admin:
    default: op
  itemflip.showcredits:
    default: true
  itemflip.showcredits_other:
    default: true
New commands
/itemflip showcredits - show your credits
/itemflip showcredits [player] - show credits of other player
/itemflip setcredits [player] - set credits to specified number to the player
/itemflip addcredits [player] - add specified amount of credits to the player
/itemflip removecredits [player] - remove specified credits from the player