public interface PartyRank
Modifier and Type | Method and Description |
---|---|
String |
getChat()
Get the chat format of the rank
|
String |
getConfigName()
Get the configuration name of the rank This should not be touched.
|
default String |
getHardName()
Deprecated.
|
int |
getLevel()
Get the level of the rank
|
String |
getName()
Get the name of the rank
|
List<String> |
getPermissions()
Get the permissions sub of the rank
|
int |
getSlot()
Get the slot of the rank
|
boolean |
havePermission(String perm)
Check if the rank have a permission
|
boolean |
isDefault()
Get if the rank is default
|
void |
setChat(String chat)
Set the chat format of the rank
|
void |
setConfigName(String configName)
Set the configuration name of the rank.
|
void |
setDefault(boolean def)
Set the rank as default
|
default void |
setHardName(String hardname)
Deprecated.
|
void |
setLevel(int level)
Set the level of the rank
|
void |
setName(String name)
Set the name of the rank
|
void |
setPermissions(List<String> perm)
Set the permissions sub of the rank
|
void |
setSlot(int slot)
Set the slot of the rank
|
void setConfigName(String configName)
configName
- the configuration name of the rank@Deprecated default void setHardName(String hardname)
String getConfigName()
@Deprecated default String getHardName()
void setName(String name)
name
- the name of the rankString getName()
void setChat(String chat)
chat
- the chat format of the rankString getChat()
void setLevel(int level)
level
- the level of the rankint getLevel()
void setSlot(int slot)
slot
- the slot of the rankint getSlot()
void setDefault(boolean def)
def
- true
to set the rank as the defaultboolean isDefault()
true
if the rank is the defaultvoid setPermissions(List<String> perm)
perm
- the permissions sub of the rankList<String> getPermissions()
boolean havePermission(String perm)
perm
- the permission to checktrue
if the rank has that permissionCopyright © 2023. All rights reserved.