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

Settings

Every setting in config.yml and messages.yml with its default.

On this page

All settings are in plugins/OtOrders/config.yml. Run /orders admin reload after a change. Changes to storage need a restart. server-name takes effect on reload.

Note

Numbers outside their range are corrected when the file is read, as shown in the notes below.

Server and storage#

Setting Default What it does
server-name survival Name of this server. Saved with every order and shown in the Discord webhook footer.
storage.type sqlite sqlite for a file in the plugin folder, mysql or mariadb for a shared database.
storage.mysql.host localhost Database host.
storage.mysql.port 3306 Database port.
storage.mysql.database minecraft Database name.
storage.mysql.username root Database user.
storage.mysql.password empty Database password.
storage.mysql.pool-size 6 Connections in the pool. At least 2.
storage.mysql.parameters ?useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=utf8 Text added to the end of the database address.
storage.table-prefix otorders_ Prefix of the table names. Only letters, digits and underscores. Anything else falls back to otorders_.
storage.sync-interval-seconds 2 How often a MySQL server looks for changes from other servers. At least 1. Not used with SQLite.

Orders#

Setting Default What it does
orders.duration-hours 72 How long an order stays open. Decimals work, for example 0.5. The minimum is one minute.
orders.min-price-each 0.01 Lowest price per item. Never below the smallest step of currency.decimals.
orders.max-price-each 1000000000 Highest price per item.
orders.max-amount 100000 Most items in one order.
orders.max-total 1000000000000 Most money one order can be worth.
orders.default-limit 5 Active orders every player may have.
orders.limits vip: 10, mvp: 20 Named limits. A player with the permission otorders.limit.<name> gets that number.
orders.creation-fee 0 Fixed amount a player pays on top to place an order.
orders.creation-fee-percent 0 Percentage of the order total a player pays on top. 0 to 100.
orders.delivery-tax-percent 0 Percentage taken from what a deliverer earns. 0 to 100. Players with otorders.notax do not pay it.

The creation fee is the fixed amount plus the percentage of the total. It is taken when the order is placed and is not refunded. The delivery tax is not paid to anyone: the deliverer receives the payout minus the tax.

Blacklist#

orders.blacklist lists items that cannot be ordered. They do not show in the item picker. A * matches any text, so '*_SPAWN_EGG' blocks every spawn egg. A pattern that matches nothing is logged as a warning.

The default list blocks BEDROCK, BARRIER, COMMAND_BLOCK, CHAIN_COMMAND_BLOCK, REPEATING_COMMAND_BLOCK, COMMAND_BLOCK_MINECART, STRUCTURE_BLOCK, STRUCTURE_VOID, JIGSAW, LIGHT, DEBUG_STICK, KNOWLEDGE_BOOK, SPAWNER, TRIAL_SPAWNER, VAULT, END_PORTAL_FRAME, REINFORCED_DEEPSLATE, BUDDING_AMETHYST, PETRIFIED_OAK_SLAB, FARMLAND, DIRT_PATH, FROGSPAWN, PLAYER_HEAD, TEST_BLOCK, TEST_INSTANCE_BLOCK and *_SPAWN_EGG.

Air, legacy items and anything that is not an item can never be ordered.

Item picker#

picker-first is a list of items shown right after the items in the player's inventory. The default list has 47 ores, ingots, logs, crops and mob drops, starting with DIAMOND, IRON_INGOT and GOLD_INGOT. Unknown names are skipped and blacklisted items are never shown.

Currency#

Setting Default What it does
currency.use-economy-format false Show prices the way your economy plugin formats them.
currency.prefix $ Text before a price.
currency.suffix empty Text after a price.
currency.decimals 2 Decimals in prices. From 0 to 4.

Dialogs and sounds#

Setting Default What it does
dialogs true Use native dialogs for amounts, prices and search text. With false players type them in chat.
prompt-timeout-seconds 30 How long OtOrders waits for a chat answer. At least 5.
sounds.open BLOCK_CHEST_OPEN Played when the board opens.
sounds.click UI_BUTTON_CLICK Played on menu clicks.
sounds.success ENTITY_EXPERIENCE_ORB_PICKUP Played after an order, a delivery, a cancel, a collect and a notice.
sounds.error ENTITY_VILLAGER_NO Played when something fails.

Set a sound to none to turn it off. An unknown sound name is logged as a warning and the sound stays off.

Discord webhook#

Setting Default What it does
webhook.enabled false Turn the webhook on.
webhook.url empty The webhook address. It must start with https://.
webhook.on-create true Post when a player places an order.
webhook.on-complete true Post when an order is filled.

The message shows the player, the item, the amount, the price and the total. The footer shows OtOrders and the server-name. Mentions never ping anyone. With several servers on one database, each server posts the orders created on it and the orders completed by its own players.

messages.yml#

Every text is in plugins/OtOrders/messages.yml. Texts use MiniMessage, so colors, gradients and hex colors work. Placeholders such as <price>, <item> and <amount> are filled in by OtOrders. A key that is missing from your file falls back to the built-in text. An empty text is not sent.

The file also holds the menu titles, button names, lore, the names of the categories and sorts, and the time format. Run /orders admin reload after a change.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.