With this update, I have added additional customization options for the GUI elements of the TokensPlus plugin. See the updated config.yml for more information. In summary, users will now be able to change the default items that appear in the TokensPlus shop and the permission-based shops.
Additionally, users will be able to customize the item cost and can/cannot afford messages that appear in the shops as well....
Plugin to add a virtual, spendable and tradable currency (tokens).
Thanks to @korinocho for partially suggesting this feature!
With this update, I have added additional customization options for messaging elements of the TokensPlus plugin. See the updated messages.yml for more information. Furthermore, I added messages to be sent to the command sender for the /token add , /token remove and /token set commands.
Additionally, I discovered I had improper permission checks for the /token addall and /token reload commands. These...
Thanks to @korinocho for bringing these performance issues to my attention.I realized with his server's use case, that my initial MySQL implementation was faulty (and most likely contained memory leaks).
With this update, I've refactored the MySQL implementation to leverage HikariCP for building out a proper connection pool, addressed unclosed connections, statements and results and even fixed a small bug with the UpdateChecker implementation as well.
Thanks to...korinocho likes this.
With this update, I've added a new command to TokensPlus: /token withdraw. In adding this command, I've updated the config.yml and messages.yml.
This command allows players to withdraw TokensPlus tokens from their balances into physical items.
Right-clicking a TokensPlus token item will allow the player to redeem 1 of these items. Shift Right-Clicking will allow the player to redeem the entire stack.
Here is how things look with the default configuration:...
Thanks to @Alagesia for providing this suggestion!
With this update, I've added a new configuration option to the shops.yml file. This option, 'shouldGiveItemOnPurchase' will allow you configure for each item in each shop whether or not the user should receive the item displayed when they purchase it.
If the option is true, the item will receive the item display in their inventory. Otherwise, the item will not be added to their inventory.
I mistakenly pushed the 2.5.10 version out without updating the plugin.yml version. This was causing some oddities with my update checker. I've fixed that issue with this version.
Furthermore, I have added two new placeholders:
- %tokensplus_tokens_commas%: Gives token amount for player separated by commas (e.g., 1200 -> 1,200)
- %tokensplus_tokens_formatted%: Gives token amount for player with the appropriate single-character suffix (e.g., 1200 -> 1.20K)
Thanks to @clipsy1 for providing this suggestion!
With this version, I've updated the main /token command to have an alias /tokensplus to prevent conflicts with other plugins that use a token command.
With this version of TokensPlus, I have added a new source for players to earn tokens by breaking blocks.
I've updated the drops.yml to include a new section for 'blocks'. This section is structured similarly to how the killing mobs section is. You can add any and all block types to this section, configure their drop chances and the amount of tokens rewarded for each block individually.
I've also added a new token multiplier permission, similar to the killing mobs one,...
With this version of TokensPlus, I've added metrics tracking to the plugin leveraging bStats. This will allow me to get a better understanding on how Spigot users are using this plugin.
In hindsight, I should have added metrics support sooner (more so from the beginning of the project). Been meaning to add this support recently, but have been swamped with other work.
Thanks to "PukingUnicorns" for finding this issue!
Found that the %playername% token in the commands to dispatch list was pulling in the player's permission group prefix. This was causing issues with the commands being dispatched. With this version, it should only pull the actual player's name and not their prefix.
Page 1 of 3