Configuration

Everything here can also be changed in game with /tokens settings. After editing the file: /tokens reload (storage changes need a restart).
| Option | Default | |
|---|---|---|
stats | true | anonymous statistics (see Statistics and update check) |
update-check | true | check GitHub for a new version |
auto-install | PlaceholderAPI on | download missing plugins automatically |
storage.type | sqlite | yaml (small servers), sqlite (one server), mysql / mariadb (shared by several servers) |
storage.table | flaretokens | table name (same as 3.x) |
storage.mysql.* | host, port, database, username, password, flags | |
storage.refresh-seconds | 60 | MySQL only: full reload of online balances (safety net) |
network.server-name | "" | name of this server in the history (empty = server-<port>) |
network.sync-seconds | 1 | how often changes from other servers are checked |
network.notify-changes | true | (4.0.1+) message to the player when another server gives or takes tokens |
history.enabled | true | save every change of balance |
history.keep-days | 90 | days to keep (0 = forever) |
player-access.* | all true | what normal players can use: menu, shop, top, history, pay, withdraw |
first-join-tokens | 0 | tokens given on the first join |
pay.enabled | true | /tokens pay on/off |
pay.allow-offline | true | pay players who are offline |
pay.min-amount | 1 | minimum payment |
pay.cooldown-seconds | 0 | seconds between two payments |
cheque.enabled / min-amount / item | cheques and how the cheque item looks ({amount}, {amount_commas}, {player}) | |
shop.enabled | true | shops on/off |
shop.main-shop | main | shop opened by /tokens shop |
shop.open-command | [tokenshop] | extra commands that open the main shop |
shop.update-ticks | 20 | how often items with update: true are redrawn (20 = 1 second) |
shop.click-cooldown-ms | 200 | time between two clicks (stops double purchases) |
shop.confirm-above | 0 | products costing at least this much ask a confirmation (0 = only confirm: true) |
top.size | 10 | players in the top list |
top.refresh-seconds | 60 | how often the top list is refreshed |
format.suffixes | k M B T Q | short format (1.2k, 3.4M...) |
sounds.* | receive, pay, redeem, open-shop, buy, click, error (enabled: false = no sounds) | |
logs.transactions | true | every change of balance in logs/transactions.log |
Messages are in lang/en.yml. The texts of the admin menus (settings, editor) are in menus/admin.yml.
Ultimo aggiornamento: 25 ottobre 2026