Skip to main content

๐Ÿช™ ExcellentEconomy

This page covers the compatibility with ExcellentEconomy.

Actionsโ€‹

Modify Balanceโ€‹

Modifies the amount of a specific currency for the player.

Syntax: excellentEconomy <type> <currency> <amount>

ParameterSyntaxDefault ValueExplanation
typeSET, ADD, REMOVE, MULTIPLYnoneThe type of balance modification to perform.
currencycurrencynoneThe ID of the currency to be modified (e.g., coins, gem).
amountnumbernoneThe value to be used in the operation.
Example
actions:
excellentEconomySetCoins: excellentEconomy set coins 50
excellentEconomyAddGem: excellentEconomy add gem 1000
excellentEconomyRemoveMoney: excellentEconomy remove money 100
excellentEconomyMultiplyCoins: excellentEconomy multiply coins 0.5

Conditionsโ€‹

Has Currencyโ€‹

Checks if the player possesses a certain amount (or more) of a specific currency.

Syntax: excellentEconomy <currency> <amount>

ParameterSyntaxDefault ValueExplanation
currencycurrencynoneThe ID of the currency to check.
amountnumbernoneThe minimum amount required to return true.
Example
conditions:
excellentEconomyHasCoins: excellentEconomy coins 1
excellentEconomyGemCanAffordPlot: excellentEconomy gem 10000
excellentEconomyIsRich: excellentEconomy money 1000000