Economy Settings - EncryptSL/LiteEco GitHub Wiki
LiteEco supports multiple currencies with fully customizable names, formats, limits, and more. This allows server owners to define how virtual money behaves and appears for players.
All currency settings are defined in the config.yml
under the economy:
section.
economy:
currencies:
dollars:
currency_name: dollars
currency_plural_name: dollars
currency_singular_name: dollar
currency_format: '$ <money>'
starting_balance: 30
balance_limit: 1000000
balance_limit_check: true
compact_display: false
monolog_activity: true
This section allows you to define one or more currencies. Each currency is represented by a key (e.g. dollars
, credits
).
⚠️ Important: Do not rename existing currency keys if your server already has data stored. These keys are tied to database tables.
Each currency supports the following options:
Option | Description |
---|---|
currency_name |
Name of the currency (e.g. dollars). |
currency_plural_name |
Plural form (e.g. dollars). |
currency_singular_name |
Singular form (e.g. dollar). |
currency_format |
Format for displaying money. Use <money> as placeholder. Example: $ <money>
|
starting_balance |
Amount given to new players without an existing account. |
balance_limit |
Maximum allowed balance for a player. |
balance_limit_check |
Enable or disable enforcing the balance limit. |
compact_display |
If true , large amounts will be shortened (e.g. 1M instead of 1000000 ). |
credits:
currency_name: credits
currency_plural_name: credits
currency_singular_name: credit
currency_format: '€ <money>'
starting_balance: 30
balance_limit: 1000000
balance_limit_check: true
compact_display: false
You can define as many currencies as you like. Just make sure the keys remain unique.
-
Type:
true
/false
-
Default:
true
- When enabled, all economy actions such as
/eco add
,/eco set
,/eco withdraw
,/eco pay
, etc., will be logged. - View logs with the command:
/eco monolog [player]
- You must always include a default currency like
dollars
for Vault compatibility. - Use meaningful formats and names to improve immersion on your server.
- Compact formatting is useful for large-scale economies.
- Use
balance_limit_check: false
if you want unlimited balances.