Skip to content

Commit

Permalink
Updated bitties again
Browse files Browse the repository at this point in the history
  • Loading branch information
Exanthiax committed Feb 28, 2024
1 parent 2a64507 commit 90a29bf
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions docs/ecobits/how-to-make-a-currency.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ entry to the `currencies` list. Simply add and remove currencies as you please.

## Example Currency Config

EcoBits comes with an example currency:

```yaml
currencies:
- id: crystals # The ID of the currency.
Expand All @@ -31,6 +29,27 @@ currencies:
- ecocrystals
```
## Understanding all the sections
**id:** The ID of the currency. This is what you use in commands, [[prices]] and placeholders.
ID's must be lowercase letters, numbers, and underscores only.
**name:** The name of the currency.
**default:** The default balance
**max:** The maximum balance, set to -1 if no max.
**payable:** If players should be able to use /ecobits pay to pay other players
**decimal:** If decimal amounts are allowed
**vault:** If this currency should be registered with Vault
**local:** If this currency should not sync between servers
**commands:** A list of commands for this currency (for paying, balance, etc.)
## Using EcoBits currencies
You can use your EcoBits anywhere within effects using the [Price](https://plugins.auxilor.io/all-plugins/prices) system.
Expand Down

0 comments on commit 90a29bf

Please sign in to comment.