SeasonForge logoSeasonForge

Quests

The quest file, what counts with target, reset types, premium only quests and ItemsAdder ids.

Quests are how players earn Battle Pass XP. Each season has its own quests.yml with as many quests as you like. A quest counts one thing (blocks broken, duels won, minutes played), and when the count reaches its amount the player gets its XP and rewards straight away.

A quest

season-version: 1

quests:
  diamond_miner:
    type: BREAK_BLOCK
    target: [DIAMOND_ORE, DEEPSLATE_DIAMOND_ORE]
    amount: 20
    battlepass-xp: 750
    reset: WEEKLY
    display-name: "<#f2b544>Diamond Miner"
    description:
      - "<white>Break 20 Diamond Ore"
    icon:
      material: DIAMOND_ORE
      itemsadder: ""
    premium-only: false
    rewards:
      money: 2500
    complete-sound: quest-complete

The key under quests: (diamond_miner) is the quest id, used in commands and placeholders.

KeyWhat it doesDefault
typeWhat the quest counts. A built-in type from Quest types, or a namespaced one like towertrials:floor_complete from Arrow plugin hooks or another pluginrequired
targetWhat counts, see below. Leave it out to count anything.anything
amountHow many are needed. Decimals work, for money and damage.1
battlepass-xpBattle Pass XP given on completion0
resetWhen the quest starts over: DAILY, WEEKLY, MONTHLY, SEASONAL or NONEDAILY
display-nameName in menus and messagesthe id
descriptionLines under the name in the quests menunone
iconItem shown in the quests menu. itemsadder replaces material when set.PAPER
premium-onlyOnly premium owners make progress. Others see the locked look in the menu.false
rewardsExtra rewards on completion, same format as level rewardsnone
complete-soundSound key from sounds.yml played on completionquest-complete

A quest with no type is skipped. A quest with an unknown reset uses DAILY, with a console warning.

Targets

target filters what counts. It takes one value, a list, or nothing:

target: DIAMOND_ORE                         # one value
target: [OAK_LOG, SPRUCE_LOG, BIRCH_LOG]    # any of these
                                            # left out: anything counts
  • Case does not matter, and a minecraft: prefix is ignored, so diamond_ore, DIAMOND_ORE and minecraft:diamond_ore are the same.
  • * also means "anything".
  • What a target means depends on the type: a block or item name, a mob type, a command, a tower id, a boss id. Each type's page row says which.

ItemsAdder ids

Custom blocks, crops, items and mobs from ItemsAdder are targeted as itemsadder:<namespace>:<id>:

target: [itemsadder:myores:ruby_ore, DIAMOND_ORE]

Vanilla names and ItemsAdder ids can be mixed in one list. The types that take ItemsAdder ids are BREAK_BLOCK, PLACE_BLOCK, HARVEST, KILL_MOB, CRAFT, OBTAIN_ITEM and FISH. A custom block broken once counts once.

Reset types

A timeline of Season 1 from 1 October to 31 December. DAILY quests reset every day, WEEKLY every Monday, MONTHLY on the first of each month, SEASONAL once when the season ends, and NONE never resets.
resetWhen it starts overSet in config.yml
DAILYEvery day at the daily timeresets.daily.time
WEEKLYOn the weekly day at the weekly timeresets.weekly.day, resets.weekly.time
MONTHLYOn the monthly day at the monthly time. Day 31 in a 30 day month uses the last day.resets.monthly.day, resets.monthly.time
SEASONALLasts the whole season, starts over in the next one
NONENever. Progress carries across seasons.
  • Every time is in the timezone from config.yml.
  • A reset that happens while the server is off is applied as soon as the server is back. Offline players simply see the new period when they join.
  • With resets.announce: true, online players get the quests.reset-daily, reset-weekly or reset-monthly message, but only if the running season has quests with that reset.
  • In the quests menu, the Seasonal filter shows SEASONAL and NONE quests together.

While a quest moves

  • A completed quest stops counting until it resets.
  • With quests.progress-actionbar: true the player sees an action bar with the quest name, a progress bar and the numbers, at most once every quests.progress-actionbar-cooldown milliseconds (1500 by default).
  • The quest-progress sound plays on every bit of progress. It is turned off by default in sounds.yml.
  • On completion: the Battle Pass XP, the quest's rewards, its complete-sound, and the quests.completed message (chat and a subtitle by default).

Reach style objectives

A few hook objectives do not add up. towertrials:reach_floor keeps the highest value reached, and zrivals:reach_mmr follows the current value, so the quest goes back down when the player loses MMR. For both, amount is the value to reach, and once it is reached the quest stays completed:

tower_climber:
  type: towertrials:reach_floor
  amount: 25          # completes when the player reaches floor 25
  battlepass-xp: 3000
  reset: SEASONAL

Any quest can pick how its progress is kept with value-mode:

value-modeProgress
ADDEvery report adds to the total (most quest types)
HIGHESTKeeps the highest value ever reported
CURRENTShows the latest value reported, so it can go down

Leave it out to use the objective's own mode. For example value-mode: HIGHEST on an MMR quest keeps the best MMR the player reached instead of their current one.

Quest types nobody provides

A namespaced type that no installed plugin provides (for example myplugin:boss_kill while that plugin is not installed) still loads. The console says it only moves through /battlepass admin progress, which lets any plugin, script or console push progress into it:

/battlepass admin progress <player> <objective> <amount> [filter]

The [filter] is matched against the quest's target. An unknown type without a namespace (a typo like BREAK_BLOK) gets a console warning.

The bundled Season 1 quests

The example season mixes daily, weekly, monthly and seasonal quests, uses every built-in type, and has at least one quest for each Arrow plugin that adds quest types. Quests for a plugin you do not have simply never move, so delete them or swap in your own.

On this page