Files
spigot-tyrant/design/user-stories/us-019-claim-vigilante-in-arena.md
T
dmg f0dbde17b8
Release / release (push) Successful in 2m31s
CI / build (push) Successful in 1m8s
fix(arena): improve containment and boss idle
2026-08-23 18:13:24 -04:00

3.4 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 neutral boundary when no challenge is open and a blue particle boundary while the Vigilante challenge is open.
  • A vacant Vigilante role opens the challenge after death, inactivity, relinquishment, or a new Tyrant reign, but only while a Tyrant is active, no Tyrant challenge is open, 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 builds temporary actual BARRIER blocks from one block below the arena floor through a default 12-block wall height, without permanently changing existing blocks.
  • Role-colored boundary particles remain visible from inside and outside an active fight at multiple wall heights.
  • 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.
  • With no challenger, the boss remains AI-disabled at the arena center; entry enables its AI and target, while reset restores full health, center position, no target, and disabled AI.
  • 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.
  • Block placement and breaking are denied inside the arena during an active fight so players cannot build over or modify the boundary.
  • 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.