Role updates.
* Adds recruit role below the normal role. * Adds /f promote and demote. Access to this command defaults to moderator if not set in /f perm * Default role is still set to recruite. Will have to /f demote to set players to that rank.
This commit is contained in:
@@ -27,12 +27,12 @@ public class CmdSetMaxVaults extends FCommand {
|
||||
public void perform() {
|
||||
Faction targetFaction = argAsFaction(0);
|
||||
int value = argAsInt(1, -1);
|
||||
if(value < 0) {
|
||||
if (value < 0) {
|
||||
sender.sendMessage(ChatColor.RED + "Number must be greater than 0.");
|
||||
return;
|
||||
}
|
||||
|
||||
if(targetFaction == null) {
|
||||
if (targetFaction == null) {
|
||||
sender.sendMessage(ChatColor.RED + "Couldn't find Faction: " + ChatColor.YELLOW + argAsString(0));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user