Class TownyPermission
java.lang.Object
com.palmergames.bukkit.towny.object.TownyPermission
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
change
(TownyPermissionChange permChange) void
change
(TownyPermissionChange.Action permChange, boolean toValue, Object... args) boolean
boolean
boolean
getColoredPermLevel
(TownyPermission.ActionType type, String typeCommonName) boolean
boolean
boolean
getPerm
(TownyPermission.PermLevel permLevel, TownyPermission.ActionType type) boolean
int
hashCode()
void
void
loadDefault
(TownBlockOwner owner) void
reset()
void
void
setAll
(boolean b) void
setAllNonEnvironmental
(boolean b) toString()
-
Field Details
-
perms
protected boolean[][] perms -
pvp
public boolean pvp -
fire
public boolean fire -
explosion
public boolean explosion -
mobs
public boolean mobs
-
-
Constructor Details
-
TownyPermission
public TownyPermission()
-
-
Method Details
-
reset
public void reset() -
change
-
change
-
setAllNonEnvironmental
public void setAllNonEnvironmental(boolean b) -
equalsNonEnvironmental
-
setAll
public void setAll(boolean b) -
set
-
load
-
toString
-
getPerm
-
getResidentPerm
-
getOutsiderPerm
-
getAllyPerm
-
getNationPerm
-
getColoredPermLevel
-
getColoredPermLevel
-
getColourString
-
loadDefault
-
hashCode
public int hashCode() -
equals
-