Installation
This guide walks through a standard single-server install. For proxy networks, see the network mode section and the Production guide.
Single-server install
1. Install dependencies
- Run Java 21 on your server.
- Install Paper 1.20.5+ or Folia 1.21+.
- Install Vault or VaultUnlocked in
plugins/. - Install PlaceholderAPI if you want placeholders (optional).
2. Install OpenEco
- Download
OpenEco-<version>.jarfrom GitHub Releases. - Place the JAR in
plugins/. - Start the server once to generate
plugins/OpenEco/config.yml. - Stop the server and review the config.
- Back up
plugins/OpenEco/before reopening. - Start the server again.
3. Verify
Run these checks before opening to players:
/balance
/baltop
/pay <player> 1
/history
/eco reloadAlso verify at least one Vault-dependent plugin (shop, jobs, rewards) can read and write balances.
Config folder name
The Bukkit plugin id is openeco, but the data folder is plugins/OpenEco/. Both names refer to the same plugin.
First-run configuration
Review these sections in plugins/OpenEco/config.yml before launch:
| Section | What to check |
|---|---|
currencies | Default currency and definitions |
storage | Backend type and connection settings |
accounts.load-strategy | eager (default) or lazy |
autosave-interval | Background flush frequency |
pay | Cooldown, tax, minimum amount |
history.retention-days | -1 keeps all history |
messages | MiniMessage chat strings |
See Configuration for the full reference.
Restart-required settings
These cannot be changed safely with /eco reload alone:
storage.typeand database file names- Remote database connection targets
cross-server.enabledaccounts.load-strategy(best treated as startup-only)
Network mode
Use network mode only when you run multiple backend servers behind a Velocity proxy that share one remote database.
Checklist
- Use MySQL, MariaDB, or PostgreSQL — SQLite and H2 are not supported for cross-server mode.
- Set
cross-server.enabled: trueon every backend. - Install the OpenEco Proxy JAR on Velocity.
- Restart the proxy and all backends after toggling cross-server mode.
- Test at least one server switch and one
/ecosync <player>before production use.
Not a distributed ledger
Network mode flushes and refreshes accounts during player handoff. It does not broadcast balances live to every backend or protect against simultaneous writes from multiple servers.
Typical network layout
Migrating from another economy plugin
If you are replacing an existing economy plugin:
- Put the server in maintenance mode.
- Install OpenEcoMigrator alongside OpenEco.
- Run
/openecomigrate <source> --scan, then--dry-run, then import. - Switch Vault to OpenEco and remove the old economy plugin.
See Migration for supported sources and workflows.
Troubleshooting
| Symptom | Likely cause |
|---|---|
| Plugin disables on startup | Storage connection failed or account load error — check console |
| Vault plugins see no economy | Vault not installed, or OpenEco failed to register providers |
| Balances reset after crash | Up to one autosave-interval of changes may be lost — lower the interval |
| Cross-server balances stale | cross-server.enabled not set on all backends, or proxy addon missing |
For deeper operational guidance, see Production guide and Technical notes.
