| Modifier and Type | Method and Description |
|---|---|
CommandSender |
ProxyCommandException.getCommandSender()
Gets the command sender which executed the command request
|
| Constructor and Description |
|---|
ProxyCommandException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
Command command,
CommandSender commandSender,
String[] arguments) |
ProxyCommandException(String message,
Throwable cause,
Command command,
CommandSender commandSender,
String[] arguments) |
ProxyCommandException(Throwable cause,
Command command,
CommandSender commandSender,
String[] arguments) |
ProxyTabCompleteException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
Command command,
CommandSender commandSender,
String[] arguments) |
ProxyTabCompleteException(String message,
Throwable cause,
Command command,
CommandSender commandSender,
String[] arguments) |
ProxyTabCompleteException(Throwable cause,
Command command,
CommandSender commandSender,
String[] arguments) |
| Modifier and Type | Method and Description |
|---|---|
abstract CommandSender |
ProxyServer.getConsole()
Returns the console overlord for this proxy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ServerInfo.canAccess(CommandSender sender)
Whether the player can access this server.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConnectedPlayer
Represents a player physically connected to the world hosted on this server.
|
interface |
ProxiedPlayer
Represents a player who's connection is being connected to somewhere else,
whether it be a remote or embedded server.
|
| Modifier and Type | Method and Description |
|---|---|
CommandSender |
ProxyReloadEvent.getSender()
Creator of the action.
|
CommandSender |
PermissionCheckEvent.getSender()
The command sender being checked for a permission.
|
| Constructor and Description |
|---|
PermissionCheckEvent(CommandSender sender,
String permission,
boolean hasPermission) |
ProxyReloadEvent(CommandSender sender) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PluginManager.dispatchCommand(CommandSender sender,
String commandLine) |
boolean |
PluginManager.dispatchCommand(CommandSender sender,
String commandLine,
List<String> tabResults)
Execute a command if it is registered, else return false.
|
abstract void |
Command.execute(CommandSender sender,
String[] args)
Execute this command with the specified sender and arguments.
|
boolean |
Command.hasPermission(CommandSender sender)
Check if this command can be executed by the given sender.
|
boolean |
PluginManager.isExecutableCommand(String commandName,
CommandSender sender)
Checks if the command is registered and can possibly be executed by the
sender (without taking permissions into account).
|
Iterable<String> |
TabExecutor.onTabComplete(CommandSender sender,
String[] args) |
List<String> |
PluginManager.tabCompleteCommand(CommandSender sender,
String commandLine)
Searches for tab-complete suggestions for the given command line.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<String> |
PlayerCommand.onTabComplete(CommandSender sender,
String[] args)
Deprecated.
|
Copyright © 2015–2021 WaterfallMC. All rights reserved.