Gamehost

Vault and EssentialsX economy on a Minecraft server

How to set up an economy on a Minecraft server: Vault as the bridge, EssentialsX Economy, the /balance, /pay and /eco commands, starting balance and player shops.

Gamehost team·3 min read·Updated:
Minecraft serverPlans from 2 GB RAM

Server ready a moment after payment. You can change the plan in the panel at any time, your world stays.

Almost every plugin with a shop, jobs or paid land claims asks for an economy through Vault. Vault itself does not store any money, it only connects plugins. The simplest set is Vault plus EssentialsX.

What Vault is

Vault is a bridge. The economy plugin (for example EssentialsX) keeps the players' balances, and shop, job or auction plugins ask for those balances through Vault. That way any shop works with any economy. Vault does the same for permissions and chat prefixes, for example with LuckPerms.

PartExampleRole
bridgeVaultconnects plugins, does nothing on its own
economyEssentialsXstores balances, gives /balance and /pay
shops and earningChestShop, QuickShop-Hikari, Jobs Rebornuse the economy through Vault

All of these are plugins for Paper, Purpur and Spigot. On modded servers, the economy comes from separate mods.

Installation

  1. From Plugins, install Vault and EssentialsX (the economy is part of the main EssentialsX file, you do not need a separate add-on).
  2. Restart the server.
  3. Type vault-info in the console. The Economy line should show Essentials Economy.

The original Vault has not been updated in a long time, but it still works on new Paper versions. Some new plugins require its maintained fork, VaultUnlocked. If a plugin's description asks for it, install VaultUnlocked instead of Vault, not both at once.

More about EssentialsX itself: the EssentialsX guide.

Commands and currency settings

CommandWhat it does
/balance or /balshows your balance
/pay <player> <amount>sends money to another player
/baltopranking of the richest players
/eco give <player> <amount>admin adds money
/eco take <player> <amount>admin takes money away
/eco set <player> <amount>admin sets the balance

In plugins/Essentials/config.yml you can set, among other things:

starting-balance: 100
currency-symbol: '$'

After changes, type /essentials reload. Give players without a rank the essentials.balance and essentials.pay permissions in LuckPerms.

Shops and earning money

  • EssentialsX signs: the simplest admin shop. A sign with [Buy] or [Sell] on the first line, and the amount, item and price on the next ones. First enable these signs in the enabledSigns section of the EssentialsX config.yml.
  • ChestShop, QuickShop-Hikari: player shops on chests.
  • GUI shops: for example EconomyShopGUI, when you want a menu instead of signs.
  • Jobs Reborn: money for mining, chopping trees or killing mobs.
The in-game economy is a virtual currency. Selling ranks or items for real money is a separate topic, with different plugins and rules.

Alternatives to EssentialsX Economy

If you run a network of servers and want a shared balance, you need an economy plugin that stores data in a MySQL database, for example CoinsEngine or XConomy. You create a database for your server in Databases in the panel. On a single server EssentialsX is completely enough. Before you switch economy plugins, take a backup, because balances do not carry over on their own.

The plugin installer, console and a MySQL database for your server come with every plan on our Minecraft server hosting.

FAQ

No. Vault only connects plugins. You need an economy plugin, for example EssentialsX, which stores the players' balances.

Type vault-info in the console. The Economy line should show the name of the economy plugin, for example Essentials Economy.

Change the starting-balance value in plugins/Essentials/config.yml and type /essentials reload.

With /eco give name amount. To take money away use /eco take, and to set an exact balance /eco set.

That is a separate topic, handled by server store plugins with their own rules. The in-game economy described here is purely virtual.

Your own Minecraft server

Plans from 3.79 € a month, set up in a few minutes and managed from one panel.

See plans