Streamlined the faction arg descriptores

This commit is contained in:
Olof Larsson 2011-10-24 11:11:53 +02:00
parent 0c46809952
commit 99e8acd79f
15 changed files with 16 additions and 16 deletions

View File

@ -12,7 +12,7 @@ public class CmdDeinvite extends FCommand
this.aliases.add("deinvite");
this.aliases.add("deinv");
this.requiredArgs.add("player name");
this.requiredArgs.add("player");
//this.optionalArgs.put("", "");
this.permission = Permission.DEINVITE.node;

View File

@ -19,7 +19,7 @@ public class CmdDisband extends FCommand
this.aliases.add("disband");
//this.requiredArgs.add("");
this.optionalArgs.put("faction tag", "yours");
this.optionalArgs.put("faction", "your");
this.permission = Permission.DISBAND.node;
this.disableOnLock = true;

View File

@ -12,7 +12,7 @@ public class CmdInvite extends FCommand
this.aliases.add("invite");
this.aliases.add("inv");
this.requiredArgs.add("player name");
this.requiredArgs.add("player");
//this.optionalArgs.put("", "");
this.permission = Permission.INVITE.node;

View File

@ -12,7 +12,7 @@ public class CmdJoin extends FCommand
super();
this.aliases.add("join");
this.requiredArgs.add("faction name");
this.requiredArgs.add("faction");
//this.optionalArgs.put("", "");
this.permission = Permission.JOIN.node;

View File

@ -16,7 +16,7 @@ public class CmdKick extends FCommand
super();
this.aliases.add("kick");
this.requiredArgs.add("player name");
this.requiredArgs.add("player");
//this.optionalArgs.put("", "");
this.permission = Permission.KICK.node;

View File

@ -12,7 +12,7 @@ public class CmdLeader extends FCommand
super();
this.aliases.add("leader");
this.requiredArgs.add("player name");
this.requiredArgs.add("player");
//this.optionalArgs.put("", "");
this.permission = Permission.LEADER.node;

View File

@ -13,7 +13,7 @@ public class CmdMoneyBalance extends FCommand
this.aliases.add("balance");
//this.requiredArgs.add("");
this.optionalArgs.put("faction", "yours");
this.optionalArgs.put("faction", "your");
this.permission = Permission.MONEY_BALANCE.node;
this.setHelpShort("show faction balance");

View File

@ -19,7 +19,7 @@ public class CmdMoneyDeposit extends FCommand
this.aliases.add("deposit");
this.requiredArgs.add("amount");
this.optionalArgs.put("faction", "yours");
this.optionalArgs.put("faction", "your");
this.permission = Permission.MONEY_DEPOSIT.node;
this.setHelpShort("deposit money");

View File

@ -17,7 +17,7 @@ public class CmdMoneyWithdraw extends FCommand
this.aliases.add("withdraw");
this.requiredArgs.add("amount");
this.optionalArgs.put("faction", "yours");
this.optionalArgs.put("faction", "your");
this.permission = Permission.MONEY_WITHDRAW.node;
this.setHelpShort("withdraw money");

View File

@ -14,7 +14,7 @@ public class CmdPower extends FCommand
this.aliases.add("pow");
//this.requiredArgs.add("faction tag");
this.optionalArgs.put("player name", "you");
this.optionalArgs.put("player", "you");
this.permission = Permission.POWER.node;
this.disableOnLock = false;

View File

@ -14,7 +14,7 @@ public class CmdSethome extends FCommand
this.aliases.add("sethome");
//this.requiredArgs.add("");
this.optionalArgs.put("faction tag", "mine");
this.optionalArgs.put("faction", "your");
this.permission = Permission.SETHOME.node;
this.disableOnLock = true;

View File

@ -20,7 +20,7 @@ public class CmdShow extends FCommand
this.aliases.add("who");
//this.requiredArgs.add("");
this.optionalArgs.put("faction tag", "yours");
this.optionalArgs.put("faction", "your");
this.permission = Permission.SHOW.node;
this.disableOnLock = false;

View File

@ -16,7 +16,7 @@ public class CmdTag extends FCommand
{
this.aliases.add("tag");
this.requiredArgs.add("faction tag");
this.requiredArgs.add("new tag");
//this.optionalArgs.put("", "");
this.permission = Permission.TAG.node;

View File

@ -12,7 +12,7 @@ public class CmdTitle extends FCommand
{
this.aliases.add("title");
this.requiredArgs.add("player name");
this.requiredArgs.add("player");
this.optionalArgs.put("title", "");
this.permission = Permission.TITLE.node;

View File

@ -14,8 +14,8 @@ public abstract class FRelationCommand extends FCommand
public FRelationCommand()
{
super();
this.requiredArgs.add("faction tag");
//this.optionalArgs.put("player name", "you");
this.requiredArgs.add("faction");
//this.optionalArgs.put("", "");
this.permission = Permission.RELATION.node;
this.disableOnLock = true;