public class Member
extends java.lang.Object
| Constructor and Description |
|---|
Member() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteFromTeam()
Deletes this member from its team.
|
org.bukkit.entity.Player |
getPlayer()
Gets the player that this member represents, if online.
|
Team |
getTeam()
Gets the member's team.
|
boolean |
isMod()
Checks that if the member is a moderator.
|
boolean |
isOnline()
Checks if the member is online.
|
boolean |
isTeamChatMode()
Returns true if the chat mode is set to teams
|
java.lang.String |
name()
Returns the name of the member in lowercase.
|
void |
setChatMode(boolean teamChatMode)
Allows enabling/disabling team chat mode
|
public Team getTeam()
public boolean isMod()
Team.promote(com.gmail.louis1234567890987654321.teams.Member)public java.lang.String name()
public void deleteFromTeam()
TeamManager.getMemberByName(java.lang.String)public org.bukkit.entity.Player getPlayer()
public boolean isOnline()
public boolean isTeamChatMode()
public void setChatMode(boolean teamChatMode)
teamChatMode - Set this to true to enable team chat mode, and vice versa.Copyright © 2013, louis1234567890987654321@gmail.com. All rights reserved.