public abstract class LocalPlayer extends Object implements RegionAssociable
| Constructor and Description |
|---|
LocalPlayer() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ban(String msg)
Ban this player.
|
boolean |
equals(Object obj) |
Association |
getAssociation(List<ProtectedRegion> regions)
Get the highest association level for the input regions.
|
abstract String[] |
getGroups()
Get this player's list of groups.
|
abstract String |
getName()
Get this player's name.
|
abstract com.sk89q.worldedit.Vector |
getPosition()
Get this player's position.
|
abstract UUID |
getUniqueId()
Get this player's unique ID.
|
abstract boolean |
hasGroup(String group)
Returns true if this player is inside a group.
|
int |
hashCode() |
abstract boolean |
hasPermission(String perm)
Returns whether this player has permission.
|
abstract void |
kick(String msg)
Kick this player.
|
abstract void |
printRaw(String msg)
Send this player a message.
|
public abstract String getName()
public abstract UUID getUniqueId()
public abstract boolean hasGroup(String group)
group - The group to checkgrouppublic abstract com.sk89q.worldedit.Vector getPosition()
public abstract void kick(String msg)
msg - The message to kick the player withpublic abstract void ban(String msg)
msg - The message to ban the player withpublic abstract void printRaw(String msg)
msg - The message to send to the playerpublic abstract String[] getGroups()
public abstract boolean hasPermission(String perm)
perm - The permission to checkpermpublic Association getAssociation(List<ProtectedRegion> regions)
RegionAssociablegetAssociation in interface RegionAssociableregions - a list of regionsCopyright © 2015. All Rights Reserved.