Thanks to
@dinoboss2001 for the suggestion!
With this update, I've added a new command /token give. This command will allow players to give each other tokens. In addition to this command, I've added some extra messaging related to this new command.
Here is the latest messages.yml
Code (YAML):
## TokensPlus - Messages
messages:
prefix
:
"&8[&6TokensPlus&8]"
reloadPlugin
:
"%prefix% &aYou successfully reloaded the plugin!"
addTokens
:
"%prefix% &aYou received %amount% tokens!"
removeTokens
:
"%prefix% &cYou lost %amount% tokens!"
setTokens
:
"%prefix% &aYour token balance was set to %amount% tokens!"
notEnoughTokens
:
"%prefix% &cYou do not have enough tokens to give that amount!"
playerDoesNotExist
:
"%prefix% &cThat player does not exist!"
giveTokens
:
"%prefix% &aYou gave %amount% tokens to %player%!"
receivedTokens
:
"%prefix% &aYou received %amount% tokens from %player%!"
tokenAmountNotAnInteger
:
"%prefix% &cToken amount entered is not a valid integer!"
inventoryFull
:
"%prefix% &cYour inventory is full!"
cannotAfford
:
"%prefix% &cYou cannot afford %name% &c!"
purchaseItem
:
"%prefix% &aYou purchased %name% &afor %amount% tokens!"
playerBalance
:
"%prefix% &a%name% has %amount% tokens!"