HomeJavaModsVault3
Vault3
Vault3 — screenshot 1Vault3 — screenshot 2Vault3 — screenshot 3Vault3 — screenshot 4

Vault3

繁體中文 · English

A complete economy system that registers itself as the Vault economy provider. Plugins that depend on Vault keep working unchanged, with no separate Vault.jar.

A complete economy system for Spigot and Paper that registers itself as the Vault economy provider. Plugins that depend: [Vault] and call net.milkbowl.vault.economy.Economy keep working exactly as before — you do not need to install Vault.jar alongside it.


Why another economy plugin

Most economy plugins are fine until your server gets busy. Vault3 is built around the two things that actually break at scale: main-thread blocking and losing money.

Nothing touches the main thread

A transaction marks the account dirty and returns. Writes happen asynchronously, debounced, and only for the balances that actually changed — never the whole table.

On a 200-player server, a shop purchase used to mean a 200-row batch upsert while the server waited on the database. Now it means one row, off-thread.

Transactions are atomic

withdrawPlayer and depositPlayer are single atomic operations on the account. Two plugins hitting the same balance at the same time — a shop and a daily-reward task, for example — cannot overwrite each other. Under an 8-thread stress test of 200,000 concurrent withdrawals, the final balance is exact to the cent.

Your data survives a bad day


Features

Storage MySQL (HikariCP) or flat file. Drivers are downloaded at runtime, nothing to bundle.
Payments /pay with a paginated player-picker GUI, or direct /pay <player> <amount>.
Charge requests Request money from a player. Offline targets get the request on their next join.
Loans Optional loan system with installments, interval charging and configurable penalties.
Leaderboard /vaultop with pagination.
Admin /eco give|take, in-game config editor GUI, /vault reload.
PlaceholderAPI Two expansions, %vault_*% and %vault3_*%.
Languages English, 繁體中文, 简体中文, Español, Français, Deutsch, Nederlands, Polski, Português, Русский, हिन्दी
Currency Symbol, prefix/suffix position, decimal pattern, and 1.2k / 3.4m abbreviation.
Import One-shot import from Essentials userdata.

Commands

Command Description Permission
/balance Show your balance vault.balance
/pay [player] [amount] Pay a player, or open the payment menu vault.pay
/vaultop [page] Richest players vault.top
/eco give|take <player> <amount> Adjust a balance vault.eco
/vault [reload|loan] Main menu and admin actions vault.admin
/loan Loan menu vault.loan

Placeholders

%vault_balance%                     %vault_balance_formatted%
%vault_eco_balance_short%           %vault_eco_balance_commas%
%vault_ecobalance<0-8>dp%           %vault_currency_symbol%
%vault_balance_<player>%            %vault_balance_formatted_<player>%
%vault_top%                         %vault_top_name_<n>%   %vault_top_amount_<n>%

Setup

  1. Drop the jar into plugins/ and start the server.
  2. Open plugins/Vault/config.yml, set your language and currency.
  3. For MySQL, set storage.use_mysql: true and fill in the connection details.

Two config keys are easy to get wrong, and getting them wrong fails silently — the plugin falls back to defaults without an error:

storage:
  mysql:
    # the key is "params", not "properties"
    params: useSSL=false&serverTimezone=UTC
    # these must be nested under "pool:", not flat under "mysql:"
    pool:
      max: 10
      min_idle: 2
      connection_timeout_ms: 10000

Tuning durability

storage:
  save_on_transaction: true          # persist shortly after each transaction
  transaction_flush_delay_ticks: 20  # debounce window; lower = safer, more writes
  autosave_seconds: 60               # periodic safety net
  recover_emergency_dumps: true      # set false if several servers share one database

With the defaults, an unexpected process kill loses at most about one second of transactions.


Compatibility


繁體中文

Vault3 是相容 Vault API 的獨立經濟插件,會直接註冊成 Vault 的經濟提供者, 其他插件的 depend: [Vault] 照常運作,不需要另外安裝 Vault.jar

設計重點

支援 MySQL 或平面檔、GUI 付款選單、請款、貸款系統、富豪榜、PlaceholderAPI 與 11 種語言。

設定檔有兩個鍵名容易寫錯且不會報錯:連線參數是 params 而非 properties; 連線池參數必須巢狀在 pool: 底下。寫錯會靜默套用預設值。

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more