I'm making plugins requested by a server for the game Minecraft using the api Spigot
In this API there's a class named Player. For the purposes of these plugins (and because it's easier) I like to make my "own player class".
So there are the Plugin1, the Plugin2 and the Plugin3. I'll name them API, Faction and Scoreboard.
The API plugins contains my own player class which has methods that refers to some other classes of Faction and Scoreboard. SO API has Scoreboard and Faction in it's projects dependencies.
BUT as I also need to to use my custom player class in Scoreboard and Faction they both have a project dependency to API.
Basically Scoreboard -> API <- Faction BUT Faction <- API and Scoreboard <- API
So I have here a cycling problem. And I have no idea on how to solve it as I want to have some clear and separated projects.
I don't find it as a big issue as everything looks stable but I did some researches and found that it's a problem though.
I hope to have been clear enough. Thanks any kind of help.