Interface PartyRank
-
- All Known Subinterfaces:
Rank
public interface PartyRank
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description StringgetChat()Get the chat format of the rankStringgetConfigName()Get the configuration name of the rank This should not be touched.default StringgetHardName()Deprecated.intgetLevel()Get the level of the rankStringgetName()Get the name of the rankList<String>getPermissions()Get the permissions sub of the rankintgetSlot()Get the slot of the rankbooleanhavePermission(String perm)Check if the rank have a permissionbooleanisDefault()Get if the rank is defaultvoidsetChat(String chat)Set 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 rankvoidsetName(String name)Set the name of the rankvoidsetPermissions(List<String> perm)Set the permissions sub of the rankvoidsetSlot(int slot)Set the slot of the rank
-
-
-
Method Detail
-
setConfigName
void setConfigName(String configName)
Set the configuration name of the rank. This should not be touched.- Parameters:
configName- the configuration name of the rank
-
setHardName
@Deprecated default void setHardName(String hardname)
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 default String getHardName()
Deprecated.
-
setName
void setName(String name)
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
void setChat(String chat)
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
void setPermissions(List<String> perm)
Set the permissions sub of the rank- Parameters:
perm- the permissions sub of the rank
-
getPermissions
List<String> getPermissions()
Get the permissions sub of the rank- Returns:
- the permissions sub of the rank
-
havePermission
boolean havePermission(String perm)
Check if the rank have a permission- Parameters:
perm- the permission to check- Returns:
trueif the rank has that permission
-
-