A bit of command help menu cleanup

This commit is contained in:
Brettflan 2011-10-15 12:46:44 -05:00
parent 3981ca4dde
commit 61bd37c99b
10 changed files with 10 additions and 14 deletions

View File

@ -12,7 +12,7 @@ public class CmdAutoClaim extends FCommand
this.aliases.add("autoclaim");
//this.requiredArgs.add("");
this.optionalArgs.put("on/off", "flipp");
this.optionalArgs.put("on/off", "flip");
this.permission = Permission.AUTOCLAIM.node;
this.disableOnLock = true;

View File

@ -14,7 +14,7 @@ public class CmdAutoSafeclaim extends FCommand
this.aliases.add("autosafe");
//this.requiredArgs.add("");
this.optionalArgs.put("on/off", "flipp");
this.optionalArgs.put("on/off", "flip");
this.permission = Permission.MANAGE_SAFE_ZONE.node;
this.disableOnLock = true;

View File

@ -12,10 +12,10 @@ public class CmdAutoWarclaim extends FCommand
public CmdAutoWarclaim()
{
super();
this.aliases.add("autosafe");
aliases.add("autowar");
//this.requiredArgs.add("");
this.optionalArgs.put("on/off", "flipp");
this.optionalArgs.put("on/off", "flip");
this.permission = Permission.MANAGE_WAR_ZONE.node;
this.disableOnLock = true;
@ -24,8 +24,6 @@ public class CmdAutoWarclaim extends FCommand
senderMustBeMember = false;
senderMustBeModerator = true;
senderMustBeAdmin = false;
aliases.add("autowar");
this.setHelpShort("Auto-claim land for the warzone");
}

View File

@ -11,7 +11,7 @@ public class CmdBoom extends FCommand
this.aliases.add("noboom");
//this.requiredArgs.add("");
this.optionalArgs.put("on/off", "flipp");
this.optionalArgs.put("on/off", "flip");
this.permission = Permission.NO_BOOM.node;
this.disableOnLock = true;

View File

@ -11,7 +11,7 @@ public class CmdBypass extends FCommand
this.aliases.add("bypass");
//this.requiredArgs.add("");
this.optionalArgs.put("on/off", "flipp");
this.optionalArgs.put("on/off", "flip");
this.permission = Permission.BYPASS.node;
this.disableOnLock = false;

View File

@ -113,10 +113,8 @@ public class CmdHelp extends FCommand
pageLines = new ArrayList<String>();
pageLines.add( p.cmdBase.cmdMap.getUseageTemplate(true) );
pageLines.add( p.cmdBase.cmdBoom.getUseageTemplate(true) );
pageLines.add("");
pageLines.add( p.cmdBase.cmdOwner.getUseageTemplate(true) );
pageLines.add( p.cmdBase.cmdOwnerList.getUseageTemplate(true) );
pageLines.add("");
pageLines.add(p.txt.parse("<i>Claimed land with ownership set is further protected so"));
pageLines.add(p.txt.parse("<i>that only the owner(s), faction admin, and possibly the"));
pageLines.add(p.txt.parse("<i>faction moderators have full access."));

View File

@ -17,7 +17,7 @@ public class CmdLock extends FCommand {
this.aliases.add("lock");
//this.requiredArgs.add("");
this.optionalArgs.put("on/off", "flipp");
this.optionalArgs.put("on/off", "flip");
this.permission = Permission.LOCK.node;
this.disableOnLock = false;

View File

@ -13,7 +13,7 @@ public class CmdOpen extends FCommand
this.aliases.add("open");
//this.requiredArgs.add("");
this.optionalArgs.put("yes/no", "flipp");
this.optionalArgs.put("yes/no", "flip");
this.permission = Permission.OPEN.node;
this.disableOnLock = false;

View File

@ -13,7 +13,7 @@ public class CmdSafeunclaimall extends FCommand
this.aliases.add("safedeclaimall");
//this.requiredArgs.add("");
this.optionalArgs.put("radius", "0");
//this.optionalArgs.put("radius", "0");
this.permission = Permission.MANAGE_SAFE_ZONE.node;
this.disableOnLock = true;

View File

@ -58,7 +58,7 @@ public class Econ
}
else
{
P.p.log("Economy integration failed. The plugin \"Register\" is not installed.");
P.p.log("Economy integration is "+(Conf.econEnabled ? "enabled, but" : "disabled, and")+" the plugin \"Register\" is not installed.");
}
P.p.cmdBase.cmdHelp.updateHelp();