- There was a slight error for 1.8.x servers with the last update. When players consume an item that is NOT a GambleBar drink, an error log was sent to the console. This is now fixed.
- I've always hated having 2 separate versions for 1.8.x and 1.11.x - 1.16.x, so I finally got around to merging them into a single jar file! I tested all the features, but if this results in any version errors, please let me know immediately. Note: The drink colors are still different depending on what server version you're using, please check the top of the config for compatibility.
- Drink winning/losing sounds are now customizable! Please either regenerate your config file or add these lines manually.
Code:# This is the sound that plays if the player wins a drink winSound: LEVEL_UP # This is the sound that plays if the player loses a drink loseSound: HURT_FLESH
- Can't believe I did this, but in the most recent update, I accidentally mislabeled the 1,8.x version of the plugin and the 1.11+ version. I have re-uploaded the files with the correct labels. Sorry for any inconveniences!
- In MC versions 1.11 - 1.16.x, if a player tried to drink an item from their off hand slot, it would disappear but wouldn't trigger the gamble listener. This bug is now fixed. If a player tries to drink a GambleBar item from their offhand slot, the event will now be canceled, and a message can be sent to them, telling them to switch the item to their main hand. If you want this message to be sent, add the following lines into your messages.yml file.
Code:# Sent to the user if they try to drink with the item in their offhand noOffHand: "&c&lSorry, &7you need to move this item to your main hand!"
- There was a small error that was preventing the "/bar reload" command from properly reloading bar drinks.
- Added a new command to allow users with the permission "gamblebar.admin.open" to open a bar for other users. (/bar open <player name> <bar ID>). This could be useful for servers that want to use Citizens NPCs to open a bar, without allowing players to open bars via the /bar command.
- Fixed an odd error that was occurring on a 1.12 PaperSpigot server, where when a player drank an item, it would repeat the event several times. Hasn't been an issue on any other servers, but this will prevent it from possible happening on any more.
- There was a regex issue that would lead to console errors when a drink item was configured to contain a "$" in the display name. This issue is fixed.
