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

Data, updating and removing

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

On this page

Files#

File Content
plugins/OtPass/config.yml Settings
plugins/OtPass/quests.yml The quest pools
plugins/OtPass/rewards.yml The tiers and rewards
plugins/OtPass/messages.yml All texts
plugins/OtPass/otpass.db The SQLite database, used when storage.type is sqlite

SQLite also creates otpass.db-wal and otpass.db-shm next to the database while the server runs.

Database tables#

The names start with storage.table-prefix, otpass_ by default.

Table Content
otpass_players One row per player and season: UUID, season, name, XP and the premium flag
otpass_progress The progress of every quest per player and season, and whether it is done
otpass_claims The rewards a player claimed: season, tier and track
otpass_seasons The saved first day of each season, used when season.start is empty or not a date

Old seasons stay in the tables. Progress of finished daily and weekly quests is removed automatically.

The chunk data of the world holds the list of blocks that players placed, used by anti-exploit.ignore-placed-blocks.

OtPass does not send data to any outside service.

Updating#

  1. Stop the server.
  2. Replace the old jar in plugins with the new OtPass-<version>.jar.
  3. Start the server.

Your files and the database are kept. A setting that is missing from 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 ones inside the new jar when you want a new setting.

From 1.0 to 1.0.1#

Your season.start keeps working as before. To let OtPass pick and save the start day, set season.start: ''.

Removing#

  1. Stop the server.
  2. Delete the jar from plugins.
  3. Delete plugins/OtPass when you no longer need the data.

Last updated

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