How the economy fits together
#Money enters the server mostly by selling farm, mob and mining products (/sell, sell wands, spawner storage) and leaves it through the shop, rank-ups, crates and taxes. Players trade with each other through the auction house, buy orders, /trade, /pay, banknotes and coinflip. A second currency, shards, is earned in the AFK zone and spent in the shard shop.
Each part is its own module, so you can turn off anything you do not want. Prices and amounts below are the package defaults.
Money (economy)
#SimpleSMPCore is the server's Vault economy provider: every plugin that uses Vault (or VaultUnlocked on Folia) sees the same balance.
Setting (modules/default/economy/config.yml) | Default | Description |
|---|---|---|
settings.starting-balance | 0 | Money of a new player. |
settings.max-balance | 500000000000 | Upper limit of a balance. |
settings.currency.symbol / symbol-after | $ / false | Currency symbol and its position. |
settings.format.compact / decimals | true / 2 | Show $1.25K instead of $1250.00. |
settings.pay.minimum | 0.01 | Smallest /pay amount. |
settings.pay.offline-players | false | Allow paying players who are offline. |
settings.baltop.refresh-interval | 10s | How often /baltop is sorted again. |
settings.import.essentials | true | Take over EssentialsX balances on the first start. |
settings.alerts.large-payment | 50000 | Staff and webhook alert for large payments. |
Commands: /balance [player], /pay <player> <amount>, /paytoggle, /baltop, and for staff /eco give, take, set and reset.
Selling (sell)
#/sellopens a sell menu: put items in and close it to sell them. Shulker boxes are emptied and their sellable contents sold (sell-shulker-contents). Items that carry plugin data or a custom model (for example crate rewards) are never sold (skip-custom-items: true)./worthshows the prices,/sellhistorythe last sales.- With packetevents, items show a worth line in their lore on the client (players can turn it off in
/settings). The items on the server do not change. - Sell wands (
/sell wand give <player> <uses|time|unlimited> [multiplier]) sell the contents of a chest with one click.
Prices are set per category in modules/default/sell/menus/multipliers/<category>.yml → allowed-types.<MATERIAL>.price-per-unit. The categories are crops, ores, mob, natural, armor, fish, book, potions and blocks.
Which file an item's sell price is in
#Each category is one file in modules/default/sell/menus/multipliers/. To change a sell price, find the item's material name (for example BAMBOO) under allowed-types in its category file, change price-per-unit, save and run /smpcore reload sell. /worth hand (or /worth <material>) shows the price that is in effect.
| File | Default content (examples) |
|---|---|
crops.yml | Farm produce: WHEAT, CARROT, POTATO, BEETROOT, MELON, PUMPKIN, BAMBOO, SUGAR_CANE, CACTUS, COCOA_BEANS, SWEET_BERRIES, GLOW_BERRIES, KELP, NETHER_WART, mushrooms, seeds, saplings, BONE_MEAL, CHORUS_FRUIT, COOKED_BEEF |
ores.yml | Ores, raw metals, ingots, gems and their blocks: COAL, RAW_IRON, IRON_INGOT, GOLD_INGOT, COPPER_INGOT, DIAMOND, EMERALD_BLOCK, REDSTONE, LAPIS_LAZULI, QUARTZ, AMETHYST_SHARD, ANCIENT_DEBRIS, NETHERITE_INGOT, CLAY, BRICK |
mob.yml | Mob drops and meat: ROTTEN_FLESH, BONE_MEAL, STRING, GUNPOWDER, ENDER_PEARL, BLAZE_ROD, SLIME_BALL, LEATHER, FEATHER, BEEF, PORKCHOP, CHICKEN, MUTTON, COD, SALMON, EMERALD, TOTEM_OF_UNDYING, SHULKER_SHELL, ARROW |
natural.yml | Logs, wood, leaves, flowers, dyes, corals, froglights: OAK_LOG, SPRUCE_LOG, OAK_LEAVES, DANDELION, RED_DYE, SEA_LANTERN, SHROOMLIGHT |
armor.yml | Tools, weapons, armor, buckets and smithing templates: DIAMOND_SWORD, IRON_PICKAXE, NETHERITE_CHESTPLATE, BOW, ELYTRA, TRIDENT, BUCKET |
fish.yml | Fishing loot: TROPICAL_FISH_BUCKET, COD_BUCKET, NAME_TAG, NAUTILUS_SHELL, LILY_PAD, HEART_OF_THE_SEA |
book.yml | BOOK, ENCHANTED_BOOK |
potions.yml | POTION, SPLASH_POTION, LINGERING_POTION, BREWING_STAND |
blocks.yml | Building blocks (more than 600): stone and dirt types, planks, slabs, stairs, fences, wool, glass, sand, copper blocks, BAMBOO_PLANKS, CHERRY_LOG, MANGROVE_LOG |
- Not sure where an item is: search the nine files for the material name written in capitals as its own key (
BAMBOO:). Plain bamboo is incrops.yml; the bamboo building blocks (BAMBOO_PLANKS,BAMBOO_SLAB...) are inblocks.yml. - An item listed in two files uses the first file in
config.yml→settings.category-order(default: crops, ores, mob, natural, armor, fish, book, potions, blocks); the other entry is ignored. In the default files this applies to:BONE_MEAL,CHORUS_FRUIT,CHORUS_FLOWER(crops wins),COPPER_INGOT,CLAY(ores wins),COD,SALMON,COOKED_COD,COOKED_SALMON,TROPICAL_FISH,PUFFERFISH,LEATHER,SADDLE,BOWL,FISHING_ROD,SEAGRASS,POPPY,ARROW(mob wins),GRASS_BLOCK(natural wins),BOOK(book wins) andBREWING_STAND(potions wins). - Make a new item sellable: add
MATERIAL_NAME:withprice-per-unit:underallowed-typesof the category it should level up. An unknown material name or a negative price is skipped with a console warning. To stop selling an item, delete its entry. - The amount paid can differ from
price-per-unit: the category multiplier is added for raw products, andsettings.shop-price-caplimits items that/shopalso sells.
Sell multipliers
#Every category has its own level. Selling in a category raises its level, and each level adds to the sell price in that category (/sellmulti shows them).
| Setting | Default | Description |
|---|---|---|
settings.level-prices | 1,250 up to 32 billion, 20 levels | Amount that must be sold in a category to go from one level to the next. The list length is the highest level. |
settings.multiplier.per-level | 0.1 | Multiplier = category base + per-level × level. |
settings.multiplier.raw-only.enabled | true | The multiplier applies only to raw products (farming, mining, mob drops). Processed items (smelted, crafted, brewed) sell at 1.0x. Lists of raw and processed exceptions are in the same section. |
settings.shop-price-cap | 0.9 | Anti money-loop: an item the shop also sells is sold to the server for at most 90% of the shop's lowest price, multipliers included. 0 = off. |
settings.order-routing | on | A sale can be routed to a matching buy order that pays more than the server price. |
Server shop (shop)
#/shop opens the main menu with the categories in modules/default/shop/menus/categories/ (food, gear, nether and end by default). Every product can have a price, a stock, a per-player purchase limit and a dynamic price.
- Dynamic prices go down when players sell the same item (sources:
/sell, spawner storage, sell wands; player-to-player sales are not counted)./shop resetpriceputs a price back to its base. - Stock and limits:
/shop restockrefills,/shop resetlimit <player>resets a player's counters. - Rotating offers (off by default): discounted products picked from a pool on a schedule (
settings.rotating-offers, 10 to 30% off, daily)./shop rotatepicks new ones now. settings.max-amount: 2304is the largest amount in one purchase (36 stacks).
Add, edit or remove a shop section
#Every .yml file in modules/default/shop/menus/categories/ is one shop section (category). The file name without .yml is the category id. The list is read from the folder, so a new file becomes a new section; nothing has to be registered in config.yml.
Add a section
- Copy an existing file in
modules/default/shop/menus/categories/(for examplefood-shop.yml) to a new lowercase name without spaces, for exampleblocks-shop.yml, and replace the products. A complete minimal file:
title: "<#9A9A9A>ꜱʜᴏᴘ · ʙʟᴏᴄᴋꜱ"
size: 27
filler:
material: BLACK_STAINED_GLASS_PANE
name: " "
hide-tooltip: true
items:
back:
name: "<#FF5A5A>◀ ʙᴀᴄᴋ"
material: RED_STAINED_GLASS_PANE
slot: 18
oak-log:
slot: 10
name: "<#EDEDED>ᴏᴀᴋ ʟᴏɢ"
material: OAK_LOG
price: 5
max-stack: 2304
stone:
slot: 11
name: "<#EDEDED>ꜱᴛᴏɴᴇ"
material: STONE
price: 2.5
max-stack: 2304
- Add a button for it to
modules/default/shop/menus/main.ymlundercategories:(the button key is free;categoryis the file name; use aslotthat is not taken, the defaults use 11 to 15):
categories:
blocks:
name: "<#3BE07A>ʙʟᴏᴄᴋꜱ"
material: OAK_LOG
slot: 10
lore:
- "<#9A9A9A>Logs, stone..."
- ""
- "<#9A9A9A>▶ Click"
category: "blocks-shop.yml"
- Run
/shop reload(permissionsimplesmpcore.shop.admin;/smpcore reload shopdoes the same). No restart is needed. - Check with
/shopor open the section directly with/shop blocks-shop(the start of the name is enough:/shop blocks).
Product keys (under items:)
| Key | Description |
|---|---|
slot | Slot in the menu, from 0 to size minus 1. A product without a valid slot is not shown. |
material, name, lore | The icon. material is also the item that is given. |
price | Price of amount items (required, 0 or more). |
amount | Icon amount and what price buys (default 1, at most 99). |
max-stack | Most items in one purchase (default 64; at most settings.max-amount). |
purchase-inventory-title | Title of the amount menu (default: the name). |
commands | Commands that run instead of giving an item (as the player; prefix [console] for the console; %player% is replaced). |
give-item | A custom item to give instead of the plain material (same keys as an icon). |
stock, limit, dynamic | Optional shared stock, per-player limit and dynamic price; see the comments in modules/default/shop/config.yml. |
The item key back is reserved for the back button. size is 9 to 54 (a multiple of 9).
Edit or remove
- Change a price or product in the category file, then
/shop reload. - To remove a section, delete its file and its button in
main.yml, then/shop reload. Deleted default files are not created again. - Stock, purchase limits and dynamic prices are stored per
category/productkey (for exampleblocks-shop/oak-log). Renaming a file or a product key starts them from zero.
Common mistakes
- The button is missing in
main.yml, or itscategory:does not match the file name: the section loads but nothing opens it from the menu. - Two products or buttons share a slot, or the slot is outside
size. - Wrong material name or missing
price: the product is skipped and the console showsmenus/categories/<file>.yml: <product>: invalid materialorinvalid price. - YAML indentation: the products must be under
items:, two spaces deeper. - A category menu has one page (at most 54 slots). For more products create another section.
- The shop only sells to players. What players can sell to the server is set in the sell module (see Selling above).
Shards (shards)
#Shards are earned while standing in the AFK zone (settings.afk-zone: one shard per interval, 60s by default, with extra shards for ranks through income-tiers). Optionally they can be earned everywhere (everywhere-income) and from player kills (kill-reward.amount: 15, with same-IP and repeat-victim protection).
/shards shows the balance, /shardshop opens the shard shop, /shards leaderboard the top list. Paying shards to other players is off by default (settings.pay.enabled: false).
Spawners (spawners)
#Spawners are virtual and stackable: one block can hold up to 100000 spawners (max-per-stack). Instead of spawning mobs they fill an internal storage with drops and XP while a player is within activation-distance (25 blocks). Players open the spawner to collect or sell the storage (use-sell-prices: true uses the sell prices). Natural spawners are converted (convert-natural-spawners), silk touch needs a permission, and broken spawners sell their storage by default (storage.on-break: sell). Staff give spawners with /spawner give <player> <type>.
Auction house (auction-house)
#/ah opens the player market. /ah sell <price> lists the item in your hand; /ah search, /ah view [player] and /ah history do what they say. Sold money and expired items wait in the claim box.
| Setting | Default | Description |
|---|---|---|
settings.listing.duration | 24h | How long a listing stays on the market. |
settings.listing.claim-time | 30d | How long sold money and expired items wait to be claimed. |
settings.price.min / max | 0.1 / 50000000 | Allowed price range. |
settings.tax.percent | 0 | Sales tax. |
settings.limits.default | 1 | Listings per player. Higher limits come from simplesmpcore.auction-house.limit.<n> (1 to 50) or .limit.unlimited; the VIP ranks have them. |
settings.purchase.confirm | true | Confirm menu before buying. |
settings.blacklist | list | Items that cannot be listed (bypass: simplesmpcore.auction-house.bypass.blacklist). |
settings.menu-theme | full | Layout: full, large or classic. |
Staff use /ahadmin to view, remove or return listings, restore deleted items and give extra slots. AxAuctions data can be imported once with /ahadmin import.
Buy orders (orders)
#/order opens the order board. A player posts what they want (item, amount, price per item) and pays the total up front. Other players deliver items from their inventory (or with quick fill and sell all) and are paid at once. The buyer collects the items from the order.
| Setting | Default | Description |
|---|---|---|
settings.orders.expiry | 168h | An order expires after 7 days and the unfilled part is refunded. |
settings.limits.default | 3 | Active orders per player. VIP groups have higher limits (15 to 30); simplesmpcore.orders.limit.unlimited removes it. |
settings.tax.enabled | false | Optional creation, delivery or sell tax, with rank rates and an exempt permission. |
settings.features.* | on | Potions, enchantments, enchanted books, sell all, quick fill, search, filter and sort. |
settings.menu-theme | full | Layout: full, large or classic. |
Staff: /orderadmin menu, removeorder (refunds the unfilled part) and purge. SimpleOrder data can be imported with /orderadmin import.
Banknotes (banknotes)
#/withdraw <amount> turns money into a signed, single-use banknote; /xpwithdraw <levels> does the same with XP. Right click redeems it. Notes are signed with a secret key created on the first start, so copies made by duping or other plugins are rejected and can be confiscated (confiscate-copies: true). Minimum note: 5.
Coinflip (coinflip)
#/coinflip <amount> creates an offer that another player accepts; a short animation picks red or black and the winner takes the pot. Limits 5 to 5000000, up to 3 open offers per player, offers expire after 24 hours and are refunded if the creator quits (refund-on-quit). Optional tax: tax-percent.
Trades (trade)
#/trade <player> (or sneak + right click a player) opens a two-sided window for items and money. Both players must press ready, then a 3s countdown runs. Moving more than 3 blocks, a command, an interaction or damage cancels it. Trades are logged for 90 days. On Folia both players must be in the same region (stand close together).
Bounties (bounty)
#/bounty add <player> <amount> puts money on a player's head; the killer collects it. /bounty gui lists bounties and /bounty top the highest. Anti-abuse defaults: no bounties on yourself, a 5% tax, the killer needs 60 minutes of playtime, a 30 minute cooldown per killer and victim pair, same-IP checks, and duel or arena worlds are excluded.
BillFord trader (billford)
#The BillFord NPC at spawn offers three trades at a time from a tiered pool (junk, common, good, rare, jackpot). The offers rotate every hour (preset-change-interval: 1h) and have server and per-player stock, daily limits and playtime locks. Shift click trades in bulk. Staff manage presets with /billfordpreset create, edit, switch, list and validate; the validator blocks rewards that would create a money loop.
Amethyst tools (amethyst-tools)
#Timed special tools given from crates or by staff: Amethyst Drill (3x3), Multi Tool, Shovel, Bucket, Tree Chopper, Sell Axe and an unlimited Firework. The tool ids are drill, multi_tool, amethyst_shovel, bucket, treechopper, sell_axe and firework. Give one with /amethysttools give <player> <tool> <duration> (or /amethysttools giveall <tool> <duration> for everyone online); the duration is any time such as 30m, 12h, 1d, 7d, or permanent. The package's tools.yml has default-duration: 5d. Players keep extra tools in the Amethyst Box (/amethystbox).
Teams and money
#Teams (/team) have a team bank, a team chest and team levels. Placeholders such as %smpcore_teams_bank_formatted% show them on the scoreboard.
Found a mistake or something missing? Open a ticket on Discord.
Report an issue