-
Notifications
You must be signed in to change notification settings - Fork 6
first install
Follow these steps to set up Vault v2.1.0 from scratch on your Spigot / Paper / Purpur server.
| Layer | Requirement | Supported range | Note |
|---|---|---|---|
| β Java | JDK / JRE | 17 LTS or 21 LTS | The JAR is distributed in two flavors: vault-2.1.0-java17.jar and vault-2.1.0-java21.jar. Do not mix versions. |
| π¦ Server | Spigot / Paper / Purpur / Folia | 1.8.8 β 1.21.x |
api-version: 1.13 in plugin.yml, but the plugin shims handlers for 1.8.8. |
| π SoftDepends | LuckPerms, PlaceholderAPI, SkinsRestorer | (any stable) | Not mandatory; if present, Vault auto-integrates. |
| ποΈ Database | YAML (default) / MySQL 8.0+ / MariaDB 10.6+ | optional | MySQL requires storage.use_mysql: true and a schema + user with CREATE / INSERT / SELECT / UPDATE / DELETE privileges. |
| πΎ RAM heap | Recommended minimum | 1 GB for active MySQL | Default HikariCP pool = 10 connections. |
-
Choose the correct JAR
- For Java 17 servers β
vault-2.1.0-java17.jar - For Java 21 servers β
vault-2.1.0-java21.jar
- For Java 17 servers β
-
Stop the server and place the JAR in your
plugins/folder:my_server/ βββ spigot-1.21.1.jar βββ plugins/ β βββ PlaceholderAPI/ β βββ LuckPerms/ β βββ Vault/ β created on first boot β βββ vault-2.1.0-java21.jar β PASTE HERE βββ ... -
(Optional) Install neighboring plugins to activate integrations:
-
PlaceholderAPI.jarβ enables%vault_balance_formatted%, etc. -
SkinsRestorer.jarβ heads in/paywork even if the server is in offline mode. -
LuckPerms.jarβ to managevault.*permissions comfortably.
-
-
Start the server. You will see in console:
[Vault] ======================================== [Vault] Vault v2.1.0 (Java 21 build) [Vault] Internal economy + Vault API bridge [Vault] ======================================== [Vault] Locale: en β messages_en.yml loaded [Vault] Storage: YAML (balances.yml) [Vault] PlaceholderAPI detected β registered 40+ placeholders [Vault] SkinsRestorer detected β enabled head resolution [Vault] Update check: latest = v2.1.0 (you are up to date) -
Stop and edit
plugins/Vault/config.ymlwith your values (see Config Reference β). -
Start again and run from in-game or console:
/eco give YourName 10000 /balance
The first /reload confirm or first boot creates inside plugins/Vault/:
# Default structure (v2.1.0)
config.yml # General settings, currency, storage, loans, bank, discord
balances.yml # YAML balance storage (when use_mysql: false)
bank.yml # Banking system balances (bank_balance per UUID)
loans.yml # Active / closed loans (YamlLoanStorage)
transactions/ # Folder with daily JSON logs (DailyJsonLogWriter)
βββ 2026-09-02.json
βββ ...
messages/
βββ messages_en.yml
βββ messages_es.yml
βββ messages_pt.yml
βββ messages_de.yml
βββ messages_fr.yml
βββ messages_nl.yml
βββ messages_pl.yml
βββ messages_ru.yml
βββ messages_hi.yml
βββ messages_zh_CN.yml
βββ messages_zh_TW.ymlRun this checklist in-game (with OP or vault.admin):
| Step | Command | Expected result |
|---|---|---|
| 1 | /balance |
Shows Your balance: 0.00 $
|
| 2 | /eco give Steve 5000 |
Steve +5000.00 $ (admin give) |
| 3 | /pay Steve 1000 |
If Steve is online, 1000 arrives instantly |
| 4 | /vault top |
#1 Steve 5000.00 $ |
| 5 | /vault bank deposit 3000 |
Deposited: 3000.00 $ |
| 6 | /vault bank balance |
Wallet: 3000.00 $ Β· Bank: 3000.00 $ Β· Total: 6000.00 $ |
| 7 | /vault withdraw 500 |
You receive a paper (PhysicalNote) in inventory |
| 8 | /vault reload |
Vault reloaded (language: en) |
If everything works β proceed to configure Config Reference β and choose your language in Languages β.
Edit config.yml:
storage:
use_mysql: true
mysql:
host: db.myserver.com
port: 3306
database: vault_prod
username: vault_user
password: "YourSecurePassword123!"
pool_size: 10Restart and look in the log: Vault: MySQL connection pool OK (10 idle). If you see SQLException, check credentials, firewall, and that the schema exists (the plugin does not create the database; it does create the balances and tx_log tables).
Vault Economy v2.1.0 Β· Compatible with Spigot 1.8.8 β 1.21.x
π¦ Modrinth Β·
π¬ Discord Β·
Java 17 (legacy) Β· Java 21 (modern)
Documentation generated on 2026-09-03 Β· Vault Project Team
- π Home
- π First Install
- π§βπ« Getting Started
- β Basic FAQ
- π Formats and Localization
- π± Multi-currency
- π’ Abbreviation (k / M / B / T)
- π Complete Command List
- π‘οΈ Complete Permission List
- βοΈ config.yml Reference
- π Supported Languages
- π Modrinth Updates
- π° Player-to-Player Payments
- π¦ Bank System
- π΅ Physical Notes
- πΈ Loans
- π Transaction History
- π Top Players
- βΈοΈ Offline Payments
- π³ Charges / Payment Requests
- π Discord Webhook
- π οΈ Installation Errors
- π« Players Can't Pay
- 𧨠Balances Wiped on Restart
- π Bank Doesn't Pay Interest
- π§Ύ Invalid / Expired Notes
- π©Ί Complete Step-by-Step Troubleshooting
- πΊοΈ Separate Balances Per World
- π Migration from EssentialsX
- π PlaceholderAPI (25+ placeholders)
- π€ SkinsRestorer Β· GUI Heads
- π LuckPerms
- ποΈ MySQL / HikariCP
-
Java API
- π¬ Getting Started
- π‘ Events and Transactions
- π SimpleEconomy Hooks
- π Skript
- π§° Contribute Β· Dual Maven Build
- π Changelog v2.1.0
- π Support