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

Data, updating and removing

Where OtOrders stores its data and how to update or remove the plugin.

On this page

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#

  1. Stop the server.
  2. Replace the old jar in plugins with the new OtOrders-<version>.jar.
  3. 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#

  1. Stop the server.
  2. Delete the jar from plugins.
  3. Delete plugins/OtOrders when 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.

Last updated

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