@CommandDesc(name="op", permission="trident.op") public class OpCommand extends Command
| Constructor and Description |
|---|
OpCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleConsole(Console sender,
String arguments,
String alias)
Called when this cmd is invoked by the console
|
void |
handlePlayer(Player player,
String arguments,
String alias)
Called when this cmd is invoked by a player
|
handle, notifyOverridenpublic OpCommand()
public void handlePlayer(Player player, String arguments, String alias)
CommandhandlePlayer in class Commandplayer - player executing the commandarguments - may be nullalias - the alias of the commandpublic void handleConsole(Console sender, String arguments, String alias)
CommandhandleConsole in class Commandsender - the command senderarguments - may be nullalias - the alias for the commandCopyright © 2016. All rights reserved.