class StoredCommand
Contains detailed information on a loaded command.
Since
2.0
fun getCommandClass(): Class<out BaseCommand>
Returns the class object for this command's implementation. |
|
fun getHelp(): String
Returns the detailed usage instructions for this command. |
|
fun getName(): String
Returns the name of this command (what the player would enter to use it). |
|
fun getSource(): String
Returns the complete file path of the CSV this command was loaded from (not the relative path). Useful for determining which mod added this command. |
|
fun getSyntax(): String
Returns the syntax for this command. |
|
fun getTags(): MutableList<String>
Returns all tags associated with this command. |