Adjust commands usage/info messages.

This commit is contained in:
asofold 2012-11-14 20:36:26 +01:00
parent da52663523
commit 68a4145971
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ commands:
description: NoCheatPlus command(s).
# permissions: nocheatplus.admin.(...)
usage: |
Administrative commands overview:
/<command> reload: reload NoCheatPlus configuration
/<command> info (player): Display the violations of a player
/<command> removeplayer (player) [(check type)]: Remove data

View File

@ -37,7 +37,7 @@ public class CommandsCommand extends NCPCommand {
String all = TAG + "All commands info:\n";
Command cmd = plugin.getCommand("nocheatplus");
if (cmd != null){
all += cmd.getUsage().replace("<command>", "ncp") + "\n";
all += cmd.getUsage().replace("<command>", "ncp") + "Auxiliary commands (actions):\n";
}
all += CheckUtils.join(Arrays.asList(moreCommands), "\n");
allCommands = all;