Files#
| File | Content |
|---|---|
plugins/OtOrders/config.yml |
Settings |
plugins/OtOrders/messages.yml |
All texts |
plugins/OtOrders/otorders.db |
The SQLite database, used when storage.type is sqlite |
SQLite also creates otorders.db-wal and otorders.db-shm next to the database while the server runs.
Database tables#
The names start with storage.table-prefix, otorders_ by default.
| Table | Content |
|---|---|
otorders_orders |
One row per order: owner, item, amount, delivered amount, price, money held, creation time, expiry time, status and the server it was placed on. The status is ACTIVE, COMPLETED, CANCELLED or EXPIRED. Finished orders stay in the table. |
otorders_stash |
The collection box: delivered items waiting for their owner. A row is removed when its items are collected. |
otorders_notices |
Messages for players who are offline. A row is removed when the player has seen it. |
Players are saved by UUID and name. Item names are saved as Minecraft material names.
OtOrders does not send data to any outside service. The only outgoing request is the Discord webhook, when you turn it on.
Updating#
- Stop the server.
- Replace the old jar in
pluginswith the newOtOrders-<version>.jar. - Start the server.
Your config.yml and messages.yml are kept. A setting that is missing from your config.yml uses its default value, and a text that is missing from messages.yml uses the built-in text. New settings are not written into your existing files, so compare your files with the config.yml and messages.yml inside the new jar when you want a new setting.
On a shared database, update every server before players use the new version, and keep all servers on the same version.
Removing#
- Stop the server.
- Delete the jar from
plugins. - Delete
plugins/OtOrderswhen you no longer need the orders.
Warning
Money that is held by active orders is not paid back when you remove the plugin. Before you remove it, cancel or expire every active order, or use /orders admin clear <player> for every player with orders.