SeasonForge logoSeasonForge

Arrow plugin hooks

Quest types from TowerTrials, WorldBossEvents, PinataParty, EventPulse and zRivals Duels, the hook commands, and RegenZones.

SeasonForge works with the other Arrow plugins out of the box. Each one adds its own quest types, written as plugin:objective in a quest's type:, and you use them like any other quest. A hook turns on only when its plugin is installed, so nothing breaks on a server without them.

tower_runner:
  type: towertrials:floor_complete
  target: your_tower_id      # optional, only this tower counts
  amount: 10
  battlepass-xp: 900
  reset: WEEKLY

The console names every hook on start, for example Hooked into TowerTrials (events). /battlepass admin season info lists them too, with how each one is working.

PluginNamespaceSetup needed
TowerTrialstowertrials:None
WorldBossEventsworldbossevents:None
AT-PinataPartypinataparty:None
EventPulseeventpulse:Add the hook command to its reward commands
zRivals Duelszrivals:None on current builds. Older builds need the hook command in their win and loss commands
RegenZonesnoneNone, it protects block quests

TowerTrials

ObjectiveCountstarget
towertrials:participateTower runs started. Every member of the party gets one.Tower id
towertrials:floor_completeFloors clearedTower id
towertrials:reach_floorHighest floor reached. amount is the floor to reach.Tower id
towertrials:tower_completeWhole towers cleared, counted when the tower's last floor is clearedTower id

WorldBossEvents

ObjectiveCountstarget
worldbossevents:participateBoss fights joined, counted on the player's first hit in a fightBoss id
worldbossevents:damageDamage dealt to world bossesBoss id
worldbossevents:killBosses defeated. Every player who damaged the boss gets one.Boss id
  • Arrows, tridents, tamed pets and TNT a player lit count as that player's damage.
  • Damage is capped at the health the boss had left, so overkill hits do not inflate it.
  • A boss stopped by an admin instead of killed does not count as a kill.

Current WorldBossEvents builds report every hit and the full damage list on the boss's death to SeasonForge themselves. Older builds still work: SeasonForge then tracks the damage itself, and a server restart in the middle of a fight forgets the hits from before it.

PinataParty

ObjectiveCountstarget
pinataparty:hitPinata hitsnone
pinataparty:participatePinata parties joinednone
pinataparty:damageDamage dealt to pinatasnone

Pinata quests take no target, they count every pinata.

EventPulse

ObjectiveCountstarget
eventpulse:participateEvents taken part inEvent id or event type
eventpulse:winEvents wonEvent id or event type
eventpulse:completeEvents finished with a scoreEvent id or event type

EventPulse tells SeasonForge about results through a command you add to its reward commands in events.yml:

battlepass admin hook eventpulse <player> <win|place|score> <event-id>

Add win to the first place commands, place to the other places, and score to the participation commands:

events:
  cobble_rush:
    type: MINING
    rewards:
      "1":
        commands:
          - "eco give %player% 10000"
          - "battlepass admin hook eventpulse %player% win cobble_rush"
      "2":
        commands:
          - "eco give %player% 5000"
          - "battlepass admin hook eventpulse %player% place cobble_rush"
      "4-10":
        commands:
          - "eco give %player% 500"
          - "battlepass admin hook eventpulse %player% place cobble_rush"
      participation:
        min-score: 50
        commands:
          - "eco give %player% 100"
          - "battlepass admin hook eventpulse %player% score cobble_rush"

A target matches either the event id you put in the command (cobble_rush) or the type of the event running at that moment (mining).

zRivals Duels

ObjectiveCountstarget
zrivals:participateDuels played, including duels that end without a winnerKit id or arena id
zrivals:winDuels wonKit id or arena id
zrivals:ranked_playRanked duels playednone
zrivals:ranked_winRanked duels wonnone
zrivals:reach_mmrThe player's current MMR, so it goes down after a loss. amount is the MMR to reach, and the quest stays completed once reached. Add value-mode: HIGHEST to the quest to keep the best MMR instead.none
zrivals:reach_rankBeing at a rank after a ranked duel. Use amount: 1 and the rank id as the target. A player who jumps straight past that rank does not match it.Rank id

Current zRivals builds report every duel and every MMR change to SeasonForge themselves, so nothing needs adding to their config. Remove any old hook lines, the command is ignored on those builds.

Older zRivals builds report results through a command in their config.yml:

battlepass admin hook zrivals <player> <win|loss> [kit] [mode]
  win-commands:
    - "battlepass admin hook zrivals %player% win %kit% %mode%"
  loss-commands:
    - "battlepass admin hook zrivals %player% loss %kit% %mode%"

zRivals fills %mode% with ranked or unranked. Ranked results also read the player's current MMR and rank from zRivals, which is what moves reach_mmr and reach_rank.

What one hook command counts

EventPulse results: win counts participate, complete and win, place and score count participate and complete. zRivals results: win counts participate and win, loss counts participate, and ranked results add ranked_play, ranked_win on a win, and refresh reach_mmr and reach_rank.

The hook command needs battlepass.admin.progress, which the console always has. The player has to be online. If you mistype the plugin name the console says it is not installed or not hooked.

RegenZones

RegenZones adds no quest types. It keeps block quests fair inside regen regions:

  • A block in its temporary state while it regenerates (bedrock, air or your placeholder block) never counts for BREAK_BLOCK or HARVEST.
  • The regenerated block counts normally, ItemsAdder blocks included. Regenerated blocks are never treated as player placed.

Other plugins

Any plugin can add its own quest types through the Developer API. Without code, any plugin that can run a console command can push progress with /battlepass admin progress, see Quests.

On this page