Team of 2 Plugin with Compasses Help

Discussion in 'Spigot Plugin Development' started by ThatBraxGuy, May 13, 2017.

  1. So I'm currently sifting through the documentation for Spigot and trying to create a plugin that is both a team creator and on a command will give the player a compass that will point toward their teammate. I have the function

    void setCompassTarget(Location loc)

    but I'm having difficulty figuring out how teams would work in this situation. Can anyone point me in the right path or have a link to some documentation that I can look at?
     
  2. You could point it out to the closest teammate.
     
  3. @MaTaMoR_ Do you know of a preexisting teams plugin that would let me do that? Or should I just plan on creating my own teams plugin?
     
  4. I have one on my profile, it's name is "Party", but it works as a Team, but idk if that's what you want.
     
  5. I'll take a look. Thanks!