HomeJavaModsburger-economy
burger-economy
burger-economy — screenshot 1burger-economy — screenshot 2burger-economy — screenshot 3burger-economy — screenshot 4

A complete server-side economy for Fabric: balances, a shop, a player auction house, and a buy-order market. Everything runs on the server, so your players join with a totally vanilla client and interact through normal chest menus. No client mod, no proxy, no database, no setup.

Works on both online-mode and offline-mode servers with no configuration.

Features

Commands

Command Description
/shop Open the shop (buy, sell, sell all, paginated)
/sell Open the bulk sell window
/ah (or /auction) Open the auction house
/ah sell <price> List the item in your hand for buy-now
/ah claim Claim items from your collection box
/orders Open the buy-order market (create, view, fill)
/pay <player> <amount> Pay another player (with a confirmation screen)
/baltop Top balances in chat (also works from the server console)
/balance [player], /money, /bal View your balance, or someone else's
/eco give|take|set <player> <amount> Operators. Adjust a balance
/shop enable <true|false> Operators. Turn selling off or back on
/shop reload Operators. Reload shop files without restarting

Configuration

On first launch the mod writes everything it needs to config/economy/ and config/orders/. There is no manual setup. Edit config/economy/config.json to tune it:

{
  "startingBalance": 15000,
  "dailyRewardAmount": 2000,
  "deathPenaltyPercentage": 2,
  "maxBalance": 0,
  "currencySymbol": "$"
}

Set dailyRewardAmount or deathPenaltyPercentage to 0 to switch either off, and maxBalance to 0 for no cap.

The shop

One JSON file per category in config/economy/shop/. A set of defaults (building blocks, wood, redstone, terracotta, valuables and more) is written on first launch, and you can edit, add or delete them freely. Run /shop reload to apply your changes.

{
  "category_name": "Valuables",
  "category_item": "minecraft:diamond",
  "items": [
    {
      "id": "minecraft:diamond",
      "can_buy": true,
      "can_sell": true,
      "quantity": 1,
      "buy_price": 800,
      "sell_price": 400
    }
  ]
}

quantity is how many items one purchase gives you, so you can price things by the stack. Keep buy_price above sell_price or players can farm the difference.

Items can also carry a components block (custom name, lore, custom data) if you want to sell datapack items or custom gear.

Controlling your economy (optional)

If money is piling up on your server, these extra fields on any shop item help pull it back. They are all off unless you add them.

Setting What it does
daily_sell_limit How many a player can sell per day at full price. They are shown how many they have left before they click.
stock_backed The shop can only sell what players have sold to it. Nothing is created from nothing.
sell_price_floor, sell_price_floor_at The more of an item the shop holds, the less it pays. Dumping 500 diamonds no longer pays the same as selling your first one.
buy_price_floor, buy_price_floor_at The other half. An overstocked shop sells cheaper, which clears the backlog again.

There is also /shop enable false, which switches off selling while leaving buying open. Players can still spend, but they cannot make more money.

Note: Some features like /sell, /shop enable, quantity per buy, price floor etc are only available for Minecraft 26.2!

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