
【ItemFlip】 4.4.0
⚡️Gamble with your items, win all or lose all⚡️
Small fixes
Fixed a issue with InvitationExpire thing.
Added new option to enable/disable InvitationExpire
Added ability to change lore in /if history menu:
History:
LoreWin:
- ""
- "&c%LOSER%"
- "&a%WINNER%"
- ""
- "&a&lWON"
LoreLost:
- ""
- "&c%LOSER%"
- "&a%WINNER%"
- ""
- "&c&lLOST"
Fix:
When players leave a server(or gets kicked etc), game will stops and all items will be returned to owners
Fixed items flickering in menu
- Added a timeout, when you send a request to someone, they have eg: 30 seconds to accept or cancel, or it automatically cancels. - configurable in config
- Added an itemflip history, you can see on the entire server who recently won, lost what they won and what they lost.
- Added a chat announcement to announce when someone wins or loses an itemflip (to the entire server)
- Added two new subcommands:
- /itemflip toggle broadcast - To toggle broadcast messages
- /itemflip history [playerName] - To open self/other player history GUI
- Added three new perms
- itemflip.history - For use history command - default: player
- itemflip.history_other - For use history command on other player - default: player
- itemflip.toggle - For use toggle subcommand - default: player - Added ability to change board items to AIR instead of BARRIER
Fixed another ConcurrentModificationException
- Hopefully fixed ConcurrentModificationException
- Added two new settings
Settings:
# If true gui will show up for both players, otherwise only for who clicked
OpenGuiForBoth: true
# If true gui will open again if player closes GUI
OpenGuiOnClose: true
Added %PREFIX% placeholder to messages.
Changed how the accept/decline buttons works. Now you can only accept game with buttons.
If you have accepted game and you add/remove item, state of the both players will change to declined.
Fixed dupe glitch
Fixed update notification missing link
Used TreeMap instead of HashMap so slots are now sorted automatically.
Added BlackListedMaterials under Settings section.
Added one new message regarding setting above.
Added options to change the text component of chat message:
TextComponent:
First: "§7Click to"
Second: " §a[Accept]"
Third: "&a&lClick to accept ItemFlip"
Four: " §c[Decline]"
Five: "&c&lClick to decline ItemFlip"
Fixed bug in GUI
Updated Sound library