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:
Trent Hensler
2018-01-04 17:17:26 -08:00
parent 4852ac6be4
commit 4db185e3ee
15 changed files with 152 additions and 16 deletions

View File

@@ -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;
}