public class TownyPermission
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TownyPermission.ActionType |
static class |
TownyPermission.PermLevel |
Modifier and Type | Field and Description |
---|---|
boolean |
allyBuild |
boolean |
allyDestroy |
boolean |
allyItemUse |
boolean |
allySwitch |
boolean |
explosion |
boolean |
fire |
boolean |
mobs |
boolean |
outsiderBuild |
boolean |
outsiderDestroy |
boolean |
outsiderItemUse |
boolean |
outsiderSwitch |
boolean |
pvp |
boolean |
residentBuild |
boolean |
residentDestroy |
boolean |
residentItemUse |
boolean |
residentSwitch |
Constructor and Description |
---|
TownyPermission() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAllyPerm(TownyPermission.ActionType type) |
java.lang.String |
getColourString() |
boolean |
getOutsiderPerm(TownyPermission.ActionType type) |
boolean |
getResidentPerm(TownyPermission.ActionType type) |
void |
load(java.lang.String s) |
void |
loadDefault(TownBlockOwner owner) |
void |
reset() |
void |
set(java.lang.String s,
boolean b) |
void |
setAll(boolean b) |
java.lang.String |
toString() |
public boolean residentBuild
public boolean residentDestroy
public boolean residentSwitch
public boolean residentItemUse
public boolean outsiderBuild
public boolean outsiderDestroy
public boolean outsiderSwitch
public boolean outsiderItemUse
public boolean allyBuild
public boolean allyDestroy
public boolean allySwitch
public boolean allyItemUse
public boolean pvp
public boolean fire
public boolean explosion
public boolean mobs
public void reset()
public void setAll(boolean b)
public void set(java.lang.String s, boolean b)
public void load(java.lang.String s)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean getResidentPerm(TownyPermission.ActionType type)
public boolean getOutsiderPerm(TownyPermission.ActionType type)
public boolean getAllyPerm(TownyPermission.ActionType type)
public java.lang.String getColourString()
public void loadDefault(TownBlockOwner owner)