Commit graph

3 commits

Author SHA1 Message Date
1adb8c84fd fix: colors, /dbd join flow, world creation, role assign, action bar lobby, /dbdadmin world, tab complete 2026-06-03 19:34:10 +02:00
d0ed8a5fe7 Connect game phases, implement gameplay, add lobby commands, remove perks
- Fix GameSession.determineNextPhase() to cycle through all 4 phases
- Implement GameplayPhase with generator tracking and win/lose conditions
- MapBuilder now uses the game world instead of the first world
- Add /dbd lobby (teleport to lobby) and /dbd setlobby (set lobby spawn)
- Remove all perk classes (IPerk, PerkRegistry, 7 perk implementations)
- Fix HexTotem to not reference removed HexRuinPerk
2026-06-01 22:21:40 +02:00
82ed455cd2 Complete Stage 1: Core Game Loop
- Add GameState enum (LOBBY, ROLE_ASSIGN, IN_GAME, ENDING)
- Add Phase interface with enter/tick/exit/isComplete
- Add GameSession with tick-based phase machine
- Add GameEventBus for internal events
- Add GameManager for session lifecycle
- Add all phases: LobbyPhase, RoleAssignPhase, GameplayPhase, EndgamePhase
- Add role assignment: RoleAssigner, RoleQueue, SpawnPosition
- Add BasePlayer, Survivor, Killer, PlayerState
- Add DBDCommand with /dbd join/leave/create/forcestart/stop
- Update mdbd.java with GameManager and command registration
- Add command definition to paper-plugin.yml
- Mark Stage 1 complete in PLAN.md
2026-05-31 20:43:40 +02:00