01
The pieces of an economy and how to install them
- EssentialsX keeps the accounts: a balance per player, payments between players, selling items to the server and shop signs. Only the main EssentialsX file is required, the other modules are optional.
- Vault acts as a bridge: shop, job or reward plugins ask it for a player's balance, and Vault passes the request on to the installed economy plugin. EssentialsX hooks into it on its own. Its documentation also requires Vault to talk to a permissions plugin: without it, prefixes, suffixes and group-related features do not work.
- Shops: EssentialsX signs, or a dedicated plugin.
Vault or VaultUnlocked? The latest version of Vault dates from 2020. It still works and many plugins ask for it, but it no longer evolves. VaultUnlocked is a maintained fork, presented by its authors as a drop-in replacement for Vault: it has the same plugin name, adds support for Folia and multiple currencies, and stays compatible with plugins written for Vault. Install one or the other, never both.
Installation: drop the .jar files of EssentialsX and Vault (or VaultUnlocked) into the plugins folder, then restart. These plugins need a server compatible with Bukkit plugins, such as Paper or Purpur: see Paper, Purpur or Spigot. EssentialsX is also part of our selection of essential Minecraft plugins.
02
Set up the currency and money commands
The currency is set in plugins/Essentials/config.yml, in the Economy section:
starting-balance: 100
currency-symbol: '€'
currency-symbol-suffix: true
min-money: 0
starting-balance: the balance of new players, 0 by default;
currency-symbol and currency-symbol-suffix: the symbol, and placing it after the amount. With a character such as €, save the file as UTF-8;
min-money: the minimum balance. By default it is negative, but only players with the essentials.eco.loan permission can go below zero. At 0, no overdraft is possible.
The basic commands, with their official syntax:
/balance (or /bal, /money): your balance, or another player's with their name;
/balancetop (or /baltop): the ranking of the richest players;
/pay Pseudo 50: a payment to another player;
/eco give Pseudo 500: the admin command, with give, take, set or reset;
/sell hand or /sell inventory: sells the item in hand to the server, or the whole sellable inventory;
/worth hand: shows the value of the item in hand;
/setworth 2: sets the sell value of the item in hand.
Sell values are stored in plugins/Essentials/worth.yml. An item missing from this file cannot be sold with /sell: you decide what earns money.
03
Shops
EssentialsX signs. They are all disabled at first. In config.yml, remove the # in front of the ones you want in the enabledSigns list, for example buy, sell and trade, then restart. A buy sign is written on four lines: the type, the quantity, the item and the price. The example from the documentation:
[Buy]
10
dirt
$5
[Buy]: the player buys from the server. Stock is unlimited: it is an admin shop;
[Sell]: same format, the player sells to the server and receives the price;
[Trade]: a trade between players. The sign's creator puts stock in it, which others buy: it is the simplest form of player shop;
[Balance]: a right click shows the player's balance.
A shop plugin. For more complete player shops, ChestShop, maintained and distributed for years, pairs a chest with a sign: the chest holds the stock, the sign shows the prices. It needs Vault and an economy plugin, such as EssentialsX. Its documentation gives the format of its signs.
Protect the market area with WorldGuard so nobody breaks other players' shops: see protecting areas with WorldGuard.
04
Keeping the economy balanced
An economy goes off the rails when money comes in faster than it goes out: prices climb, and money becomes worthless. Think in terms of inflows and outflows:
- inflows: the starting balance, sales to the server (
/sell, [Sell] signs), rewards handed out with /eco give;
- outflows: purchases from the server (
[Buy] signs) and paid commands. The command-costs section of config.yml charges for a command on each use, for example home: 100.
A few simple rules:
- give a low value, or no value at all, to items produced in bulk by an automatic farm: otherwise a single farm creates money without limit;
- keep the price of buying from the server above the price of selling back to the server, so that a round trip never earns anything;
- keep an eye on
/baltop: a player who suddenly shoots up often points to a badly set price or an exploit;
- the
economy-log-enabled option logs sign trades and /sell: useful for investigating, but the log grows quickly.
Change prices in small steps and announce them: players accept a planned adjustment better than a reset of all accounts with /eco reset.
05
Permissions with LuckPerms
With the default configuration and no permissions plugin, EssentialsX commands are reserved for operators. With LuckPerms, give the default group the player commands:
/lp group default permission set essentials.balance true
/lp group default permission set essentials.balancetop true
/lp group default permission set essentials.pay true
/lp group default permission set essentials.sell true
/lp group default permission set essentials.worth true
/lp group default permission set essentials.signs.use.buy true
/lp group default permission set essentials.signs.use.sell true
/lp group default permission set essentials.signs.use.trade true
/lp group default permission set essentials.signs.create.trade true
Keep for the staff the permissions that create money or set prices: essentials.eco, essentials.setworth, essentials.signs.create.buy and essentials.signs.create.sell. A player who can create a [Sell] sign can get rich at will. Creating groups is explained in LuckPerms: ranks and permissions, and operator rights in Minecraft admin commands.
06
On CloudFive
On our Minecraft hosting plans, Paper and Purpur install in one click. You drop EssentialsX, Vault or VaultUnlocked and LuckPerms into the plugins folder with the file manager or over SFTP, you edit config.yml and worth.yml in the same place, and the client area console accepts eco and lp commands. Backups let you roll back after a pricing mistake.
Java servers run in France on Ryzen 9 9950X, with DDR5 memory and NVMe storage, with Anti-DDoS Premium included. Plans are monthly, with no commitment, from €8, with support in French 7 days a week.
07
Frequently asked questions
Which economy plugin should I install on a Minecraft server?
EssentialsX is enough to start: it handles balances, payments between players, selling to the server and shop signs. Add Vault or VaultUnlocked so that other plugins, such as shops, can read and change balances.
Vault or VaultUnlocked: which one should I choose?
Vault has had no new version since 2020 but still works. VaultUnlocked is a maintained fork, presented as a drop-in replacement, which adds support for Folia and multiple currencies. Install one or the other, never both.
How do I give money to a player with EssentialsX?
Type /eco give followed by the player name and the amount, in game or without the slash in the console. The same command accepts take to remove money, set to fix a balance and reset to put it back to the starting value.
How do I create a shop with EssentialsX signs?
Enable the signs you want in the enabledSigns list of config.yml, then restart. Write [Buy] or [Sell] on the first line, the quantity on the second, the item on the third and the price on the fourth.
Why can players not use /pay?
Without permissions, EssentialsX commands are reserved for operators. Give the essentials.pay permission to the players' group with LuckPerms, for example with /lp group default permission set essentials.pay true.