mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-19 10:21:27 +02:00
Adjust commands usage/info messages.
This commit is contained in:
parent
da52663523
commit
68a4145971
@ -14,6 +14,7 @@ commands:
|
|||||||
description: NoCheatPlus command(s).
|
description: NoCheatPlus command(s).
|
||||||
# permissions: nocheatplus.admin.(...)
|
# permissions: nocheatplus.admin.(...)
|
||||||
usage: |
|
usage: |
|
||||||
|
Administrative commands overview:
|
||||||
/<command> reload: reload NoCheatPlus configuration
|
/<command> reload: reload NoCheatPlus configuration
|
||||||
/<command> info (player): Display the violations of a player
|
/<command> info (player): Display the violations of a player
|
||||||
/<command> removeplayer (player) [(check type)]: Remove data
|
/<command> removeplayer (player) [(check type)]: Remove data
|
||||||
|
@ -37,7 +37,7 @@ public class CommandsCommand extends NCPCommand {
|
|||||||
String all = TAG + "All commands info:\n";
|
String all = TAG + "All commands info:\n";
|
||||||
Command cmd = plugin.getCommand("nocheatplus");
|
Command cmd = plugin.getCommand("nocheatplus");
|
||||||
if (cmd != null){
|
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");
|
all += CheckUtils.join(Arrays.asList(moreCommands), "\n");
|
||||||
allCommands = all;
|
allCommands = all;
|
||||||
|
Loading…
Reference in New Issue
Block a user