Class SmartSubCommand
java.lang.Object
de.goldmensch.commanddispatcher.subcommand.SmartSubCommand
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Executor
@NotNull String
getName()
The name is a string consisting of the path and the name.void
setDescription(@NotNull String description)
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.command.CommandExecutor
onCommand
-
Constructor Details
-
SmartSubCommand
-
-
Method Details
-
setName
-
setDescription
-
getExecutor
- Returns:
- The
Executor
of the SubCommand
-
getPermission
- Returns:
- The permission of the SubCommand
-
getName
The name is a string consisting of the path and the name.
Example: The StringArray {"arg0", "arg1", "name"} becomes "arg0 arg1 name"
- Returns:
- The name of the SubCommand
-
getDescription
-