๐ช 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>
| Parameter | Syntax | Default Value | Explanation |
|---|---|---|---|
| type | SET, ADD, REMOVE, MULTIPLY | none | The type of balance modification to perform. |
| currency | currency | none | The ID of the currency to be modified (e.g., coins, gem). |
| amount | number | none | The 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>
| Parameter | Syntax | Default Value | Explanation |
|---|---|---|---|
| currency | currency | none | The ID of the currency to check. |
| amount | number | none | The minimum amount required to return true. |
Example
conditions:
excellentEconomyHasCoins: excellentEconomy coins 1
excellentEconomyGemCanAffordPlot: excellentEconomy gem 10000
excellentEconomyIsRich: excellentEconomy money 1000000