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

Settings

Every setting in config.yml with its default.

On this page

All settings are in plugins/OtPass/config.yml. Run /pass admin reload after a change. Changes to storage need a restart. Numbers outside their range are corrected when the file is read.

Season#

Setting Default What it does
season.number 1 The number of the season. At least 1. Progress is stored per season number.
season.name Season 1 The name shown in menus, titles and messages.
season.start Empty The first day of the season, written as 2026-12-01. Empty starts the season on the day OtPass first runs it.
season.length-days 60 How many days the season runs. At least 1.
season.timezone UTC The time zone for the season dates and the quest reset, for example Europe/Amsterdam.
xp-per-tier 1000 XP for one tier. At least 1.

The season starts at midnight of start in the time zone and ends at midnight after the last day. Quests only count between the start and the end. Rewards can be claimed at any time.

With an empty season.start, the first day is saved in the database per season number, in the table otpass_seasons. Restarts keep that day, and servers that share a MySQL database use the same day. To restart the count, set a date or raise season.number.

An unknown season.timezone falls back to UTC and is logged. A season.start that is not a date is logged as season.start must look like 2026-12-01 or be empty, using the saved start of season <number>, and the saved day is used.

The console shows the first and last day of the season at every start.

Starting a new season#

  1. Raise season.number.
  2. Set a new season.name, season.start and season.length-days.
  3. Run /pass admin reload.

Every player starts again at tier 0 with new quests and new claims. The data of the old season stays in the database. Players with the otpass.premium permission keep premium. Premium that players bought or got by hand is stored per season and does not carry over.

Quest rotation#

Setting Default What it does
quests.daily-count 4 How many daily quests are active. At most 7.
quests.weekly-count 4 How many weekly quests are active. At most 7.
quests.reset-hour 0 Hour of the day, 0 to 23, when daily and weekly quests change. Uses season.timezone.
quests.weekly-reset-day MONDAY Day the weekly quests change. An English day name such as FRIDAY.

When the pool has fewer quests than the count, all quests of the pool are active. Put more quests in a pool than the count to get variety. A count above 7 is set to 7 with a warning in the console, because the quests menu has room for 7 daily and 7 weekly quests.

Premium#

Setting Default What it does
premium.buy-enabled true Players can buy premium with money.
premium.price 50000 The price. 0 makes it free.
premium.permission otpass.premium A permission that gives premium. Empty turns it off.

Anti-exploit#

Setting Default What it does
anti-exploit.ignore-placed-blocks true A block that a player placed does not count for a break quest when it is broken.
anti-exploit.ignore-spawner-mobs true Mobs that came from spawners, trial spawners, spawn eggs, dispensed eggs, village defense, built iron golems, built snow golems and built withers do not count for kill quests.
anti-exploit.ignore-creative true Nothing counts in creative or spectator mode.
anti-exploit.afk-minutes 5 playtime quests stop counting after this many minutes without moving the camera, breaking, placing, interacting, fishing, crafting or chatting. 0 turns the AFK check off.
anti-exploit.player-kill-cooldown-minutes 10 A kill of the same player by the same killer counts again after this time. 0 turns the cooldown off.

Kills between players with the same IP address never count for kill_player quests.

The placed blocks are only remembered for blocks that a break quest can match, stored in the chunk. At most 8192 blocks are remembered per chunk, the oldest are dropped first.

Storage#

Setting Default What it does
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 4 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 otpass_ Prefix of the table names. Only letters, digits and underscores. Anything else falls back to otpass_.
storage.sync-interval-seconds 5 How often changed player data is saved. At least 1.

See Sharing the pass between servers.

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.

Notifications and dialogs#

Setting Default What it does
notifications.actionbar true Show quest progress above the hotbar.
notifications.tier-up-title true Show a title when a player reaches a tier.
dialogs true Ask for confirmation in a native dialog when buying premium. With false the player clicks twice, or types /pass premium confirm.

Sounds#

Setting Default Played when
sounds.open BLOCK_CHEST_OPEN /pass or /pass quests is used
sounds.click UI_BUTTON_CLICK A menu button is clicked
sounds.claim ENTITY_PLAYER_LEVELUP Rewards are claimed
sounds.quest ENTITY_EXPERIENCE_ORB_PICKUP A quest is finished
sounds.tier-up UI_TOAST_CHALLENGE_COMPLETE A tier is reached or premium is unlocked
sounds.error ENTITY_VILLAGER_NO Something fails

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

messages.yml#

Every text is in plugins/OtPass/messages.yml. Texts use MiniMessage, so colors, gradients and hex colors work. A text that is missing from your file uses the built-in text. The file also holds the menu names and lore and the time format. Run /pass 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.