Support for Friends and Clans pluginsSolved
does this show friends or allies TC ??
Not right now. It shows your owned TCs in one color (default green) and every other TCs in another color (default red).

With friends, do you mean teammates? Using Friends plugin? Auth on TC?
Friends plugin if possible
I also have clansreborn plugin but that is from a different site so i dont expect it to show them
Good plugin though thanks
I will check if I can add Friends support. Thanks for the suggestion. 
If you want to add clans support, the clans reborn plugin is by the same author and is a drop in replacement for the clans plugin on umod. Same name and api methods so you can just look at the docs here. Should be easy, just a few lines of code like the friends api plus some config to make it optional. It's also common to add team sharing using the relationship manager.
Will check it out. Thanks for the suggestion.

Merged post

Im a bit unsure what you guys want from an integration with Friends/Team/Clan systems. Is it to see eachother's TCs/bases in the green color (defauolt for owner)? Or another color?
Do you want the ability to control the visibility for friends as stand alone system or together with Show To All function?

I need a bit more information before I can implement it.

The way I imagine it, each of the following would have a different color in the config so that the server owner can determine it (but individual players cannot).
  • Owned
  • Authorized but not owned
  • Team
  • Friends (probably use mutual friends check, not one-way friends)
  • Clan members
  • Ally clan members
  • Other players
Nice to have:
  • Each player can use commands to toggle which of these map marker categories they can see (e.g., tcmap friends, tcmap clan). This would be persisted in a data file.
  • Whether a given player can see and toggle a given type of map markers (friends, clans) is determined by a separate permission, so like VIPs have the option to see clan TCs but regular players do not have that option.
Something to also think about is that players may not trust friends, clanmates or ally clans completely, so they may not want to share their own markers with them, so it might be useful to allow players to restrict access to who can see their markers. There are sharing plugins that allow players to do this sort of thing for sharing TCs, locks and other entities.

Another thing to consider with colored map markers is that some people are color blind, so it would be good to have some alterate way to portray the different types, such as triangle, circle, square. Not sure if that is possible since I haven't worked with map markers before.
Good suggestions, I will see if I can add support later.
As for the shape of the markers, unfortunately only circles are available. 
Locked automatically