Package com.booksaw.betterTeams.events
Class MCTeamManagement
java.lang.Object
com.booksaw.betterTeams.events.MCTeamManagement
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionUsed to track a list of all listeners -
Method Summary
Modifier and TypeMethodDescriptionvoid
displayBelowName
(org.bukkit.entity.Player player) void
getType()
void
playerJoinEvent
(org.bukkit.event.player.PlayerJoinEvent e) void
remove
(org.bukkit.entity.Player player) void
remove
(org.bukkit.entity.Player player, boolean callEvent) Used to remove the prefix / suffix from the specified playervoid
void
removeAll
(boolean callEvent) Used when the plugin is disabledvoid
-
Constructor Details
-
MCTeamManagement
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 fromcallEvent
- if BelowNameChangeEvent should be called
-
playerJoinEvent
public void playerJoinEvent(org.bukkit.event.player.PlayerJoinEvent e) -
setupTeam
-
getType
-