Package | Description |
---|---|
org.projectnyx.command | |
org.projectnyx.command.impl |
This package contains the default implementations of server commands.
|
Modifier and Type | Method and Description |
---|---|
Command |
Command.setDescription(UIText description)
This command's description, which can be displayed to users.
|
Command |
Command.setUsage(UIText usage)
This command's usage, which can be displayed to users.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Command> |
CommandManager.getCommands() |
Modifier and Type | Method and Description |
---|---|
void |
CommandManager.registerCommand(Command command)
Register a command.
|
void |
CommandManager.unregisterCommand(Command command)
Unregister a command.
|
Modifier and Type | Class and Description |
---|---|
class |
StopCommand
The
Command implementation of the /stop command |
Copyright © 2016. All rights reserved.