Class MCTeamManagement

java.lang.Object
com.booksaw.betterTeams.events.MCTeamManagement
All Implemented Interfaces:
org.bukkit.event.Listener

public class MCTeamManagement extends Object implements org.bukkit.event.Listener
  • Constructor Details

    • MCTeamManagement

      public MCTeamManagement(MCTeamManagement.BelowNameType type)
      Used to track a list of all listeners
      Parameters:
      type - The type prefixing that should be done
  • Method Details

    • displayBelowNameForAll

      public void displayBelowNameForAll()
    • displayBelowName

      public void displayBelowName(org.bukkit.entity.Player player)
    • removeAll

      public void removeAll()
    • removeAll

      public void removeAll(boolean callEvent)
      Used when the plugin is disabled
    • remove

      public void remove(org.bukkit.entity.Player player)
    • remove

      public void remove(org.bukkit.entity.Player player, boolean callEvent)
      Used to remove the prefix / suffix from the specified player
      Parameters:
      player - the player to remove the prefix/suffix from
      callEvent - if BelowNameChangeEvent should be called
    • playerJoinEvent

      public void playerJoinEvent(org.bukkit.event.player.PlayerJoinEvent e)
    • setupTeam

      public void setupTeam(org.bukkit.scoreboard.Team team, String teamName)
    • getType