Files
spigot-tyrant/design/user-stories/us-019-claim-vigilante-in-arena.md
T
dmg 10f670a7da
Release / release (push) Successful in 2m44s
CI / build (push) Successful in 1m3s
feat(vigilante): add arena boss succession
2026-08-23 17:31:42 -04:00

2.8 KiB

type, title, description, status
type title description status
User Story US-019: Claim the Vigilante role in the arena Let one eligible player at a time defeat a protected arena boss to claim a vacant Vigilante role. done

US-019: Claim the Vigilante role in the arena

As an opted-in participant, I want a visible one-player boss challenge for a vacant Vigilante role so that succession is earned through an open contest.

Acceptance criteria

  • An administrator can set and inspect a durable arena center, and configuration validates the arena radius and boss strength.
  • The configured arena has a continuously visible particle boundary, including when no fight is active.
  • A vacant Vigilante role opens the challenge after death, inactivity, relinquishment, or a new Tyrant reign, but a boss exists only while a Tyrant is active and the game is running.
  • The challenge boss defaults to an armored, 80-health enhanced zombie, does not burn in sunlight, and remains within a default 10-block-radius arena.
  • All online opted-in players are told when the role opens and receive the arena world and coordinates; opted-in players receive the same notice when they log in while it remains open, and opted-out players do not.
  • Exactly one eligible opted-in non-Tyrant player may enter as challenger, including when entry is attempted by walking or teleportation.
  • Starting a fight replaces the passive particle boundary with temporary actual BARRIER blocks that are removed safely without permanently changing existing blocks.
  • Any non-challenger who enters or respawns inside the arena is moved safely outside it.
  • Existing mobs in the arena and mobs that spawn or enter it are removed while preserving the arena boss.
  • The boss attacks only the active challenger, and only that challenger can damage the boss.
  • Challenger death, disconnect, or leaving by any mechanism ends the fight and resets the boss to full health at its spawn; death counts as leaving and the same player may retry immediately.
  • Killing the boss assigns the challenger as Vigilante, removes the boss and barriers, and restores the passive particle boundary.
  • Pausing, resetting, restarting, reloading, and repeated or concurrent events cannot duplicate the boss, barriers, challenger, or Vigilante assignment.
  • If the arena is not configured when a challenge should open, the Vigilante remains vacant and administrators receive a clear warning.