Skip to content
EN

Commands and permissions

Commands · commands · Tradery

Amounts are typed as plain numbers: /pay Steve 12.50.

For everyone

  • /bal or /balance: your balance.
  • /pay <player> <amount>: sends money to a player, online or offline. The smallest payment is 1, and you can't pay yourself.
  • /baltop [page]: the richest players, 10 per page.
  • /tradery history [page]: your last transactions, 10 per page. The server keeps 20 per player.
  • /tradery withdraw <amount>: turns balance into coin items, largest coins first. It refuses when the amount can't be made of coins or the coins don't fit in your inventory.
  • /tradery shops: opens the shop ledger window without the item.
  • /tradery hud: hides the balance on your screen and brings it back.

For admins

  • /bal <player>: someone else's balance.
  • /eco give <player> <amount>, /eco take, /eco set: add to a balance, take from it, or set it.
  • /eco lock <player> and /eco unlock <player>: freeze an account and release it.
  • /eco stats: the money supply (accounts plus an estimate of the coins lying around in the world), what was created and destroyed today and over the last 7 days, the number of transactions and of accounts.
  • /tradery vendors [player]: lists vending blocks, 50 lines at most, with coordinates you can click to teleport.
  • /tradery reload: rereads server.json5 and rewards.json5.

Permissions

Without a permission mod the first group is open to everyone, the admin group needs op level 2, and /tradery reload needs level 3.

With LuckPerms, or any mod that implements the Fabric permission API or the PermissionAPI of NeoForge and Forge, each command has a node:

  • tradery.balance: /bal and /balance
  • tradery.balance.others: /bal <player>
  • tradery.pay, tradery.baltop, tradery.history, tradery.withdraw, tradery.shops: the commands of the same name
  • tradery.admin.eco: /eco give, take, set, lock and unlock
  • tradery.admin.stats: /eco stats
  • tradery.admin.vendors: /tradery vendors and the Vendor Key. Players with this node are also exempt from vending.maxPerPlayer
  • tradery.admin.reload: /tradery reload

/tradery hud has no node. It changes nothing but your own screen.