Replace TeamManager with PresetTeam GUI system

Replace the old dynamic /team invite system with a fixed GUI-based preset team implementation. Removes TeamManager, Team, TeamListener and the TeamCommand, and introduces PresetTeam, PresetTeamManager and GUI listeners/menus (TeamSelectionMenu/TeamSelectionListener). Codepaths that referenced teamManager were migrated to presetTeamManager (GameManager win/compass logic, Lunar rich presence, Oracle perk, scoreboards, tablist, lobby items). Lobby now shows a team wool item when teams are enabled and the tablist/scoreboard display and prefix logic were adapted to reflect preset teams. Configuration supports teams.enabled, teams.preset-count and teams.max-size; scheduled invite cleanup and old team-reset logic were removed accordingly.
This commit is contained in:
TDSTOS
2026-04-13 01:23:29 +02:00
parent 77560a7486
commit 7589b05433
18 changed files with 759 additions and 694 deletions

View File

@@ -41,7 +41,4 @@ commands:
permission: speedhg.admin.ranking
perks:
description: 'Perk-Auswahl öffnen'
usage: '/perks'
team:
description: 'Team-System for SpeedHG'
usage: '/team <invite|accept|deny|leave|kick|info> [player]'
usage: '/perks'