This release provides support for Spigot 1.20.4.
Fixes bug where XP was not generated when throwing exp bottle.
This version specifically supports Spigot 1.20.2.
This release supports Spigot 1.20.1.
This version supports Spigot 1.18.2
This 2.0 release specifically support Spigot 1.17.1+. Please continue to use the 1.3.2 version for Spigot 1.13.2-1.16.5.
This release adds support for Spigot 1.16.4.
This release fixes an issue with tab completion.
This release adds support for 1.16.2.
This release updates the localization strings to provide more consistent color formatting. No keys have changed, but if you have localized strings, you may need to update.
Updated JNBT to version 1.9 to fix spamming errors in log.
Fixed issue where giving XP to a player that just joined, but who's player data isn't saved would fail.
This version is a Beta Release. Please do not install on a production server before testing and understanding the risks.
As always, please make a backup of your data before installing.
This version adds support for 1.16.1.
This fixes a critical bug in detecting when a player is using a custom XP bottle, causing a duplication exploit.
This release adds support for Spigot 1.15
This release adds support for fake accounts to support Towny and possibly other plugins.
This was only tested with Towny 0.95.1.0 on 1.14.4 for the town banks.
Critical Fix for XP Calculation
This release fixes a critical issue where XP is not being calculated correctly when levels are decrease.
Bottle Maximum XP
This release adds a bottle.maximum setting in the config.yml that will set the maximum XP an exp bottle can contain.
The config.yml version was updated to version 6. The en_us.json locale file was updated to version 8.
Added vault: true option to the config.yml. By default this will enable the vault integration for the plugin.
This was added in case you want to have the exp commands, but don't want to use it as your main economy.
With vault disabled, you can still give exp to other players and create exp bottles for storage and trade.
Fixed an issue where balances would not be updated correctly when set with the /exp set <player> <balance> command if the new balance was lower than the existing balance.
This issue was caused by the updating of totals for the new functionality that checks if anvils or enchanting tables change the experience levels. The events would cause the levels to get out of sync with the player data, causing other problems.
This version fixes all those issues and all the commands have been tested. It correctly will update balances when creating experience bottles and when you use them will change xp balances accordingly.
Fixed an issue where balance was not being updated after using the Enchanting Table or Anvil to repair.
The plugin now listens for events that change the level such as these and if they reduce the level, will also manually reduce the Total Experience for the player and updates the player data.
This is not normal behavior for Total Experience, as Minecraft usually has it as a cumulative amount and never subtracts from it, however, since we are creating an economy based on XP, this should be allowed to be reduced by actions the user takes.
Fixed an issue where XP calculations were not correct. Tested and checked that they match the XP Total amounts for specific levels as stated in the Wiki. Added an /xpconomy test command to display these level values on the console.
This release fixes a reported issue/bug where XPConomy was handling all tab completions in the handler.
This release includes a fix for locale formats that include a non-breaking space character (nbsp) by default for the grouping separator. This will remove the nbsp's as the grouping character if found since there is no minecraft font representation for this half of a space.
New Features!
Added /exp bottle <amount> command that allows you to create an experience bottle from your XP. You can use the command with an empty bottle in hand, or on a single bottle o' enchanting.
There is an option to allow creating an experience bottle out of thin air as well.
Added feature enabled in the config file to modify experience drops when a player dies. If enabled (by default) it will drop an XP orb with a percentage of the player's experience upon death and zero out their experience. This option can be disabled to use vanilla behavior (drop 100 XP, regardless), or the behavior of other plugins (i.e. keep XP on death).
This fixes a bug in how the vault api was checking remaining balances were greater than zero, resulting in an underflow condition (making the balance really huge).
Also added a config value for max xp. The default setting of 0 means it will be ignored.