| Modifier and Type | Method and Description |
|---|---|
void |
BungeePlugin.registerCommand(String name,
SubCommand command) |
void |
BukkitPlugin.registerCommand(String name,
SubCommand command) |
| Modifier and Type | Class and Description |
|---|---|
class |
TreeCommand<T extends IPlugin>
Abstract class for any command that has multiple subcommands.
|
| Modifier and Type | Method and Description |
|---|---|
SubCommand |
TreeCommand.getCommand(String name)
Checks SubCommands for matching aliases.
|
| Modifier and Type | Method and Description |
|---|---|
List<SubCommand> |
TreeCommand.getCommands()
Used to get the list of all subcommands.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TreeCommand.add(SubCommand... commands) |
| Constructor and Description |
|---|
TreeCommand(T plugin,
SubCommand values,
String helpPrefix)
Class Constructor.
|
| Constructor and Description |
|---|
BukkitCommand(SubCommand subCmd) |
| Constructor and Description |
|---|
BungeeCommand(SubCommand subCmd) |
| Modifier and Type | Class and Description |
|---|---|
class |
StatusCommand<T extends IPlugin>
A Default Command for displaying plugin's task, process and benchmark status.
|
Copyright © 2018. All rights reserved.