Commands in the token shop + PlaceholderAPI + opt to keep items in the hot bar
The tokenshop got many new features and possibilities. You should generate the new default tokenShop.yml to take a look at some example shop items.
Run commands when player buys something
Restrictions on shop items
require the player to have a certain list of permissions
require the player to NOT have a certain list of permissions
A shop item does not necessarily have to sell an item. You can create a shop item that only runs a command and does nothing else.
Separation between the item sold and the item displayed
Full customization of the item sold
lore, display name and glow
Option for commands that manipulate the inventory. Set this to true if the command does anything with the player inventory (example: /give). There is an example in the new default tokenShop.yml
There is an option in the new configuration file where you can define slots in the hot bar in which the items of the player inventory will be kept when entering GUIs and games. This should only be used to ensure compatibility with plugins that require a player to have certain items in their inventory (@thief_a )
guiSettings.keepItemsSlots
it's an integer list (possible values from 0 to 8 not used for navigation buttons)
Improved internal GUI system
Added hook into PlaceholderAPI
%gamebox_game_name%
name of the game the player is currently playing. There is an example usage on the plugins page.
For more placeholders please write in the discussion