Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

OtOrders

Install and use OtOrders for Minecraft: placing and delivering orders, the collection box, commands, permissions, configuration and networks

OtOrders | Minecraft

Requirements

  • A Paper server on Minecraft 1.21.11, 26.1, 26.2 or 26.3.
  • Java 21 or newer.
  • Vault and an economy plugin that supports it, such as EssentialsX or CMI.

OtOrders uses Paper features such as native dialogs, so plain Spigot and Bukkit servers are not supported.

Installation

Step 1: Add the plugin

Extract the zip and put OtOrders-1.0.jar in the plugins folder of your server. Vault and your economy plugin must be in that folder too.

Step 2: Restart the server

Restart the server. Do not use /reload. OtOrders creates plugins/OtOrders/config.yml, messages.yml and an SQLite database. The console shows:

[OtOrders] OtOrders 1.0 enabled with SQLite storage.

Step 3: Open the order board

Join the server and type /orders. That is all you need for a single server. To share orders between servers, read Networks.

Using OtOrders

Placing an order

Click the book in /orders or type /orders create. Pick the item you want: the items in your own inventory come first, and the sign searches all items. A dialog asks how many you want and what you pay per item, then a second dialog shows the total before you confirm. You can also do it in one command:

/orders create diamond 640 5
/orders create oak_log 2.5k 0.4

Amounts and prices accept k, m, b and t, so 2.5k is 2,500. The full amount is taken from your balance when you place the order and is held until the items arrive.

Delivering

Hover over an order to see what it pays, how much is delivered and who placed it. Click it to open the deliver menu. Deliver one stack, everything you have, or choose an amount. You are paid for every item straight away. If the order needs fewer items than you offer, it takes what it needs and you keep the rest.

Only plain items count: an item with a custom name, enchantments or damage is never taken, so nobody can fill an order with a renamed or broken item.

Your orders and the collection box

/orders mine shows your active orders with a progress bar and the money still held. Right click an order to cancel it: the money that was not used comes back right away. /orders collect opens your collection box with every delivered item. Click an item to collect it or the hopper to collect everything that fits.

When an order expires, the unused money is refunded and the delivered items stay in the collection box. Players who are offline see a summary of deliveries, refunds and finished orders when they join.

Searching, categories and sorting

Click the sign or type /orders search to search by item or player. /orders search iron searches right away. The category button switches between all items, blocks, tools, combat, food, potions, books, redstone and miscellaneous (right click goes back). The hopper switches between newest, best paying, most wanted and ending soon.

Commands

CommandWhat it doesPermission
/ordersOpen the order boardotorders.use
/orders create [item] [amount] [price]Place an order. Without arguments the item picker opens.otorders.create
/orders search [text]Search all ordersotorders.use
/orders mineYour active ordersotorders.use
/orders collectYour collection boxotorders.use
/orders admin reloadReload config.yml and messages.ymlotorders.admin
/orders admin remove <id>Remove an order and refund its ownerotorders.admin
/orders admin clear <player>Remove all orders of a player, also from the consoleotorders.admin

Aliases: /order and /otorders. Staff with otorders.admin also see the id of every order and can remove one with shift and right click on the board.

Permissions

PermissionAllowsDefault
otorders.useBrowse orders and collect itemsEveryone
otorders.createPlace ordersEveryone
otorders.deliverDeliver items to ordersEveryone
otorders.notaxDeliver without paying the delivery taxNobody
otorders.adminStaff commands and removing ordersOperators
otorders.limit.<name>Use a limit from orders.limits, for example otorders.limit.vipNobody
otorders.limit.<number>Allow that many active orders, for example otorders.limit.25Nobody

A player gets the highest limit of all permissions they have, and never less than orders.default-limit.

Configuration

Change plugins/OtOrders/config.yml and run /orders admin reload. Changes to storage need a restart.

Orders

orders:
  duration-hours: 72
  min-price-each: 0.01
  max-price-each: 1000000000
  max-amount: 100000
  max-total: 1000000000000
  default-limit: 5
  limits:
    vip: 10
    mvp: 20
  creation-fee: 0
  creation-fee-percent: 0
  delivery-tax-percent: 0
  • duration-hours: how long an order stays open. Decimals work, for example 0.5.
  • min-price-each and max-price-each: the price range per item.
  • max-amount and max-total: the most items and the most money one order can ask for.
  • creation-fee and creation-fee-percent: what a player pays on top to place an order, a fixed amount and a percentage of the total. The fee is not refunded.
  • delivery-tax-percent: taken from what a deliverer earns.

Blacklist

orders:
  blacklist:
    - BEDROCK
    - SPAWNER
    - '*_SPAWN_EGG'

Blacklisted items cannot be ordered and do not show up in the item picker. A * matches any text, so *_SPAWN_EGG blocks every spawn egg. The default list already blocks creative-only and unobtainable blocks.

Item picker

picker-first:
  - DIAMOND
  - IRON_INGOT
  - OAK_LOG
  - WHEAT

The item picker shows the items in the player's inventory first, then the items in picker-first, then everything else. The default list holds ores, logs, crops and mob drops that players order most. Add the items your economy runs on.

Currency, dialogs and sounds

currency:
  use-economy-format: false
  prefix: '$'
  suffix: ''
  decimals: 2

dialogs: true

prompt-timeout-seconds: 30

sounds:
  open: BLOCK_CHEST_OPEN
  click: UI_BUTTON_CLICK
  success: ENTITY_EXPERIENCE_ORB_PICKUP
  error: ENTITY_VILLAGER_NO

Set use-economy-format to true to show prices the way your economy plugin formats them. With dialogs: false the amount, the price and search text are typed in chat, and prompt-timeout-seconds sets how long OtOrders waits for that. Set a sound to none to turn it off.

Discord webhook

webhook:
  enabled: true
  url: 'https://discord.com/api/webhooks/...'
  on-create: true
  on-complete: true

Posts new orders and filled orders in a Discord channel. Mentions never ping anyone.

Networks

Point every server at the same MySQL or MariaDB database and they share one order board. Give each server its own server-name.

server-name: survival

storage:
  type: mysql
  mysql:
    host: localhost
    port: 3306
    database: minecraft
    username: root
    password: ''
    pool-size: 6
  table-prefix: otorders_
  sync-interval-seconds: 2
  • New orders, deliveries and cancels show up on the other servers within sync-interval-seconds.
  • Every delivery is decided by the database, so two players on different servers can never fill the same part of an order twice.
  • Buyers get their delivery messages on whichever server they are playing, and collect their items on any server.
  • Run every server on the same Minecraft version. An order for an item that does not exist on an older version is hidden there and logged once.

Messages

Every text is in plugins/OtOrders/messages.yml and uses MiniMessage, so colours, gradients and hex codes work. Placeholders such as <price>, <item> and <amount> are filled in by OtOrders. Run /orders admin reload after a change.

Frequently asked questions

Where does the money go while an order is open?

OtOrders holds it. Every delivery is paid from that amount, and whatever is left goes back to the buyer when the order is cancelled or expires. Money is never created or lost: the last delivery of an order receives exactly what is left.

Can players duplicate items or money?

Every delivery, cancel and collection is one database transaction, and items only reach a player after the database confirms it. Menu clicks of every kind are blocked. OtOrders is tested with bots that deliver to the same order at the same time, spam click, and cancel an order while it is being filled.

Can players order enchanted or named items?

No. Orders are for plain items, so every delivered item is worth the same. Enchanted gear and named items belong on an auction house such as OtAuctions.

Does it work on Spigot or Folia?

No. OtOrders needs Paper or a fork of it and does not support Folia yet.

Where do I get help?

Open a ticket at builtbyotte.com/help.