Package | Description |
---|---|
net.tridentsdk.plugin |
Plugin handlers, and related API
|
net.tridentsdk.plugin.cmd |
The Plugin command API, when players execute
/ commands |
net.tridentsdk.server.command |
Handles commands on the server
|
net.tridentsdk.server.plugin |
Contains the implementation of classes in the
net.tridentsdk.plugin .* package |
Modifier and Type | Method and Description |
---|---|
<T extends Command> |
Plugin.commandBy(Class<T> c)
Obtains the command instance with the class specified
|
Modifier and Type | Method and Description |
---|---|
int |
Commands.register(Plugin plugin,
Command command)
Registers the command for the plugin
|
Modifier and Type | Method and Description |
---|---|
void |
Commands.unregister(Class<? extends Command> cls)
Unregisters the given command handler
|
Modifier and Type | Class and Description |
---|---|
class |
HelpCommand |
class |
OpCommand |
class |
SendCommand |
class |
TeleportCommand |
Modifier and Type | Method and Description |
---|---|
protected Collection<Command> |
CommandHandler.delegate() |
Modifier and Type | Method and Description |
---|---|
int |
CommandHandler.register(Plugin plugin,
Command command) |
Modifier and Type | Method and Description |
---|---|
void |
CommandHandler.unregister(Class<? extends Command> cls) |
Copyright © 2016. All rights reserved.