Updated doc

This commit is contained in:
Norbi Peti 2016-11-19 19:20:07 +01:00
parent 5b13548fa4
commit ba95f628a0

View file

@ -14,17 +14,16 @@ public abstract class TBMCCommandBase {
public TBMCCommandBase() {
}
public abstract boolean OnCommand(CommandSender sender, String alias, String[] args);
public abstract String[] GetHelpText(String alias);
/**
* The command's path, or name if top-level command.<br>
* For example:<br>
* "u admin updateplugin" or "u" for the top level one<br>
* <br>
* <u>Note:</u> If you have a command which has subcommands (like /u admin), you need a separate command class for that as well.
* <u>The path must be lowercase!</u><br>
*
* @return The command path, <i>which is the command class name by default</i> (removing any "command" from it)
*/