- If someone doesn't update their config for the playerpoints update, their economy should now default to vault.
In config.yml, add the following
- GambleBarPro now supports the PlayerPoints plugin. You can set each bar to either use your Vault economy or PlayerPoints. (This involves adding some lines to the config and messages.yml).
- From this version onward, your server must be running Java 17 or higher! About 90% of users already do this.
- You can either regenerate your config and messages.yml OR add the following lines to the respective files.
YAML:# This is the default economy plugin bars will use unless specified in the bar's configuration # Options: Vault, PlayerPoints defaultEconomy: Vault
Additionally, for each bar, underneath the "title" and "size" fields, you should add this field with the value set to either "Vault" or "PlayerPoints".
YAML:economyType: PlayerPoints
Add the following lines to your messages.yml
YAML:# Sent to a player when they buy a drink with PlayerPoints # %drink% = drink name, %price% = drink's price boughtDrinkPP: "&fYou've bought a &c%drink% &ffor &c%price% &fpoints." # Sent when a player doesn't have enough PlayerPoints to buy a drink # %drink% = drink name, %price% = drink's price insufficientFundsPP: "&cSorry, you can't afford the &f%price% &cpoints for a &f%drink%&c." # Sent when a player wins a drink with PlayerPoints # %reward% = the amount of $ won # %drink% = the name of the drink won drinkWinPP: "&eYou've won &f%reward% &epoints from winning a &f%drink%&e!" # Sent when a player has a super lucky win with PlayerPoints # %reward% = the amount of $ won # %drink% = the name of the drink won luckyDrinkWinPP: "&eYou've got super lucky and won &f%reward% &epoints from winning a &f%drink%&e!"
- In a recent update, I added support for custom model data. This was not added to Bukkit until version 1.14. This is causing GambleBarPro errors on servers below version 1.14. It is now fixed. Note: You still cannot use custom model data on older servers, but the plugin is no longer broken.
- Added %drink% as a placeholder to represent the drink's name to "drinkWin" and "luckyDrinkWin" messages.
- Add %drink% placeholder in rewardCommands and superLuckyRewardCommands, as per request.
- Custom model data is now supported for GambleBarPro drinks.
- To custom model data, you will need to supply your own texture pack files, and you can configure that custom model id via the plugin's configuration file. The plugin does not supply custom models for you.
- Fixed a couple bugs that were detected with the change to bar IDs not having to be integers. Nothing game breaking.
- Added auto tab completions. So for example, bar IDs, drink slot numbers, and player names will be automatically tab-able when appropriate in commands.
- Fixed a small bug with /bar give when the bar ID was not an integer value.
