# Uses of Interface
org.bukkit.command.CommandSender

Packages that use CommandSender
Package
Description
co.aikar.timings
com.destroystokyo.paper.entity
com.destroystokyo.paper.event.server
com.destroystokyo.paper.exception
io.papermc.paper.entity
io.papermc.paper.event.world
io.papermc.paper.text
org.bukkit
The root package of the Bukkit API, contains generalized API classes.
org.bukkit.command
Classes relating to handling specialized non-chat player input.
org.bukkit.command.defaults
Commands for emulating the Minecraft commands and other necessary ones for use by a Bukkit implementation.
org.bukkit.entity
Interfaces for non-voxel objects that can exist in a `world`, including all players, monsters, projectiles, etc.
org.bukkit.entity.minecart
Interfaces for various `Minecart` types.
org.bukkit.event.command
org.bukkit.event.server
`Events` relating to programmatic state changes on the server.
org.bukkit.help
Classes used to manipulate the default command and topic assistance system.
org.bukkit.plugin.java
Classes for handling `plugins` written in java.

## Uses of CommandSender in co.aikar.timings

Classes in co.aikar.timings that implement CommandSender
Modifier and Type
Class
Description
`class`
`TimingsReportListener`
Methods in co.aikar.timings with parameters of type CommandSender
Modifier and Type
Method
Description
`boolean`
TimingsCommand.`execute(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args)`
`static void`
Timings.`generateReport(@Nullable CommandSender sender)`
Generates a report and sends it to the specified command sender.
`@NotNull List<String>`
TimingsCommand.`tabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args)`
Constructors in co.aikar.timings with parameters of type CommandSender
Modifier
Constructor
Description
``
`TimingsReportListener(@NotNull CommandSender senders)`
``
`TimingsReportListener(@NotNull CommandSender sender, @Nullable Runnable onDone)`
Constructor parameters in co.aikar.timings with type arguments of type CommandSender
Modifier
Constructor
Description
``
`TimingsReportListener(@NotNull List<CommandSender> senders)`
``
`TimingsReportListener(@NotNull List<CommandSender> senders, @Nullable Runnable onDone)`

## Uses of CommandSender in com.destroystokyo.paper.entity

Subinterfaces of CommandSender in com.destroystokyo.paper.entity
Modifier and Type
Interface
Description
`interface`
`RangedEntity`

## Uses of CommandSender in com.destroystokyo.paper.event.server

Methods in com.destroystokyo.paper.event.server that return CommandSender
Modifier and Type
Method
Description
`@NotNull CommandSender`
AsyncTabCompleteEvent.`getSender()`
Get the sender completing this command.
Constructors in com.destroystokyo.paper.event.server with parameters of type CommandSender
Modifier
Constructor
Description
``
`AsyncTabCompleteEvent(@NotNull CommandSender sender, @NotNull String buffer, boolean isCommand, @Nullable Location loc)`
``
`AsyncTabCompleteEvent(@NotNull CommandSender sender, @NotNull List<String> completions, @NotNull String buffer, boolean isCommand, @Nullable Location loc)`
Deprecated.

## Uses of CommandSender in com.destroystokyo.paper.exception

Methods in com.destroystokyo.paper.exception that return CommandSender
Modifier and Type
Method
Description
`CommandSender`
ServerCommandException.`getCommandSender()`
Gets the command sender which executed the command request
Constructors in com.destroystokyo.paper.exception with parameters of type CommandSender
Modifier
Constructor
Description
`protected`
`ServerCommandException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Command command, CommandSender commandSender, String[] arguments)`
``
`ServerCommandException(String message, Throwable cause, Command command, CommandSender commandSender, String[] arguments)`
``
`ServerCommandException(Throwable cause, Command command, CommandSender commandSender, String[] arguments)`
`protected`
`ServerTabCompleteException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Command command, CommandSender commandSender, String[] arguments)`
``
`ServerTabCompleteException(String message, Throwable cause, Command command, CommandSender commandSender, String[] arguments)`
``
`ServerTabCompleteException(Throwable cause, Command command, CommandSender commandSender, String[] arguments)`

## Uses of CommandSender in io.papermc.paper.entity

Subinterfaces of CommandSender in io.papermc.paper.entity
Modifier and Type
Interface
Description
`interface`
`Bucketable`
Represents an entity that can be bucketed.
`interface`
`CollarColorable`
Entities that can have their collars colored.
`interface`
`SchoolableFish`
Represents a fish that can school with other fish.

## Uses of CommandSender in io.papermc.paper.event.world

Methods in io.papermc.paper.event.world that return CommandSender
Modifier and Type
Method
Description
`@Nullable CommandSender`
WorldGameRuleChangeEvent.`getCommandSender()`
Gets the command sender associated with this event.
Constructors in io.papermc.paper.event.world with parameters of type CommandSender
Modifier
Constructor
Description
``
`WorldGameRuleChangeEvent(@NotNull World world, @Nullable CommandSender commandSender, @NotNull GameRule<?> gameRule, @NotNull String value)`

## Uses of CommandSender in io.papermc.paper.text

Methods in io.papermc.paper.text with parameters of type CommandSender
Modifier and Type
Method
Description
`static @NotNull Component`
PaperComponents.`resolveWithContext(@NotNull Component input, @Nullable CommandSender context, @Nullable Entity scoreboardSubject)`
Resolves a component with a specific command sender and subject.
`static @NotNull Component`
PaperComponents.`resolveWithContext(@NotNull Component input, @Nullable CommandSender context, @Nullable Entity scoreboardSubject, boolean bypassPermissions)`
Resolves a component with a specific command sender and subject.

## Uses of CommandSender in org.bukkit

Methods in org.bukkit that return CommandSender
Modifier and Type
Method
Description
`static @NotNull CommandSender`
Bukkit.`createCommandSender(Consumer<? super Component> feedback)`
Creates a special `CommandSender` which redirects command feedback (in the form of chat messages) to the specified listener.
`@NotNull CommandSender`
Server.`createCommandSender(Consumer<? super Component> feedback)`
Creates a special `CommandSender` which redirects command feedback (in the form of chat messages) to the specified listener.
Methods in org.bukkit with parameters of type CommandSender
Modifier and Type
Method
Description
`@NotNull WorldCreator`
WorldCreator.`biomeProvider(@Nullable String biomeProvider, @Nullable CommandSender output)`
Sets the biome provider that will be used to create or load the world.
`static boolean`
Bukkit.`dispatchCommand(@NotNull CommandSender sender, @NotNull String commandLine)`
Dispatches a command on this server, and executes it if found.
`boolean`
Server.`dispatchCommand(@NotNull CommandSender sender, @NotNull String commandLine)`
Dispatches a command on this server, and executes it if found.
`@NotNull WorldCreator`
WorldCreator.`generator(@Nullable String generator, @Nullable CommandSender output)`
Sets the generator that will be used to create or load the world.
`static @Nullable BiomeProvider`
WorldCreator.`getBiomeProviderForName(@NotNull String world, @Nullable String name, @Nullable CommandSender output)`
Attempts to get the `BiomeProvider` with the given name.
`static @Nullable ChunkGenerator`
WorldCreator.`getGeneratorForName(@NotNull String world, @Nullable String name, @Nullable CommandSender output)`
Attempts to get the `ChunkGenerator` with the given name.
`Component`
UnsafeValues.`resolveWithContext(Component component, CommandSender context, Entity scoreboardSubject, boolean bypassPermissions)`
Deprecated.
`static @NotNull List<Entity>`
Bukkit.`selectEntities(@NotNull CommandSender sender, @NotNull String selector)`
Selects entities using the given Vanilla selector.
`@NotNull List<Entity>`
Server.`selectEntities(@NotNull CommandSender sender, @NotNull String selector)`
Selects entities using the given Vanilla selector.

## Uses of CommandSender in org.bukkit.command

Subinterfaces of CommandSender in org.bukkit.command
Modifier and Type
Interface
Description
`interface`
`BlockCommandSender`
`interface`
`ConsoleCommandSender`
`interface`
`MessageCommandSender`
For when all you care about is just messaging
`interface`
`ProxiedCommandSender`
`interface`
`RemoteConsoleCommandSender`
Classes in org.bukkit.command that implement CommandSender
Modifier and Type
Class
Description
`class`
`BufferedCommandSender`
Methods in org.bukkit.command that return CommandSender
Modifier and Type
Method
Description
`@NotNull CommandSender`
ProxiedCommandSender.`getCallee()`
Returns the CommandSender which is being used to call the command
`@NotNull CommandSender`
ProxiedCommandSender.`getCaller()`
Returns the CommandSender which triggered this proxied command
Methods in org.bukkit.command with parameters of type CommandSender
Modifier and Type
Method
Description
`static void`
Command.`broadcastCommandMessage(@NotNull CommandSender source, @NotNull String message)`
`static void`
Command.`broadcastCommandMessage(@NotNull CommandSender source, @NotNull String message, boolean sendToSource)`
`static void`
Command.`broadcastCommandMessage(@NotNull CommandSender source, Component message)`
`static void`
Command.`broadcastCommandMessage(@NotNull CommandSender source, Component message, boolean sendToSource)`
`boolean`
CommandMap.`dispatch(@NotNull CommandSender sender, @NotNull String cmdLine)`
Looks for the requested command and executes it if found.
`boolean`
SimpleCommandMap.`dispatch(@NotNull CommandSender sender, @NotNull String commandLine)`
Looks for the requested command and executes it if found.
`abstract boolean`
Command.`execute(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] args)`
Executes the command, returning its success
`boolean`
FormattedCommandAlias.`execute(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] args)`
`boolean`
MultipleCommandAlias.`execute(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] args)`
`boolean`
PluginCommand.`execute(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] args)`
Executes the command, returning its success
`boolean`
CommandExecutor.`onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args)`
Executes the given command, returning its success.
`@Nullable List<String>`
TabCompleter.`onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args)`
Requests a list of possible completions for a command argument.
`@NotNull List<String>`
Command.`tabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args)`
Executed on tab completion for this command, returning a list of options the player can tab through.
`@NotNull List<String>`
Command.`tabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args, @Nullable Location location)`
Executed on tab completion for this command, returning a list of options the player can tab through.
`@Nullable List<String>`
CommandMap.`tabComplete(@NotNull CommandSender sender, @NotNull String cmdLine)`
Looks for the requested command and executes an appropriate tab-completer if found.
`@Nullable List<String>`
CommandMap.`tabComplete(@NotNull CommandSender sender, @NotNull String cmdLine, @Nullable Location location)`
Looks for the requested command and executes an appropriate tab-completer if found.
`List<String>`
PluginCommand.`tabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args)`
Executed on tab completion for this command, returning a list of options the player can tab through.
`@Nullable List<String>`
SimpleCommandMap.`tabComplete(@NotNull CommandSender sender, @NotNull String cmdLine)`
`@Nullable List<String>`
SimpleCommandMap.`tabComplete(@NotNull CommandSender sender, @NotNull String cmdLine, @Nullable Location location)`
`boolean`
Command.`testPermission(@NotNull CommandSender target)`
Tests the given `CommandSender` to see if they can perform this command.
`boolean`
Command.`testPermissionSilent(@NotNull CommandSender target)`
Tests the given `CommandSender` to see if they can perform this command.

## Uses of CommandSender in org.bukkit.command.defaults

Methods in org.bukkit.command.defaults with parameters of type CommandSender
Modifier and Type
Method
Description
`boolean`
HelpCommand.`execute(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args)`
`boolean`
PluginsCommand.`execute(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args)`
`boolean`
ReloadCommand.`execute(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args)`
`boolean`
VersionCommand.`execute(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args)`
`@NotNull List<String>`
HelpCommand.`tabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args)`
`@NotNull List<String>`
PluginsCommand.`tabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args)`
`@NotNull List<String>`
ReloadCommand.`tabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args)`
`@NotNull List<String>`
VersionCommand.`tabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args)`

## Uses of CommandSender in org.bukkit.entity

Subinterfaces of CommandSender in org.bukkit.entity
Modifier and Type
Interface
Description
`interface`
`AbstractArrow`
Represents an arrow.
`interface`
`AbstractHorse`
Represents a Horse-like creature.
`interface`
`AbstractSkeleton`
This interface defines or represents the abstract concept of skeleton-like entities on the server.
`interface`
`AbstractVillager`
Represents a villager NPC
`interface`
`Ageable`
Represents an entity that can age.
`interface`
`Allay`
An Allay.
`interface`
`Ambient`
Represents an ambient mob
`interface`
`Animals`
Represents an Animal.
`interface`
`AreaEffectCloud`
Represents an area effect cloud which will imbue a potion effect onto entities which enter it.
`interface`
`ArmorStand`
`interface`
`Arrow`
`interface`
`Axolotl`
An Axolotl.
`interface`
`Bat`
Represents a Bat
`interface`
`Bee`
Represents a Bee.
`interface`
`Blaze`
Represents a Blaze monster
`interface`
`Boat`
Represents a boat entity.
`interface`
`Boss`
Represents the Boss Entity.
`interface`
`Breedable`
Represents an entity that can age and breed.
`interface`
`Camel`
Represents a Camel.
`interface`
`Cat`
Meow.
`interface`
`CaveSpider`
Represents a Spider.
`interface`
`ChestBoat`
A `Boat` with a chest.
`interface`
`ChestedHorse`
Represents Horse-like creatures which can carry an inventory.
`interface`
`Chicken`
Represents a Chicken.
`interface`
`Cod`
Represents a cod fish.
`interface`
`ComplexEntityPart`
Represents a single part of a `ComplexLivingEntity`
`interface`
`ComplexLivingEntity`
Represents a complex living entity - one that is made up of various smaller parts
`interface`
`Cow`
Represents a Cow.
`interface`
`Creature`
Represents a Creature.
`interface`
`Creeper`
Represents a Creeper
`interface`
`Damageable`
Represents an `Entity` that has health and can take damage.
`interface`
`Dolphin`
`interface`
`Donkey`
Represents a Donkey - variant of `ChestedHorse`.
`interface`
`DragonFireball`
`interface`
`Drowned`
Drowned zombie.
`interface`
`Egg`
Represents a thrown egg.
`interface`
`ElderGuardian`
Represents an ElderGuardian - variant of `Guardian`.
`interface`
`EnderCrystal`
A crystal that heals nearby EnderDragons
`interface`
`EnderDragon`
Represents an Ender Dragon
`interface`
`EnderDragonPart`
Represents an ender dragon part
`interface`
`Enderman`
Represents an Enderman.
`interface`
`Endermite`
`interface`
`EnderPearl`
Represents a thrown Ender Pearl entity
`interface`
`EnderSignal`
Represents an EnderSignal, which is created upon throwing an ender eye.
`interface`
`Entity`
Represents a base entity in the world
`interface`
`Evoker`
Represents an Evoker "Illager".
`interface`
`EvokerFangs`
Represents Evoker Fangs.
`interface`
`ExperienceOrb`
Represents an Experience Orb.
`interface`
`Explosive`
A representation of an explosive entity
`interface`
`FallingBlock`
Represents a falling block
`interface`
`Fireball`
Represents a Fireball.
`interface`
`Firework`
`interface`
`Fish`
Represents a fish entity.
`interface`
`FishHook`
Represents a fishing hook.
`interface`
`Flying`
Represents a Flying Entity.
`interface`
`Fox`
What does the fox say?
`interface`
`Frog`
A Frog.
`interface`
`Ghast`
Represents a Ghast.
`interface`
`Giant`
Represents a Giant.
`interface`
`GlowItemFrame`
A Glow Item Frame.
`interface`
`GlowSquid`
A Glow Squid.
`interface`
`Goat`
A Goat.
`interface`
`Golem`
A mechanical creature that may harm enemies.
`interface`
`Guardian`
`interface`
`Hanging`
Represents a Hanging entity
`interface`
`Hoglin`
Represents a Hoglin.
`interface`
`Horse`
Represents a Horse.
`interface`
`HumanEntity`
Represents a human entity, such as an NPC or a player
`interface`
`Husk`
Represents a Husk - variant of `Zombie`.
`interface`
`Illager`
Represents a type of "Illager".
`interface`
`Illusioner`
Represents an Illusioner "Illager".
`interface`
`IronGolem`
An iron Golem that protects Villages.
`interface`
`Item`
Represents a dropped item.
`interface`
`ItemFrame`
Represents an Item Frame
`interface`
`LargeFireball`
Represents a large `Fireball`
`interface`
`LeashHitch`
Represents a Leash Hitch on a fence
`interface`
`LightningStrike`
Represents an instance of a lightning strike.
`interface`
`LingeringPotion`
Deprecated, for removal: This API element is subject to removal in a future version.
should not be used for anything, use `ThrownPotion` and set the potion via the methods there.
`interface`
`LivingEntity`
Represents a living entity, such as a monster or player
`interface`
`Llama`
Represents a Llama.
`interface`
`LlamaSpit`
Represents Llama spit.
`interface`
`MagmaCube`
Represents a MagmaCube.
`interface`
`Marker`
A Marker entity, exists only on the server.
`interface`
`Minecart`
Represents a minecart entity.
`interface`
`Mob`
Represents a Mob.
`interface`
`Monster`
Represents a Monster.
`interface`
`Mule`
Represents a Mule - variant of `ChestedHorse`.
`interface`
`MushroomCow`
Represents a mushroom `Cow`
`interface`
`NPC`
Represents a non-player character
`interface`
`Ocelot`
A wild tameable cat
`interface`
`Painting`
Represents a Painting.
`interface`
`Panda`
Panda entity.
`interface`
`Parrot`
Represents a Parrot.
`interface`
`Phantom`
Represents a phantom.
`interface`
`Pig`
Represents a Pig.
`interface`
`Piglin`
Represents a Piglin.
`interface`
`PiglinAbstract`
Piglin / Piglin Brute.
`interface`
`PiglinBrute`
Represents a Piglin Brute.
`interface`
`PigZombie`
Represents a Pig Zombie.
`interface`
`Pillager`
Illager entity.
`interface`
`Player`
Represents a player, connected or not
`interface`
`PolarBear`
Represents a polar bear.
`interface`
`Projectile`
Represents a shootable entity.
`interface`
`PufferFish`
Represents a puffer fish.
`interface`
`Rabbit`
`interface`
`Raider`
`interface`
`Ravager`
Illager beast.
`interface`
`Salmon`
Represents a salmon fish.
`interface`
`Sheep`
Represents a Sheep.
`interface`
`Shulker`
`interface`
`ShulkerBullet`
`interface`
`Silverfish`
Represents a Silverfish.
`interface`
`SizedFireball`
Represents a sized fireball.
`interface`
`Skeleton`
Represents a Skeleton.
`interface`
`SkeletonHorse`
Represents a SkeletonHorse - variant of `AbstractHorse`.
`interface`
`Slime`
Represents a Slime.
`interface`
`SmallFireball`
Represents a small `Fireball`
`interface`
`Snowball`
Represents a snowball.
`interface`
`Snowman`
Represents a snowman entity
`interface`
`SpectralArrow`
Represents a spectral arrow.
`interface`
`Spellcaster`
Represents a spell casting "Illager".
`interface`
`Spider`
Represents a Spider.
`interface`
`SplashPotion`
Deprecated, for removal: This API element is subject to removal in a future version.
should not be used for anything, use `ThrownPotion` and set the potion via the methods there.
`interface`
`Squid`
Represents a Squid.
`interface`
`Steerable`
Represents an entity which may be saddled, ridden and steered using an item.
`interface`
`Stray`
Represents a Stray - variant of `AbstractSkeleton`.
`interface`
`Strider`
Represents a Strider.
`interface`
`Tadpole`
A baby `Frog`.
`interface`
`Tameable`
`interface`
`ThrowableProjectile`
`interface`
`ThrownExpBottle`
Represents a thrown Experience bottle.
`interface`
`ThrownPotion`
Represents a thrown potion bottle
`interface`
`TippedArrow`
Deprecated.
tipped status depends only on base potion type not being UNCRAFTABLE and effects being empty.
`interface`
`TNTPrimed`
Represents a Primed TNT.
`interface`
`TraderLlama`
Represents a trader Llama.
`interface`
`Trident`
Represents a thrown trident.
`interface`
`TropicalFish`
Tropical fish.
`interface`
`Turtle`
Represents a turtle.
`interface`
`Vehicle`
Represents a vehicle entity.
`interface`
`Vex`
Represents a Vex.
`interface`
`Villager`
Represents a villager NPC
`interface`
`Vindicator`
Represents a Vindicator.
`interface`
`WanderingTrader`
Represents a wandering trader NPC
`interface`
`Warden`
A Warden.
`interface`
`WaterMob`
Represents a Water Mob
`interface`
`Witch`
Represents a Witch
`interface`
`Wither`
Represents a Wither boss
`interface`
`WitherSkeleton`
Represents a WitherSkeleton - variant of `AbstractSkeleton`.
`interface`
`WitherSkull`
Represents a wither skull `Fireball`.
`interface`
`Wolf`
Represents a Wolf
`interface`
`Zoglin`
Represents a Zoglin.
`interface`
`Zombie`
Represents a Zombie.
`interface`
`ZombieHorse`
Represents a ZombieHorse - variant of `AbstractHorse`.
`interface`
`ZombieVillager`
Represents a `Zombie` which was once a `Villager`.

## Uses of CommandSender in org.bukkit.entity.minecart

Subinterfaces of CommandSender in org.bukkit.entity.minecart
Modifier and Type
Interface
Description
`interface`
`CommandMinecart`
`interface`
`ExplosiveMinecart`
Represents a Minecart with TNT inside it that can explode when triggered.
`interface`
`HopperMinecart`
Represents a Minecart with a Hopper inside it
`interface`
`PoweredMinecart`
Represents a powered minecart.
`interface`
`RideableMinecart`
Represents a minecart that can have certain `entities` as passengers.
`interface`
`SpawnerMinecart`
Represents a Minecart with an `entity spawner` inside it.
`interface`
`StorageMinecart`
Represents a minecart with a chest.

## Uses of CommandSender in org.bukkit.event.command

Methods in org.bukkit.event.command that return CommandSender
Modifier and Type
Method
Description
`@NotNull CommandSender`
UnknownCommandEvent.`getSender()`
Gets the CommandSender or ConsoleCommandSender
Constructors in org.bukkit.event.command with parameters of type CommandSender
Modifier
Constructor
Description
``
`UnknownCommandEvent(@NotNull CommandSender sender, @NotNull String commandLine, @Nullable String message)`
Deprecated.
``
`UnknownCommandEvent(@NotNull CommandSender sender, @NotNull String commandLine, @Nullable Component message)`

## Uses of CommandSender in org.bukkit.event.server

Methods in org.bukkit.event.server that return CommandSender
Modifier and Type
Method
Description
`@NotNull CommandSender`
ServerCommandEvent.`getSender()`
Get the command sender.
`@NotNull CommandSender`
TabCompleteEvent.`getSender()`
Get the sender completing this command.
Methods in org.bukkit.event.server that return types with arguments of type CommandSender
Modifier and Type
Method
Description
`@NotNull Set<CommandSender>`
BroadcastMessageEvent.`getRecipients()`
Gets a set of recipients that this chat message will be displayed to.
Constructors in org.bukkit.event.server with parameters of type CommandSender
Modifier
Constructor
Description
``
`RemoteServerCommandEvent(@NotNull CommandSender sender, @NotNull String command)`
``
`ServerCommandEvent(@NotNull CommandSender sender, @NotNull String command)`
``
`TabCompleteEvent(@NotNull CommandSender sender, @NotNull String buffer, @NotNull List<String> completions)`
``
`TabCompleteEvent(@NotNull CommandSender sender, @NotNull String buffer, @NotNull List<String> completions, boolean isCommand, Location location)`
Constructor parameters in org.bukkit.event.server with type arguments of type CommandSender
Modifier
Constructor
Description
``
`BroadcastMessageEvent(boolean isAsync, @NotNull String message, @NotNull Set<CommandSender> recipients)`
Deprecated.
``
`BroadcastMessageEvent(boolean isAsync, Component message, @NotNull Set<CommandSender> recipients)`
``
`BroadcastMessageEvent(@NotNull String message, @NotNull Set<CommandSender> recipients)`
Deprecated.
``
`BroadcastMessageEvent(Component message, @NotNull Set<CommandSender> recipients)`
Deprecated.

## Uses of CommandSender in org.bukkit.help

Methods in org.bukkit.help with parameters of type CommandSender
Modifier and Type
Method
Description
`protected @NotNull String`
IndexHelpTopic.`buildIndexLine(@NotNull CommandSender sender, @NotNull HelpTopic topic)`
Builds individual lines in the index topic.
`protected @NotNull String`
IndexHelpTopic.`buildPreamble(@NotNull CommandSender sender)`
Builds the topic preamble.
`boolean`
GenericCommandHelpTopic.`canSee(@NotNull CommandSender sender)`
`abstract boolean`
HelpTopic.`canSee(@NotNull CommandSender player)`
Determines if a `Player` is allowed to see this help topic.
`boolean`
IndexHelpTopic.`canSee(@NotNull CommandSender sender)`
`@NotNull String`
HelpTopic.`getFullText(@NotNull CommandSender forWho)`
Returns the full description of this help topic that is displayed when the user requests this topic's details.
`@NotNull String`
IndexHelpTopic.`getFullText(@NotNull CommandSender sender)`

## Uses of CommandSender in org.bukkit.plugin.java

Methods in org.bukkit.plugin.java with parameters of type CommandSender
Modifier and Type
Method
Description
`boolean`
JavaPlugin.`onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args)`
Executes the given command, returning its success.
`@Nullable List<String>`
JavaPlugin.`onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String alias, @NotNull String[] args)`
Requests a list of possible completions for a command argument.