Skip to content

CoinsEngine

Compatibility with CoinsEngine

  • coins

Checks if the player has the specified amount of coins.

# coins <currencyId> <operator> <amount>
conditions:
hasCoins: coins == coins 100
  • coins

Adds, removes, multiplies, or sets the number of coins in the player’s account.

ParameterSyntaxDefaultExplanation
amountNumberThe amount of money to add or remove.
Use * to multiply.
notifyKeyword: notifyDisabledDisplay a message to the player when their balance is changed.
# coins -currencyId amount notify
events:
add_coins: coins coins +1000
take_coins: coins coins -1000
multiply_coins: coins coins *2 notify
set_coins: coins coins 10000 notify