public final class WebUser
extends java.lang.Object
Constructor and Description |
---|
WebUser(java.lang.String playerName) |
WebUser(java.lang.String playerName,
java.lang.String... permissions)
Deprecated.
WebUser now has username and player name.
|
WebUser(java.lang.String playerName,
java.lang.String username,
java.util.Collection<java.lang.String> permissions) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getUsername() |
boolean |
hasPermission(java.lang.String permission) |
java.lang.String |
toString() |
public WebUser(java.lang.String playerName)
public WebUser(java.lang.String playerName, java.lang.String username, java.util.Collection<java.lang.String> permissions)
@Deprecated public WebUser(java.lang.String playerName, java.lang.String... permissions)