
PvPIndex Factions
Modern Factions refactor, old-school factions but with modern QOL features
Список изменений
Added
- TeamsAPI 1.6 relation provider: the plugin now implements the
TeamsRelationServiceinterface introduced in TeamsAPI 1.6. External plugins and scripts can read and write inter-faction relations (ALLY,TRUCE,NEUTRAL,ENEMY) through the standard TeamsAPI surface.TeamRelationChangeEventis fired on every relation change, allowing third-party plugins to observe or cancel relation updates before they are persisted.
Changed
- TeamsAPI dependency updated to 1.6.1 (was 1.5.0).
Fixed
-
Plugin crashed on startup when TeamsAPI 1.5.x was installed (
NoClassDefFoundError: TeamsRelationService): theTeamsRelationServiceinterface was introduced in TeamsAPI 1.6 and did not exist in older installations. A direct bytecode reference to it in the registrar caused the JVM bytecode verifier to fail when loading the class, crashing the plugin on startup. All references toTeamsRelationServiceand its concrete adapter are now loaded via reflection so that TeamsAPI 1.5.x servers start cleanly and the relation provider is silently skipped when TeamsAPI < 1.6 is detected. -
Stale relation entries after faction disband: when a faction was disbanded, references to it stored in other factions' relation maps were not removed, leaving orphaned entries in the database. Disbanding a faction now clears all incoming relation references across every other faction.
