Modern Factions refactor, old-school factions but with modern QOL features and TeamsAPI
Fixed
All
/fsubcommands broken when TeamsAPI is absent:FactionCommandExecutorandFactionTabCompleterheld directimportstatements for TeamsAPI classes. On Paper's isolated plugin classloader this causedNoClassDefFoundErrorat class-load time when TeamsAPI was not installed, preventing the executor from being registered and making every/f <subcommand>(including/f info,/f map, etc.) fail with "Invalid command!".Introduced
TeamsCommandBridge(no TeamsAPI imports, loaded unconditionally) andTeamsCommandBridgeImpl(imports TeamsAPI, instantiated only via reflection when TeamsAPI is confirmed present). Mirrors the existingTeamsApiRegistrarisolation pattern. With TeamsAPI absent the bridge isnulland all subcommands route through the localCommandRegistryas intended.
Information
| Published on | May 25, 2026 |
|---|---|
| Downloads | 1 |