Uses of Interface
org.bukkit.command.CommandSender
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes relating to handling specialized non-chat player input.
Commands for emulating the Minecraft commands and other necessary ones for
use by a Bukkit implementation.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Interfaces for various
Boat
types.Interfaces for various
Minecart
types.Events
relating to programmatic state
changes on the server.Classes used to manipulate the default command and topic assistance system.
Classes for handling
plugins
written in
java.-
Uses of CommandSender in co.aikar.timings
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.Timings will be removed in the futureModifier and TypeMethodDescriptionboolean
TimingsCommand.execute
(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args) Deprecated, for removal: This API element is subject to removal in a future version.static void
Timings.generateReport
(@Nullable CommandSender sender) Deprecated, for removal: This API element is subject to removal in a future version.Generates a report and sends it to the specified command sender.TimingsCommand.tabComplete
(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args) Deprecated, for removal: This API element is subject to removal in a future version.ModifierConstructorDescriptionTimingsReportListener
(@NotNull CommandSender senders) Deprecated, for removal: This API element is subject to removal in a future version.TimingsReportListener
(@NotNull CommandSender sender, @Nullable Runnable onDone) Deprecated, for removal: This API element is subject to removal in a future version.ModifierConstructorDescriptionTimingsReportListener
(@NotNull List<CommandSender> senders) Deprecated, for removal: This API element is subject to removal in a future version.TimingsReportListener
(@NotNull List<CommandSender> senders, @Nullable Runnable onDone) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of CommandSender in com.destroystokyo.paper.brigadier
Modifier and TypeMethodDescriptionBukkitBrigadierCommandSource.getBukkitSender()
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of CommandSender in com.destroystokyo.paper.entity
-
Uses of CommandSender in com.destroystokyo.paper.event.server
Modifier and TypeMethodDescriptionAsyncTabCompleteEvent.getSender()
Get the sender completing this command.ModifierConstructorDescriptionAsyncTabCompleteEvent
(CommandSender sender, String buffer, boolean isCommand, @Nullable Location loc) AsyncTabCompleteEvent
(CommandSender sender, List<String> completions, String buffer, boolean isCommand, @Nullable Location loc) Deprecated. -
Uses of CommandSender in com.destroystokyo.paper.exception
Modifier and TypeMethodDescriptionServerCommandException.getCommandSender()
Gets the command sender which executed the command requestModifierConstructorDescriptionprotected
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 gg.pufferfish.pufferfish.sentry
Modifier and TypeMethodDescriptionstatic void
SentryContext.setSenderContext
(@Nullable CommandSender sender) -
Uses of CommandSender in io.papermc.paper.command.brigadier
Modifier and TypeMethodDescriptionCommandSourceStack.getSender()
Gets the command sender that executed this command.Modifier and TypeMethodDescriptiondefault boolean
BasicCommand.canUse
(CommandSender sender) Checks whether a command sender can receive and run the root command. -
Uses of CommandSender in io.papermc.paper.entity
Modifier and TypeInterfaceDescriptioninterface
Represents an entity that can be bucketed.interface
Entities that can have their collars colored.interface
Represents an entity that can be leashed.interface
Represents a fish that can school with other fish.interface
Represents an entity that can be sheared. -
Uses of CommandSender in io.papermc.paper.event.world
Modifier and TypeMethodDescriptionWorldGameRuleChangeEvent.getCommandSender()
Gets the command sender associated with this event.ModifierConstructorDescriptionWorldGameRuleChangeEvent
(World world, @Nullable CommandSender commandSender, GameRule<?> gameRule, String value) -
Uses of CommandSender in io.papermc.paper.text
Modifier and TypeMethodDescriptionstatic Component
PaperComponents.resolveWithContext
(Component input, @Nullable CommandSender context, @Nullable Entity scoreboardSubject) Resolves a component with a specific command sender and subject.static Component
PaperComponents.resolveWithContext
(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
Modifier and TypeMethodDescriptionstatic @NotNull CommandSender
Bukkit.createCommandSender
(Consumer<? super Component> feedback) Creates a specialCommandSender
which redirects command feedback (in the form of chat messages) to the specified listener.Server.createCommandSender
(Consumer<? super Component> feedback) Creates a specialCommandSender
which redirects command feedback (in the form of chat messages) to the specified listener.Modifier and TypeMethodDescriptionWorldCreator.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.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 theBiomeProvider
with the given name.static @Nullable ChunkGenerator
WorldCreator.getGeneratorForName
(@NotNull String world, @Nullable String name, @Nullable CommandSender output) Attempts to get theChunkGenerator
with the given name.UnsafeValues.resolveWithContext
(Component component, CommandSender context, Entity scoreboardSubject, boolean bypassPermissions) Deprecated.Bukkit.selectEntities
(@NotNull CommandSender sender, @NotNull String selector) Selects entities using the given Vanilla selector.Server.selectEntities
(@NotNull CommandSender sender, @NotNull String selector) Selects entities using the given Vanilla selector. -
Uses of CommandSender in org.bukkit.command
Modifier and TypeInterfaceDescriptioninterface
interface
interface
Deprecated, for removal: This API element is subject to removal in a future version.Timings will be removed in the futureinterface
interface
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.Timings will be removed in the futureModifier and TypeMethodDescriptionProxiedCommandSender.getCallee()
Returns the CommandSender which is being used to call the commandProxiedCommandSender.getCaller()
Returns the CommandSender which triggered this proxied commandModifier and TypeMethodDescriptionstatic 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, @NotNull Component message) static void
Command.broadcastCommandMessage
(@NotNull CommandSender source, @NotNull 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 successboolean
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 successboolean
CommandExecutor.onCommand
(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) Executes the given command, returning its success.TabCompleter.onTabComplete
(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) Requests a list of possible completions for a command argument.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.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.CommandMap.tabComplete
(@NotNull CommandSender sender, @NotNull String cmdLine) Looks for the requested command and executes an appropriate tab-completer if found.CommandMap.tabComplete
(@NotNull CommandSender sender, @NotNull String cmdLine, @Nullable Location location) Looks for the requested command and executes an appropriate tab-completer if found.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.SimpleCommandMap.tabComplete
(@NotNull CommandSender sender, @NotNull String cmdLine) SimpleCommandMap.tabComplete
(@NotNull CommandSender sender, @NotNull String cmdLine, @Nullable Location location) boolean
Command.testPermission
(@NotNull CommandSender target) Tests the givenCommandSender
to see if they can perform this command.boolean
Command.testPermissionSilent
(@NotNull CommandSender target) Tests the givenCommandSender
to see if they can perform this command. -
Uses of CommandSender in org.bukkit.command.defaults
Modifier and TypeMethodDescriptionboolean
HelpCommand.execute
(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args) boolean
PluginsCommand.execute
(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args) Deprecated, for removal: This API element is subject to removal in a future version.boolean
ReloadCommand.execute
(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args) boolean
VersionCommand.execute
(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args) HelpCommand.tabComplete
(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args) PluginsCommand.tabComplete
(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args) Deprecated, for removal: This API element is subject to removal in a future version.ReloadCommand.tabComplete
(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args) VersionCommand.tabComplete
(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args) -
Uses of CommandSender in org.bukkit.entity
Modifier and TypeInterfaceDescriptioninterface
Represents an arrow.interface
Represents a Horse-like creature.interface
This interface defines or represents the abstract concept of skeleton-like entities on the server.interface
Represents a villager NPCinterface
Represents a Wind Charge.interface
Represents an entity that can age.interface
An Allay.interface
Represents an ambient mobinterface
Represents an Animal.interface
Represents an area effect cloud which will imbue a potion effect onto entities which enter it.interface
Represents an Armadillo.interface
interface
interface
An Axolotl.interface
Represents a Batinterface
Represents a Bee.interface
Represents a Blaze monsterinterface
Represents a block display entity.interface
Represents a boat entity.interface
Represents a Bogged Skeleton.interface
Represents the Boss Entity.interface
Represents an entity that can age and breed.interface
Represents a Breeze.interface
Represents a Wind Charge.interface
Represents a Camel.interface
Meow.interface
Represents a Spider.interface
ABoat
with a chest.interface
Represents Horse-like creatures which can carry an inventory.interface
Represents a Chicken.interface
Represents a cod fish.interface
Represents a single part of aComplexLivingEntity
interface
Represents a complex living entity - one that is made up of various smaller partsinterface
Represents a Cow.interface
Represents a Creaking.interface
Represents a Creaking spawned from a creaking heart which will not persist.interface
Represents a Creature.interface
Represents a Creeperinterface
Represents anEntity
that has health and can take damage.interface
Represents a display entity which is designed to only have a visual function.interface
interface
Represents a Donkey - variant ofChestedHorse
.interface
interface
Drowned zombie.interface
Represents a thrown egg.interface
Represents an ElderGuardian - variant ofGuardian
.interface
A crystal that heals nearby EnderDragonsinterface
Represents an Ender Dragoninterface
Represents an ender dragon partinterface
Represents an Enderman.interface
interface
Represents a thrown Ender Pearl entityinterface
Represents an EnderSignal, which is created upon throwing an ender eye.interface
Represents an Enemyinterface
Represents a base entity in the worldinterface
Represents an Evoker "Illager".interface
Represents Evoker Fangs.interface
Represents an Experience Orb.interface
A representation of an explosive entityinterface
Represents a falling blockinterface
Represents a Fireball.interface
interface
Represents a fish entity.interface
Represents a fishing hook.interface
Represents a Flying Entity.interface
What does the fox say?interface
A Frog.interface
Represents a Ghast.interface
Represents a Giant.interface
A Glow Item Frame.interface
A Glow Squid.interface
A Goat.interface
A mechanical creature that may harm enemies.interface
interface
Represents a Hanging entityinterface
Represents a Hoglin.interface
Represents a Horse.interface
Represents a human entity, such as an NPC or a playerinterface
Represents a Husk - variant ofZombie
.interface
Represents a type of "Illager".interface
Represents an Illusioner "Illager".interface
Represents an entity designed to only record interactions.interface
An iron Golem that protects Villages.interface
Represents a dropped item.interface
Represents an item display entity.interface
Represents an Item Frameinterface
Represents a largeFireball
interface
Represents a Leash Hitch on a fenceinterface
Represents an instance of a lightning strike.interface
Deprecated, for removal: This API element is subject to removal in a future version.should not be used for anything, useThrownPotion
and set the potion via the methods there.interface
Represents a living entity, such as a monster or playerinterface
Represents a Llama.interface
Represents Llama spit.interface
Represents a MagmaCube.interface
A Marker entity, exists only on the server.interface
Represents a minecart entity.interface
Represents a Mob.interface
Represents a Monster.interface
Represents a Mule - variant ofChestedHorse
.interface
Represents a mushroomCow
interface
Represents a non-player characterinterface
A wild tameable catinterface
Represents an ominous item spawner.interface
Represents a Painting.interface
Panda entity.interface
Represents a Parrot.interface
Represents a phantom.interface
Represents a Pig.interface
Represents a Piglin.interface
Piglin / Piglin Brute.interface
Represents a Piglin Brute.interface
Represents a Pig Zombie.interface
Illager entity.interface
Represents a player, connected or notinterface
Represents a polar bear.interface
Represents a shootable entity.interface
Represents a puffer fish.interface
interface
interface
Illager beast.interface
Represents a salmon fish.interface
Represents a Sheep.interface
interface
interface
Represents a Silverfish.interface
Represents a sized fireball.interface
Represents a Skeleton.interface
Represents a SkeletonHorse - variant ofAbstractHorse
.interface
Represents a Slime.interface
Represents a smallFireball
interface
Represents a Sniffer.interface
Represents a snowball.interface
Represents a snowman entityinterface
Represents a spectral arrow.interface
Represents a spell casting "Illager".interface
Represents a Spider.interface
Deprecated, for removal: This API element is subject to removal in a future version.should not be used for anything, useThrownPotion
and set the potion via the methods there.interface
Represents a Squid.interface
Represents an entity which may be saddled, ridden and steered using an item.interface
Represents a Stray - variant ofAbstractSkeleton
.interface
Represents a Strider.interface
A babyFrog
.interface
interface
Represents a text display entity.interface
interface
Represents a thrown Experience bottle.interface
Represents a thrown potion bottleinterface
Deprecated.tipped status depends only on base potion type not being UNCRAFTABLE and effects being empty.interface
Represents a Primed TNT.interface
Represents a trader Llama.interface
Represents a thrown trident.interface
Tropical fish.interface
Represents a turtle.interface
Represents a vehicle entity.interface
Represents a Vex.interface
Represents a villager NPCinterface
Represents a Vindicator.interface
Represents a wandering trader NPCinterface
A Warden.interface
Represents a Water Mobinterface
Represents a Wind Charge.interface
Represents a Witchinterface
Represents a Wither bossinterface
Represents a WitherSkeleton - variant ofAbstractSkeleton
.interface
Represents a wither skullFireball
.interface
Represents a Wolfinterface
Represents a Zoglin.interface
Represents a Zombie.interface
Represents a ZombieHorse - variant ofAbstractHorse
.interface
-
Uses of CommandSender in org.bukkit.entity.boat
Modifier and TypeInterfaceDescriptioninterface
Represents an acacia boat.interface
Represents an acacia chest boat.interface
Represents a bamboo chest raft.interface
Represents a bamboo raft.interface
Represents a birch boat.interface
Represents a birch chest boat.interface
Represents a cherry boat.interface
Represents a cherry chest boat.interface
Represents a dark oak boat.interface
Represents a dark oak chest boat.interface
Represents a jungle boat.interface
Represents a jungle chest boat.interface
Represents a mangrove boat.interface
Represents a mangrove chest boat.interface
Represents an oak boat.interface
Represents an oak chest boat.interface
Represents an pale oak boat.interface
Represents an pale oak chest boat.interface
Represents a spruce boat.interface
Represents a spruce chest boat. -
Uses of CommandSender in org.bukkit.entity.minecart
Modifier and TypeInterfaceDescriptioninterface
interface
Represents a Minecart with TNT inside it that can explode when triggered.interface
Represents a Minecart with a Hopper inside itinterface
Represents a powered minecart.interface
Represents a minecart that can have certainentities
as passengers.interface
Represents a Minecart with anentity spawner
inside it.interface
Represents a minecart with a chest. -
Uses of CommandSender in org.bukkit.event.command
Modifier and TypeMethodDescriptionUnknownCommandEvent.getSender()
Gets the CommandSender or ConsoleCommandSenderModifierConstructorDescriptionUnknownCommandEvent
(CommandSender sender, String commandLine, @Nullable Component message) -
Uses of CommandSender in org.bukkit.event.server
Modifier and TypeMethodDescriptionServerCommandEvent.getSender()
Get the command sender.TabCompleteEvent.getSender()
Get the sender completing this command.Modifier and TypeMethodDescriptionBroadcastMessageEvent.getRecipients()
Gets a set of recipients that this chat message will be displayed to.ModifierConstructorDescriptionRemoteServerCommandEvent
(@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) ModifierConstructorDescriptionBroadcastMessageEvent
(boolean isAsync, @NotNull String message, @NotNull Set<CommandSender> recipients) Deprecated.BroadcastMessageEvent
(boolean isAsync, @NotNull Component message, @NotNull Set<CommandSender> recipients) BroadcastMessageEvent
(@NotNull String message, @NotNull Set<CommandSender> recipients) Deprecated.BroadcastMessageEvent
(@NotNull Component message, @NotNull Set<CommandSender> recipients) Deprecated. -
Uses of CommandSender in org.bukkit.help
Modifier and TypeMethodDescriptionIndexHelpTopic.buildIndexLine
(@NotNull CommandSender sender, @NotNull HelpTopic topic) Builds individual lines in the index topic.IndexHelpTopic.buildPreamble
(@NotNull CommandSender sender) Builds the topic preamble.boolean
GenericCommandHelpTopic.canSee
(@NotNull CommandSender sender) abstract boolean
HelpTopic.canSee
(@NotNull CommandSender player) Determines if aPlayer
is allowed to see this help topic.boolean
IndexHelpTopic.canSee
(@NotNull CommandSender sender) HelpTopic.getFullText
(@NotNull CommandSender forWho) Returns the full description of this help topic that is displayed when the user requests this topic's details.IndexHelpTopic.getFullText
(@NotNull CommandSender sender) -
Uses of CommandSender in org.bukkit.plugin.java
Modifier and TypeMethodDescriptionboolean
JavaPlugin.onCommand
(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) Executes the given command, returning its success.JavaPlugin.onTabComplete
(@NotNull CommandSender sender, @NotNull Command command, @NotNull String alias, @NotNull String[] args) Requests a list of possible completions for a command argument. -
Uses of CommandSender in org.purpurmc.purpur.event
Modifier and TypeMethodDescriptionExecuteCommandEvent.getSender()
Gets the sender that this command will be executed as.Modifier and TypeMethodDescriptionvoid
ExecuteCommandEvent.setSender
(CommandSender sender) Sets the sender that this command will be executed as.ModifierConstructorDescriptionExecuteCommandEvent
(CommandSender sender, Command command, String label, @Nullable String[] args)