# Uses of Interface
net.md_5.bungee.api.CommandSender

Packages that use CommandSender
Package
Description
net.md_5.bungee.api
net.md_5.bungee.api.config
net.md_5.bungee.api.connection
net.md_5.bungee.api.event
net.md_5.bungee.api.plugin
net.md_5.bungee.command

- ## Uses of CommandSender in net.md_5.bungee.api

  Methods in net.md_5.bungee.api that return CommandSender
  Modifier and Type
  Method
  Description
  `abstract CommandSender`
  ProxyServer.`getConsole()`
  Returns the console overlord for this proxy.

- ## Uses of CommandSender in net.md_5.bungee.api.config

  Methods in net.md_5.bungee.api.config with parameters of type CommandSender
  Modifier and Type
  Method
  Description
  `boolean`
  ServerInfo.`canAccess(CommandSender sender)`
  Whether the player can access this server.

- ## Uses of CommandSender in net.md_5.bungee.api.connection

  Subinterfaces of CommandSender in net.md_5.bungee.api.connection
  Modifier and Type
  Interface
  Description
  `interface`
  `ConnectedPlayer`
  Represents a player physically connected to the world hosted on this server.
  `interface`
  `ProxiedPlayer`
  Represents a player whose connection is being connected to somewhere else, whether it be a remote or embedded server.

- ## Uses of CommandSender in net.md_5.bungee.api.event

  Methods in net.md_5.bungee.api.event that return CommandSender
  Modifier and Type
  Method
  Description
  `CommandSender`
  PermissionCheckEvent.`getSender()`
  The command sender being checked for a permission.
  `CommandSender`
  ProxyReloadEvent.`getSender()`
  Creator of the action.
  Constructors in net.md_5.bungee.api.event with parameters of type CommandSender
  Modifier
  Constructor
  Description
  ``
  `PermissionCheckEvent(CommandSender sender, String permission, boolean hasPermission)`
  Creates a new `PermissionCheckEvent` instance.
  ``
  `ProxyReloadEvent(CommandSender sender)`
  Creates a new `ProxyReloadEvent` instance.

- ## Uses of CommandSender in net.md_5.bungee.api.plugin

  Methods in net.md_5.bungee.api.plugin with parameters of type CommandSender
  Modifier and Type
  Method
  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)`

- ## Uses of CommandSender in net.md_5.bungee.command

  Methods in net.md_5.bungee.command with parameters of type CommandSender
  Modifier and Type
  Method
  Description
  `Iterable<String>`
  PlayerCommand.`onTabComplete(CommandSender sender, String[] args)`
  Deprecated.