observe

public static List<String> observe(UUID viewer, String team, boolean teamRemoved, boolean playersAdded, boolean playersRemoved, Collection<String> players)

Mirrors a team packet on its way to the viewer's client. Returns the entries to add back to team before the packet goes out: entries it removes from another plugin's team that the client may still file under ours.