public class FileManager.Groups.set
extends java.lang.Object
Constructor and Description |
---|
set() |
Modifier and Type | Method and Description |
---|---|
boolean |
addInheritance(java.lang.String group,
java.lang.String inheritance)
Add an inheritance to a group
|
boolean |
ChatColor(java.lang.String group,
java.lang.String ChatColor)
Set the ChatColor
|
void |
Default(java.lang.String group,
boolean def)
Set the default setting of the group
|
boolean |
Prefix(java.lang.String group,
java.lang.String prefix)
Set the prefix of the group
|
void |
Rank(java.lang.String group,
int rank)
Set the rank of the group
|
boolean |
removeInheritance(java.lang.String group,
java.lang.String inheritance)
Remove an inheritance from a group
|
boolean |
Servergroup(java.lang.String group,
java.lang.String Servergroup)
Set the Servergroup
|
boolean |
Sufix(java.lang.String group,
java.lang.String sufix)
Set the sufix of the group
|
public boolean Prefix(java.lang.String group, java.lang.String prefix) throws GroupNotFoundException
group
- The group as Stringprefix
- The prefix as StringGroupNotFoundException
- - Throws, if the group was not
foundpublic boolean Sufix(java.lang.String group, java.lang.String sufix) throws GroupNotFoundException
group
- The groupsufix
- The sufix as StringGroupNotFoundException
- - Throws, if the group was not
foundpublic boolean ChatColor(java.lang.String group, java.lang.String ChatColor) throws GroupNotFoundException
group
- The groupChatColor
- The Color with '[]'GroupNotFoundException
- Throws, if the group was not foundpublic boolean Servergroup(java.lang.String group, java.lang.String Servergroup) throws GroupNotFoundException
group
- The groupServergroup
- The servergroupGroupNotFoundException
- Throws, if the group was not foundpublic void Rank(java.lang.String group, int rank) throws GroupNotFoundException
group
- The grouprank
- True if the rank is changed, false if not.GroupNotFoundException
- - Throws, if the group was not
foundpublic void Default(java.lang.String group, boolean def) throws GroupNotFoundException
group
- The groupdef
- True if the default setting is changed, false if not.GroupNotFoundException
- - Throws, if the group was not
foundpublic boolean addInheritance(java.lang.String group, java.lang.String inheritance) throws GroupNotFoundException
group
- The groupinheritance
- The inheriting groupGroupNotFoundException
- - Throws, if the group was not
foundpublic boolean removeInheritance(java.lang.String group, java.lang.String inheritance) throws GroupNotFoundException
group
- The groupinheritance
- The inheriting groupGroupNotFoundException
- - Throws, if the group was not
found