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: WEEKLYThe 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.
| Plugin | Namespace | Setup needed |
|---|---|---|
| TowerTrials | towertrials: | None |
| WorldBossEvents | worldbossevents: | None |
| AT-PinataParty | pinataparty: | None |
| EventPulse | eventpulse: | Add the hook command to its reward commands |
| zRivals Duels | zrivals: | None on current builds. Older builds need the hook command in their win and loss commands |
| RegenZones | none | None, it protects block quests |
TowerTrials
| Objective | Counts | target |
|---|---|---|
towertrials:participate | Tower runs started. Every member of the party gets one. | Tower id |
towertrials:floor_complete | Floors cleared | Tower id |
towertrials:reach_floor | Highest floor reached. amount is the floor to reach. | Tower id |
towertrials:tower_complete | Whole towers cleared, counted when the tower's last floor is cleared | Tower id |
WorldBossEvents
| Objective | Counts | target |
|---|---|---|
worldbossevents:participate | Boss fights joined, counted on the player's first hit in a fight | Boss id |
worldbossevents:damage | Damage dealt to world bosses | Boss id |
worldbossevents:kill | Bosses 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
| Objective | Counts | target |
|---|---|---|
pinataparty:hit | Pinata hits | none |
pinataparty:participate | Pinata parties joined | none |
pinataparty:damage | Damage dealt to pinatas | none |
Pinata quests take no target, they count every pinata.
pinataparty:damage needs the newest PinataParty build, which reports hits and damage to SeasonForge by itself. On an older build only hit and participate work, and participate then counts the first hit on each pinata.
EventPulse
| Objective | Counts | target |
|---|---|---|
eventpulse:participate | Events taken part in | Event id or event type |
eventpulse:win | Events won | Event id or event type |
eventpulse:complete | Events finished with a score | Event 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
| Objective | Counts | target |
|---|---|---|
zrivals:participate | Duels played, including duels that end without a winner | Kit id or arena id |
zrivals:win | Duels won | Kit id or arena id |
zrivals:ranked_play | Ranked duels played | none |
zrivals:ranked_win | Ranked duels won | none |
zrivals:reach_mmr | The 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_rank | Being 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.
With the hook command on an older build, the target for participate and win matches the kit only, because the arena is not passed to the command.
What one hook command counts
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.
When an EventPulse or zRivals build reports results to SeasonForge by itself, the hook command stops counting so nothing is counted twice. It then replies once that it can be removed from the config. You do not need a SeasonForge update for that switch.
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_BLOCKorHARVEST. - The regenerated block counts normally, ItemsAdder blocks included. Regenerated blocks are never treated as player placed.
Right click harvesting through a RegenZones rule's harvest option on vanilla crops is not counted yet, because RegenZones does not report those harvests. Normal breaking is.
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.