Hey peeps, I have an issue regarding TagAPI. I am making a plugin that needs people to have different name colors. I have done this many times before, but for some reason it is not working now. All the players appear as yourself. So let's say; Player A looks like me, and Player A sees me as himself as well. I'm using this to refresh the player: Code: TagAPI.refreshPlayer(p); If anyone would like to help me, then it would be appreciated. Thank you! Miguel
Perhaps it's better to ask in TagAPI's thread? http://forums.bukkit.org/threads/tagapi-change-color-the-name-over-peoples-heads.99485/
Let me be more specific: This code -> Code: for(Player p: Bukkit.getOnlinePlayers()) { TagAPI.refreshPlayer(p); } is cloning everyone... Do you have any solutions other then making my own method for colored names?
Please upload your listener class where you listen for the tag event. I think you're confusing .getPlayer() - Player who SEES that player, and .getNamedPlayer() - Gets the player that's GETTING the tag.
Nvm, got it working. I made my own method to set the player's name color and it was messing things up. solved!