-
Notifications
You must be signed in to change notification settings - Fork 6
beginners faq basics
No. Vault 2.1 already internally contains the net.milkbowl.vault.economy.Economy interface. Any plugin that depends on Vault (ShopGUIPlus, Jobs, JobsReborn, AuctionHouse...) will automatically detect the API. In fact, if you have both, disable the old one to avoid Economy registration conflicts.
Yes. Edit config.yml:
storage:
use_mysql: true
mysql:
host: localhost
port: 3306
database: vault
username: root
password: "your_password"
pool_size: 10On restart, Database.ensureSchema() automatically creates tables vault_balances, vault_world_balances, vault_transactions, and vault_charge_requests. You don't need to run SQL manually.
In config.yml:
language: en # Available languages: en, es, fr, de, nl, pl, pt, ru, zh_CN, zh_TW, hiSave and run /vault reload. Texts are taken from messages/messages_en.yml. You can edit that file to customize.
Yes. In config.yml define the currencies section:
currencies:
default:
symbol: "$"
position: suffix
gems:
symbol: "💎"
position: suffix
space: falseThe first one (or the one marked with default: true) is what external plugins use through the legacy Vault API. Balances for other currencies are stored in balances.yml (not in MySQL in this version).
Make sure to activate separate world balances:
world_balances:
separate_worlds:
- world_nether
- world_the_endOnly the worlds listed here will have their own balance. The rest share the global balance.
Vault 2.x stores everything in balances.yml + bank_balances.yml (or MySQL tables if you use that backend). Simply replace the JAR and restart — file formats are stable and backward-compatible.
If you're doing a large migration, back up plugins/Vault/ and, if you use MySQL, run mysqldump vault first.
No, they complement each other:
-
/eco— pure administration (give/take/set/reset/top). Requiresvault.eco(OP by default). -
/vault— main menu, reload, update, bank, loan, withdraw, history, offlinepay, import. -
/eco topand/vault topuse the exact sameTopCacheService.
Yes, enable:
offline-uuid-fallback: trueThen /pay PlayerCurrentlyOffline 100 will generate the UUID in offline mode and they will be able to collect it when they join (thanks to OfflinePayQueueService). If you leave it at false, payments to names never seen before are rejected with pay.player_offline.
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
- 📋 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
- Java API
- 📜 Skript
- 🧰 Contribute · Dual Maven Build