mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-06 18:50:54 +01:00
Adjust commands usage/info messages.
This commit is contained in:
parent
da52663523
commit
68a4145971
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user