SaberLLC / Saber-Factions

The Ultimate Factions Plugin
GNU General Public License v3.0
121 stars 99 forks source link

Plugin name is not unique #209

Closed Indyuce closed 2 years ago

Indyuce commented 2 years ago

Bringing back an issue that had already been closed (#63) as I am still encountering issues when implementing support for both FactionsUUID and SaberFactions, due to two things, one being the plugin.yml name uniqueness.

The issue comes when trying to import the Relation class which has two different class paths depending on what plugin you choose

com.massivecraft.factions.perms.Relation (FactionsUUID) com.massivecraft.factions.struct.Relation (SaberFactions)

Using latest builds for both plugins, any other plugin cannot distinguish between the two and it's therefore impossible to either use the Relation class (which is a pretty important class, like when you want to check if two players are allies) OR implement support for one of the two plugins

Possible solutions

Driftay commented 2 years ago

use FactionsBridge by Callum