Streamlined the faction arg descriptores
This commit is contained in:
parent
0c46809952
commit
99e8acd79f
@ -12,7 +12,7 @@ public class CmdDeinvite extends FCommand
|
|||||||
this.aliases.add("deinvite");
|
this.aliases.add("deinvite");
|
||||||
this.aliases.add("deinv");
|
this.aliases.add("deinv");
|
||||||
|
|
||||||
this.requiredArgs.add("player name");
|
this.requiredArgs.add("player");
|
||||||
//this.optionalArgs.put("", "");
|
//this.optionalArgs.put("", "");
|
||||||
|
|
||||||
this.permission = Permission.DEINVITE.node;
|
this.permission = Permission.DEINVITE.node;
|
||||||
|
@ -19,7 +19,7 @@ public class CmdDisband extends FCommand
|
|||||||
this.aliases.add("disband");
|
this.aliases.add("disband");
|
||||||
|
|
||||||
//this.requiredArgs.add("");
|
//this.requiredArgs.add("");
|
||||||
this.optionalArgs.put("faction tag", "yours");
|
this.optionalArgs.put("faction", "your");
|
||||||
|
|
||||||
this.permission = Permission.DISBAND.node;
|
this.permission = Permission.DISBAND.node;
|
||||||
this.disableOnLock = true;
|
this.disableOnLock = true;
|
||||||
|
@ -12,7 +12,7 @@ public class CmdInvite extends FCommand
|
|||||||
this.aliases.add("invite");
|
this.aliases.add("invite");
|
||||||
this.aliases.add("inv");
|
this.aliases.add("inv");
|
||||||
|
|
||||||
this.requiredArgs.add("player name");
|
this.requiredArgs.add("player");
|
||||||
//this.optionalArgs.put("", "");
|
//this.optionalArgs.put("", "");
|
||||||
|
|
||||||
this.permission = Permission.INVITE.node;
|
this.permission = Permission.INVITE.node;
|
||||||
|
@ -12,7 +12,7 @@ public class CmdJoin extends FCommand
|
|||||||
super();
|
super();
|
||||||
this.aliases.add("join");
|
this.aliases.add("join");
|
||||||
|
|
||||||
this.requiredArgs.add("faction name");
|
this.requiredArgs.add("faction");
|
||||||
//this.optionalArgs.put("", "");
|
//this.optionalArgs.put("", "");
|
||||||
|
|
||||||
this.permission = Permission.JOIN.node;
|
this.permission = Permission.JOIN.node;
|
||||||
|
@ -16,7 +16,7 @@ public class CmdKick extends FCommand
|
|||||||
super();
|
super();
|
||||||
this.aliases.add("kick");
|
this.aliases.add("kick");
|
||||||
|
|
||||||
this.requiredArgs.add("player name");
|
this.requiredArgs.add("player");
|
||||||
//this.optionalArgs.put("", "");
|
//this.optionalArgs.put("", "");
|
||||||
|
|
||||||
this.permission = Permission.KICK.node;
|
this.permission = Permission.KICK.node;
|
||||||
|
@ -12,7 +12,7 @@ public class CmdLeader extends FCommand
|
|||||||
super();
|
super();
|
||||||
this.aliases.add("leader");
|
this.aliases.add("leader");
|
||||||
|
|
||||||
this.requiredArgs.add("player name");
|
this.requiredArgs.add("player");
|
||||||
//this.optionalArgs.put("", "");
|
//this.optionalArgs.put("", "");
|
||||||
|
|
||||||
this.permission = Permission.LEADER.node;
|
this.permission = Permission.LEADER.node;
|
||||||
|
@ -13,7 +13,7 @@ public class CmdMoneyBalance extends FCommand
|
|||||||
this.aliases.add("balance");
|
this.aliases.add("balance");
|
||||||
|
|
||||||
//this.requiredArgs.add("");
|
//this.requiredArgs.add("");
|
||||||
this.optionalArgs.put("faction", "yours");
|
this.optionalArgs.put("faction", "your");
|
||||||
|
|
||||||
this.permission = Permission.MONEY_BALANCE.node;
|
this.permission = Permission.MONEY_BALANCE.node;
|
||||||
this.setHelpShort("show faction balance");
|
this.setHelpShort("show faction balance");
|
||||||
|
@ -19,7 +19,7 @@ public class CmdMoneyDeposit extends FCommand
|
|||||||
this.aliases.add("deposit");
|
this.aliases.add("deposit");
|
||||||
|
|
||||||
this.requiredArgs.add("amount");
|
this.requiredArgs.add("amount");
|
||||||
this.optionalArgs.put("faction", "yours");
|
this.optionalArgs.put("faction", "your");
|
||||||
|
|
||||||
this.permission = Permission.MONEY_DEPOSIT.node;
|
this.permission = Permission.MONEY_DEPOSIT.node;
|
||||||
this.setHelpShort("deposit money");
|
this.setHelpShort("deposit money");
|
||||||
|
@ -17,7 +17,7 @@ public class CmdMoneyWithdraw extends FCommand
|
|||||||
this.aliases.add("withdraw");
|
this.aliases.add("withdraw");
|
||||||
|
|
||||||
this.requiredArgs.add("amount");
|
this.requiredArgs.add("amount");
|
||||||
this.optionalArgs.put("faction", "yours");
|
this.optionalArgs.put("faction", "your");
|
||||||
|
|
||||||
this.permission = Permission.MONEY_WITHDRAW.node;
|
this.permission = Permission.MONEY_WITHDRAW.node;
|
||||||
this.setHelpShort("withdraw money");
|
this.setHelpShort("withdraw money");
|
||||||
|
@ -14,7 +14,7 @@ public class CmdPower extends FCommand
|
|||||||
this.aliases.add("pow");
|
this.aliases.add("pow");
|
||||||
|
|
||||||
//this.requiredArgs.add("faction tag");
|
//this.requiredArgs.add("faction tag");
|
||||||
this.optionalArgs.put("player name", "you");
|
this.optionalArgs.put("player", "you");
|
||||||
|
|
||||||
this.permission = Permission.POWER.node;
|
this.permission = Permission.POWER.node;
|
||||||
this.disableOnLock = false;
|
this.disableOnLock = false;
|
||||||
|
@ -14,7 +14,7 @@ public class CmdSethome extends FCommand
|
|||||||
this.aliases.add("sethome");
|
this.aliases.add("sethome");
|
||||||
|
|
||||||
//this.requiredArgs.add("");
|
//this.requiredArgs.add("");
|
||||||
this.optionalArgs.put("faction tag", "mine");
|
this.optionalArgs.put("faction", "your");
|
||||||
|
|
||||||
this.permission = Permission.SETHOME.node;
|
this.permission = Permission.SETHOME.node;
|
||||||
this.disableOnLock = true;
|
this.disableOnLock = true;
|
||||||
|
@ -20,7 +20,7 @@ public class CmdShow extends FCommand
|
|||||||
this.aliases.add("who");
|
this.aliases.add("who");
|
||||||
|
|
||||||
//this.requiredArgs.add("");
|
//this.requiredArgs.add("");
|
||||||
this.optionalArgs.put("faction tag", "yours");
|
this.optionalArgs.put("faction", "your");
|
||||||
|
|
||||||
this.permission = Permission.SHOW.node;
|
this.permission = Permission.SHOW.node;
|
||||||
this.disableOnLock = false;
|
this.disableOnLock = false;
|
||||||
|
@ -16,7 +16,7 @@ public class CmdTag extends FCommand
|
|||||||
{
|
{
|
||||||
this.aliases.add("tag");
|
this.aliases.add("tag");
|
||||||
|
|
||||||
this.requiredArgs.add("faction tag");
|
this.requiredArgs.add("new tag");
|
||||||
//this.optionalArgs.put("", "");
|
//this.optionalArgs.put("", "");
|
||||||
|
|
||||||
this.permission = Permission.TAG.node;
|
this.permission = Permission.TAG.node;
|
||||||
|
@ -12,7 +12,7 @@ public class CmdTitle extends FCommand
|
|||||||
{
|
{
|
||||||
this.aliases.add("title");
|
this.aliases.add("title");
|
||||||
|
|
||||||
this.requiredArgs.add("player name");
|
this.requiredArgs.add("player");
|
||||||
this.optionalArgs.put("title", "");
|
this.optionalArgs.put("title", "");
|
||||||
|
|
||||||
this.permission = Permission.TITLE.node;
|
this.permission = Permission.TITLE.node;
|
||||||
|
@ -14,8 +14,8 @@ public abstract class FRelationCommand extends FCommand
|
|||||||
public FRelationCommand()
|
public FRelationCommand()
|
||||||
{
|
{
|
||||||
super();
|
super();
|
||||||
this.requiredArgs.add("faction tag");
|
this.requiredArgs.add("faction");
|
||||||
//this.optionalArgs.put("player name", "you");
|
//this.optionalArgs.put("", "");
|
||||||
|
|
||||||
this.permission = Permission.RELATION.node;
|
this.permission = Permission.RELATION.node;
|
||||||
this.disableOnLock = true;
|
this.disableOnLock = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user