Economy guide
How to make an economy plugin for your Minecraft server
An economy plugin comes down to four parts: a currency with a balance per player, a shop to buy and sell items, an auction house for player-to-player trade, and jobs that pay out. Describe those parts in plain English, and Minax writes the Java, compiles a .jar, and lets you test it in game first.
Economy is what gives a survival or SMP server its backbone. Without it, mining for four hours means nothing; with it, every stack has a price and every player has a reason to log back in tomorrow. The catch with off-the-shelf economy plugins is that you inherit their commands, their messages and their balancing. Describe the economy you actually want instead, and get a compiled plugin that does exactly that.
- Currency, shop, auction house, jobs and salaries in one plugin
- Your commands, your prices, your chat messages, nothing inherited
- Mention Vault in your prompt to stay compatible with other plugins
- Real Java compiled to a .jar, with a self-correction loop, testable online
The four building blocks of a server economy
Before you write a single line of your prompt, decide what your economy is made of. Almost every server economy reduces to the same four blocks, and what makes yours interesting is how you wire them together: a currency, somewhere to spend it, somewhere players trade with each other, and a faucet that brings money in.
You do not need all four on day one. Plenty of servers launch with a currency and an admin shop, then add the auction house once the player count makes a real market worth having. Splitting the work across a few smaller generations usually gives a cleaner result than describing one giant plugin in a single go.
- Currency: one balance per player, earned, spent, transferred
- Shop: the server buys and sells items at set prices
- Auction house: players sell items to each other
- Jobs and salaries: the faucet that brings money into the game
- Money sinks: what takes money back out, so prices stay sane
Currency: balances, /pay and saving to disk
Technically, a currency is a number tied to a player UUID plus the commands that read and move it. Name everything in your prompt: the currency name and its symbol, the command to check a balance, the command to pay another player, the staff-only command to add or remove money. Say what a brand-new player starts with, too.
The part people forget is persistence. State clearly that balances must survive a restart, and where they live, in a file inside the plugin folder or in a database if your server has one. Then spell out the edge cases: paying an offline player, a negative amount, not enough money, a player name that does not exist. Those edge cases are exactly what breaks an economy once real players get hold of it.
- Currency name, symbol and how amounts are displayed
- The exact commands you want, for example /money, /pay, /eco give
- Which permission node guards the staff commands
- Where balances are stored, and that they survive a restart
- A clean refusal when a player cannot afford something
Shop and auction house
The server shop is where money leaves players' pockets first. Pick a form: a command that opens an inventory GUI split into categories, clickable signs in a market area, or both. Give the item list with a buy price and a sell price, and always keep the sell price below the buy price, or your players will find the infinite money loop before the end of the night.
An auction house is a different animal, because players set the prices themselves. Describe how an item gets listed, how many listings a player can run at once, what happens when a listing expires, and whether the server takes a cut. That cut is one of the best money sinks you can build, since it removes currency from the game on every single trade.
- Shop as a GUI, as signs in a market area, or both
- Buy price and sell price per item, consistent with each other
- Listing rules: how long a listing lasts, how many per player
- Expired listings return the item to the seller, not the void
- A server cut on every sale, working as a money sink
- Search and filters in the listings once your server gets busy
Jobs, salaries and keeping inflation under control
Jobs are the part that makes an economy feel alive, because they pay for playing rather than for being online. A job is a set of paid actions: miner paid per ore, fisher paid per catch, lumberjack, farmer, hunter. Add levels and a growing bonus if you want progression. Describe the actions, the payout per action, and how a player joins or leaves a job.
A salary paid on a timer is the gentler variant, usually tied to a rank. Watch out for the classic exploit: paying for both placing and breaking the same block is a free money machine. Say so in your prompt, ask explicitly that a player-placed block pays nothing when it is broken again, and cap earnings per period for anything a redstone farm can automate.
- The jobs on offer and which action pays in each one
- Payout per action, plus levels if you want progression
- A timed salary per rank, instead of or alongside jobs
- Anti-exploit: no payout for breaking a block a player placed
- An earnings cap per period for farmable actions
- Real things to spend on: repairs, taxes, plots, cosmetics
Vault, the interoperability standard
Vault is the long-standing abstraction layer in the Bukkit, Spigot and Paper ecosystem for economy and permissions. The idea is simple: your economy plugin registers with Vault as the currency provider, and other plugins ask Vault instead of talking to your code. They never need to know your plugin exists to read or change a balance.
That matters if you want a shop plugin, a land-claim plugin or a paid-ranks system to use the same money as the rest of your server. So: write it into your prompt that the plugin should register as a Vault economy provider, remember Vault itself is a separate plugin you install on the server, and check in game that your other plugins really see the same balance. If you need no interoperability at all, a self-contained economy is perfectly fine and simpler.
- Ask explicitly for registration as a Vault economy provider
- Vault stays a separate plugin you install on your server
- Verify in game that another plugin reads the same balance
- Skip it entirely if nothing else needs your currency
Describe it, generate it, test it in game
Write your prompt the way you would explain the server to a friend, only complete: command names exactly as you want them typed, permissions per rank, the chat messages players will see, your Minecraft version and your server software. The more specific the prompt, the fewer rounds of tweaking afterwards. Give your own prices and payouts, even rough ones, rather than letting the AI invent them.
From there Minax writes the Java code, compiles it into a .jar and works through compile errors in a self-correction loop. Then you can run the plugin online and try it in game: earn money, pay another player, buy from the shop, list something on the auction house. That is the only serious way to check balancing. If something is off, say it in one sentence and regenerate, then drop the .jar into your server's /plugins folder.
- Name your commands and permission nodes exactly
- Give your prices, payouts and chat messages
- State your Minecraft version and server software, Paper or Spigot
- Test every part in game, especially player-to-player payments
- Fix it in one sentence, regenerate, then install into /plugins
Frequently asked questions
What is the best economy plugin for a Minecraft server?
It depends on what you actually want. The well-known ones are solid, but you inherit their commands, messages and balancing, and you usually have to stack several plugins to get currency, shops and jobs together. Generating your own gives you one plugin that does exactly what you described, with your names and your prices.
How do I add money to my Minecraft server?
You need an economy plugin that keeps a balance per player, plus a staff command to credit an account. Ask for that command explicitly in your prompt, along with the permission node that guards it, otherwise anyone on the server can pay themselves.
Do I need Vault for an economy plugin?
Not required, but useful. Vault is the standard middle layer between plugins: your economy registers as the provider, and other plugins read balances through it without knowing your code. If you want that compatibility, put it in your prompt and install Vault on the server. A self-contained economy works fine too.
How do I make a shop players can buy from?
Decide on the form first: a command that opens an inventory GUI, or clickable signs in a market area. Then list the items with a buy price and a sell price, and keep the sell price below the buy price so nobody can farm the difference for free money.
Can I get an auction house without a paid premium plugin?
Yes, an auction house can be part of the plugin you generate. Spell out how a player lists an item, how long a listing lasts, how many listings each player gets, what happens to the item when a listing expires, and whether the server takes a cut.
How do I stop money inflation on my SMP?
By balancing what brings money in against what takes it out. Cap earnings on anything players can automate, refuse to pay for a block that was placed and then broken, and build real sinks: an auction cut, repair costs, plot taxes, cosmetics. Balancing stays your call, no plugin decides it for you.
Do player balances save after a server restart?
Only if you ask for it. Say in your prompt that balances must be saved and where, in a file inside the plugin folder or in a database. Then check it in game: earn some money, restart the server, look at your balance again.
Do I need to know Java to make an economy plugin?
No. You describe the behaviour you want in plain English, and the AI writes the Java, compiles it into a .jar and fixes its own compile errors. If you do know Java, the source is there for you to open and adjust afterwards.
Ready to build your Minecraft plugin?
Describe it in plain English, get a compiled .jar. No Java required. Your account is free. Credits paid once, no subscription: 50 credits for €17.99 VAT included.
Build my economy plugin