Interface PartyRank
- All Known Subinterfaces:
Rank
public interface PartyRank
-
Method Summary
Modifier and TypeMethodDescriptiongetChat()Get the chat format of the rankGet the configuration name of the rank This should not be touched.default StringDeprecated.intgetLevel()Get the level of the rankgetName()Get the name of the rankGet the permissions sub of the rankintgetSlot()Get the slot of the rankbooleanhavePermission(String perm) Check if the rank have a permissionbooleanGet if the rank is defaultvoidSet the chat format of the rankvoidsetConfigName(String configName) Set the configuration name of the rank.voidsetDefault(boolean def) Set the rank as defaultdefault voidsetHardName(String hardname) Deprecated.voidsetLevel(int level) Set the level of the rankvoidSet the name of the rankvoidsetPermissions(List<String> perm) Set the permissions sub of the rankvoidsetSlot(int slot) Set the slot of the rank
-
Method Details
-
setConfigName
Set the configuration name of the rank. This should not be touched.- Parameters:
configName- the configuration name of the rank
-
setHardName
Deprecated. -
getConfigName
String getConfigName()Get the configuration name of the rank This should not be touched.- Returns:
- the configuration name of the rank
-
getHardName
Deprecated. -
setName
Set the name of the rank- Parameters:
name- the name of the rank
-
getName
String getName()Get the name of the rank- Returns:
- the name of the rank
-
setChat
Set the chat format of the rank- Parameters:
chat- the chat format of the rank
-
getChat
String getChat()Get the chat format of the rank- Returns:
- the chat format of the rank
-
setLevel
void setLevel(int level) Set the level of the rank- Parameters:
level- the level of the rank
-
getLevel
int getLevel()Get the level of the rank- Returns:
- the level of the rank
-
setSlot
void setSlot(int slot) Set the slot of the rank- Parameters:
slot- the slot of the rank
-
getSlot
int getSlot()Get the slot of the rank- Returns:
- the slot of the rank
-
setDefault
void setDefault(boolean def) Set the rank as default- Parameters:
def-trueto set the rank as the default
-
isDefault
boolean isDefault()Get if the rank is default- Returns:
trueif the rank is the default
-
setPermissions
Set the permissions sub of the rank- Parameters:
perm- the permissions sub of the rank
-
getPermissions
Get the permissions sub of the rank- Returns:
- the permissions sub of the rank
-
havePermission
Check if the rank have a permission- Parameters:
perm- the permission to check- Returns:
trueif the rank has that permission
-