THE NEWER ECONOMY · 1.0.79 SOURCE
Server owners edit the YAML files in plugins/TheNewerEconomy/. Back up the folder and SQL database together, use spaces for YAML indentation, and restart after manual changes. Keep the generated values for an existing economy.
| File | Purpose |
|---|---|
config.yml | Setup mode, local configuration authority, stable server identity, command names, logging, and updates. |
storage.yml | Local MySQL/MariaDB JDBC address and credentials. |
economy.yml | Currencies, precision, default scope, system accounts, Vault settlement, and conversion. |
messages.yml | MiniMessage text for commands, menus, receipts, and prompts. |
placeholders.yml | Placeholder reference, display options, caches, and optional goals/seasons. |
sync.yml | SQL node presence and optional Redis event synchronization. |
wallet.yml | Authenticated-proxy declaration and optional currency image URLs. |
web-admin.yml | Server display information used by optional website features. Website administration is outside this guide. |
TNE-Controller holds managed credentials and recovery/update state. Preserve it during upgrades and avoid manual edits. TNE adds missing guidance/defaults while retaining configured values and owner comments.
setup.local-settings: true in config.yml makes the local economy configuration authoritative. Currency IDs identify stored money; display names only change labels. Keep IDs, precision, scope IDs, and account UUIDs stable after balances exist.
economy:
default-currency:
id: coin
scale: 2
currencies:
coin:
category: GAMEPLAY
scale: 2
display-name: Coins
tokens:
category: PREMIUM
scale: 0
display-name: Tokens
default-scope:
id: networkThis is a fragment to merge into the generated file, not a replacement for its other sections. GAMEPLAY and PREMIUM classify a currency; neither creates funding. Write monetary settings as quoted decimals, such as "0.05", without thousands separators.
Vault exposes the default currency. Deposits move funds from the configured settlement account to a player; withdrawals return them. Keep that account funded for rewards from Vault-based plugins.
Conversions need conversion.enabled, a directional rate, and enough target-currency liquidity. A reverse conversion needs its own rate. Fee and tax rates are fractions: "0.05" means 5%. Positive fees/taxes also require the corresponding receiving account.
conversion:
rates:
coin-to-tokens:
source: coin
target: tokens
rate: "0.01"The example means one coin buys 0.01 tokens before fees and rounding. It does not fund liquidity or guarantee the target precision can represent every conversion.
Rename commands under config.yml → commands without a leading slash. Restart and check for collisions. Permissions continue to apply after renaming.
messages:
pay:
sent: '<green>Sent <gold><amount></gold> to <aqua><target></aqua>.</green>'Keep dynamic tags such as <amount> and <target> when changing wording. User values are inserted as literal text, not interpreted as formatting.
Install PlaceholderAPI and restart to activate the bundled tne expansion; no separate expansion download is needed. The generated placeholders.yml includes the full reference.
| Example | Meaning |
|---|---|
%tne_balance% | Exact default-currency balance. |
%tne_balance_coin_compact_clean% | Plain compact balance in coin. |
%tne_currency% | Default currency ID. |
%tne_rank_coin% | Player rank in coin. |
%tne_can_afford_coin_100% | Whether the active account can cover 100 coin. |
Placeholders are cached and read-only. Default balance refresh is 5 seconds; history/leaderboards refresh after 60 seconds. Missing data can show N/A. Display abbreviations do not change stored money.
Leave Redis and outbox disabled unless you configure a multi-node transport. Both switches must be enabled for publishing. Keep shared secrets private. wallet.trusted-proxy-online-mode declares an already secured, authenticated proxy setup; it does not secure the proxy for you. Direct online-mode servers can leave it false.
Preserve the generated server-uuid. For routine operation and updates, continue to Server Owners.
For a new installation, prefer the setup wizard or setup.yml. The runtime YAML reference above remains useful, but first setup no longer requires manually assembling every file.
| Key | Purpose |
|---|---|
configuration.enabled |
Apply the explicit configuration request on startup. False retains active settings while funding requests can still run. |
configuration.request-id |
Unique one-time configuration change. Applied requests are skipped. |
configuration.database |
MySQL/MariaDB connection and schema settings. |
configuration.economy |
Default currency, scope, catalog and rules. |
configuration.conversion |
Directional rates, fees and collection accounts. |
funding.requests |
Explicit financial/review requests, each with an immutable ID. |
Configuration writes config.yml, storage.yml, economy.yml and web-admin.yml together with private backups/recovery in TNE-Controller. Configuration creates no money. Use a new configuration ID for an intentional new change; comments alone do not make it new.
The current setup file supersedes the older funding.yml workflow. Preserve existing request IDs and funding records when upgrading. For established economies, review existing funds instead of initializing new supply. initialize is reserved for a new currency/scope with no ledger history. Empty funding requests issue nothing. Monetary values are quoted decimal strings; use the complete commented example shipped with the installed version.
Currency/scope IDs and account UUIDs are persistent financial identities. Do not change them to cosmetically rename a display. Keep setup files, credentials, private controller state and database backups out of public support posts.
Reviewed 24 October 2026 against TNE server source 1.0.79. Java API examples remain pinned to the published 1.0.64 API contract, retained by the current runtime. A local source version is not proof that a matching public download has been published. Commands shown are defaults.