Uses of Interface
org.bukkit.command.CommandSender
Packages that use 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
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
Classes in co.aikar.timings that implement CommandSenderModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.Methods in co.aikar.timings with parameters of type CommandSenderModifier and TypeMethodDescriptionbooleanTimingsCommand.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 voidTimings.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.Constructors in co.aikar.timings with parameters of type CommandSenderModifierConstructorDescriptionTimingsReportListener(@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.Constructor parameters in co.aikar.timings with type arguments of type CommandSenderModifierConstructorDescriptionTimingsReportListener(@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.entity
Subinterfaces of CommandSender in com.destroystokyo.paper.entity -
Uses of CommandSender in com.destroystokyo.paper.event.server
Methods in com.destroystokyo.paper.event.server that return CommandSenderModifier and TypeMethodDescriptionAsyncTabCompleteEvent.getSender()Get the sender completing this command.Constructors in com.destroystokyo.paper.event.server with parameters of type CommandSenderModifierConstructorDescriptionAsyncTabCompleteEvent(@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 CommandSenderModifier and TypeMethodDescriptionServerCommandException.getCommandSender()Gets the command sender which executed the command requestConstructors in com.destroystokyo.paper.exception with parameters of type CommandSenderModifierConstructorDescriptionprotectedServerCommandException(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) protectedServerTabCompleteException(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
Methods in gg.pufferfish.pufferfish.sentry with parameters of type CommandSenderModifier and TypeMethodDescriptionstatic voidSentryContext.setSenderContext(@Nullable CommandSender sender) -
Uses of CommandSender in io.papermc.paper.entity
Subinterfaces of CommandSender in io.papermc.paper.entityModifier and TypeInterfaceDescriptioninterfaceRepresents an entity that can be bucketed.interfaceEntities that can have their collars colored.interfaceRepresents a fish that can school with other fish.interfaceRepresents an entity that can be sheared. -
Uses of CommandSender in io.papermc.paper.event.world
Methods in io.papermc.paper.event.world that return CommandSenderModifier and TypeMethodDescriptionWorldGameRuleChangeEvent.getCommandSender()Gets the command sender associated with this event.Constructors in io.papermc.paper.event.world with parameters of type CommandSenderModifierConstructorDescriptionWorldGameRuleChangeEvent(@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 CommandSenderModifier and TypeMethodDescriptionPaperComponents.resolveWithContext(@NotNull Component input, @Nullable CommandSender context, @Nullable Entity scoreboardSubject) Resolves a component with a specific command sender and subject.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 CommandSenderModifier and TypeMethodDescriptionstatic @NotNull CommandSenderBukkit.createCommandSender(Consumer<? super Component> feedback) Creates a specialCommandSenderwhich redirects command feedback (in the form of chat messages) to the specified listener.Server.createCommandSender(Consumer<? super Component> feedback) Creates a specialCommandSenderwhich redirects command feedback (in the form of chat messages) to the specified listener.Methods in org.bukkit with parameters of type CommandSenderModifier and TypeMethodDescriptionWorldCreator.biomeProvider(@Nullable String biomeProvider, @Nullable CommandSender output) Sets the biome provider that will be used to create or load the world.static booleanBukkit.dispatchCommand(@NotNull CommandSender sender, @NotNull String commandLine) Dispatches a command on this server, and executes it if found.booleanServer.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 BiomeProviderWorldCreator.getBiomeProviderForName(@NotNull String world, @Nullable String name, @Nullable CommandSender output) Attempts to get theBiomeProviderwith the given name.static @Nullable ChunkGeneratorWorldCreator.getGeneratorForName(@NotNull String world, @Nullable String name, @Nullable CommandSender output) Attempts to get theChunkGeneratorwith 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
Subinterfaces of CommandSender in org.bukkit.commandModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceFor when all you care about is just messaginginterfaceinterfaceClasses in org.bukkit.command that implement CommandSenderMethods in org.bukkit.command that return CommandSenderModifier and TypeMethodDescriptionProxiedCommandSender.getCallee()Returns the CommandSender which is being used to call the commandProxiedCommandSender.getCaller()Returns the CommandSender which triggered this proxied commandMethods in org.bukkit.command with parameters of type CommandSenderModifier and TypeMethodDescriptionstatic voidCommand.broadcastCommandMessage(@NotNull CommandSender source, @NotNull String message) static voidCommand.broadcastCommandMessage(@NotNull CommandSender source, @NotNull String message, boolean sendToSource) static voidCommand.broadcastCommandMessage(@NotNull CommandSender source, @NotNull Component message) static voidCommand.broadcastCommandMessage(@NotNull CommandSender source, @NotNull Component message, boolean sendToSource) booleanCommandMap.dispatch(@NotNull CommandSender sender, @NotNull String cmdLine) Looks for the requested command and executes it if found.booleanSimpleCommandMap.dispatch(@NotNull CommandSender sender, @NotNull String commandLine) Looks for the requested command and executes it if found.abstract booleanCommand.execute(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] args) Executes the command, returning its successbooleanFormattedCommandAlias.execute(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] args) booleanMultipleCommandAlias.execute(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] args) booleanPluginCommand.execute(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] args) Executes the command, returning its successbooleanCommandExecutor.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) booleanCommand.testPermission(@NotNull CommandSender target) Tests the givenCommandSenderto see if they can perform this command.booleanCommand.testPermissionSilent(@NotNull CommandSender target) Tests the givenCommandSenderto 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 CommandSenderModifier and TypeMethodDescriptionbooleanHelpCommand.execute(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args) booleanPluginsCommand.execute(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args) Deprecated, for removal: This API element is subject to removal in a future version.booleanReloadCommand.execute(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args) booleanVersionCommand.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
Subinterfaces of CommandSender in org.bukkit.entityModifier and TypeInterfaceDescriptioninterfaceRepresents an arrow.interfaceRepresents a Horse-like creature.interfaceThis interface defines or represents the abstract concept of skeleton-like entities on the server.interfaceRepresents a villager NPCinterfaceRepresents an entity that can age.interfaceAn Allay.interfaceRepresents an ambient mobinterfaceRepresents an Animal.interfaceRepresents an area effect cloud which will imbue a potion effect onto entities which enter it.interfaceinterfaceinterfaceAn Axolotl.interfaceRepresents a BatinterfaceRepresents a Bee.interfaceRepresents a Blaze monsterinterfaceRepresents a block display entity.interfaceRepresents a boat entity.interfaceRepresents the Boss Entity.interfaceRepresents an entity that can age and breed.interfaceRepresents a Breeze.interfaceRepresents a Camel.interfaceMeow.interfaceRepresents a Spider.interfaceABoatwith a chest.interfaceRepresents Horse-like creatures which can carry an inventory.interfaceRepresents a Chicken.interfaceRepresents a cod fish.interfaceRepresents a single part of aComplexLivingEntityinterfaceRepresents a complex living entity - one that is made up of various smaller partsinterfaceRepresents a Cow.interfaceRepresents a Creature.interfaceRepresents a CreeperinterfaceRepresents anEntitythat has health and can take damage.interfaceRepresents a display entity which is designed to only have a visual function.interfaceinterfaceRepresents a Donkey - variant ofChestedHorse.interfaceinterfaceDrowned zombie.interfaceRepresents a thrown egg.interfaceRepresents an ElderGuardian - variant ofGuardian.interfaceA crystal that heals nearby EnderDragonsinterfaceRepresents an Ender DragoninterfaceRepresents an ender dragon partinterfaceRepresents an Enderman.interfaceinterfaceRepresents a thrown Ender Pearl entityinterfaceRepresents an EnderSignal, which is created upon throwing an ender eye.interfaceRepresents an EnemyinterfaceRepresents a base entity in the worldinterfaceRepresents an Evoker "Illager".interfaceRepresents Evoker Fangs.interfaceRepresents an Experience Orb.interfaceA representation of an explosive entityinterfaceRepresents a falling blockinterfaceRepresents a Fireball.interfaceinterfaceRepresents a fish entity.interfaceRepresents a fishing hook.interfaceRepresents a Flying Entity.interfaceWhat does the fox say?interfaceA Frog.interfaceRepresents a Ghast.interfaceRepresents a Giant.interfaceA Glow Item Frame.interfaceA Glow Squid.interfaceA Goat.interfaceA mechanical creature that may harm enemies.interfaceinterfaceRepresents a Hanging entityinterfaceRepresents a Hoglin.interfaceRepresents a Horse.interfaceRepresents a human entity, such as an NPC or a playerinterfaceRepresents a Husk - variant ofZombie.interfaceRepresents a type of "Illager".interfaceRepresents an Illusioner "Illager".interfaceRepresents an entity designed to only record interactions.interfaceAn iron Golem that protects Villages.interfaceRepresents a dropped item.interfaceRepresents an item display entity.interfaceRepresents an Item FrameinterfaceRepresents a largeFireballinterfaceRepresents a Leash Hitch on a fenceinterfaceRepresents an instance of a lightning strike.interfaceDeprecated, for removal: This API element is subject to removal in a future version.interfaceRepresents a living entity, such as a monster or playerinterfaceRepresents a Llama.interfaceRepresents Llama spit.interfaceRepresents a MagmaCube.interfaceA Marker entity, exists only on the server.interfaceRepresents a minecart entity.interfaceRepresents a Mob.interfaceRepresents a Monster.interfaceRepresents a Mule - variant ofChestedHorse.interfaceRepresents a mushroomCowinterfaceRepresents a non-player characterinterfaceA wild tameable catinterfaceRepresents a Painting.interfacePanda entity.interfaceRepresents a Parrot.interfaceRepresents a phantom.interfaceRepresents a Pig.interfaceRepresents a Piglin.interfacePiglin / Piglin Brute.interfaceRepresents a Piglin Brute.interfaceRepresents a Pig Zombie.interfaceIllager entity.interfaceRepresents a player, connected or notinterfaceRepresents a polar bear.interfaceRepresents a shootable entity.interfaceRepresents a puffer fish.interfaceinterfaceinterfaceIllager beast.interfaceRepresents a salmon fish.interfaceRepresents a Sheep.interfaceinterfaceinterfaceRepresents a Silverfish.interfaceRepresents a sized fireball.interfaceRepresents a Skeleton.interfaceRepresents a SkeletonHorse - variant ofAbstractHorse.interfaceRepresents a Slime.interfaceRepresents a smallFireballinterfaceRepresents a Sniffer.interfaceRepresents a snowball.interfaceRepresents a snowman entityinterfaceRepresents a spectral arrow.interfaceRepresents a spell casting "Illager".interfaceRepresents a Spider.interfaceDeprecated, for removal: This API element is subject to removal in a future version.should not be used for anything, useThrownPotionand set the potion via the methods there.interfaceRepresents a Squid.interfaceRepresents an entity which may be saddled, ridden and steered using an item.interfaceRepresents a Stray - variant ofAbstractSkeleton.interfaceRepresents a Strider.interfaceA babyFrog.interfaceinterfaceRepresents a text display entity.interfaceinterfaceRepresents a thrown Experience bottle.interfaceRepresents a thrown potion bottleinterfaceDeprecated.tipped status depends only on base potion type not being UNCRAFTABLE and effects being empty.interfaceRepresents a Primed TNT.interfaceRepresents a trader Llama.interfaceRepresents a thrown trident.interfaceTropical fish.interfaceRepresents a turtle.interfaceRepresents a vehicle entity.interfaceRepresents a Vex.interfaceRepresents a villager NPCinterfaceRepresents a Vindicator.interfaceRepresents a wandering trader NPCinterfaceA Warden.interfaceRepresents a Water MobinterfaceRepresents a Wind Charge.interfaceRepresents a WitchinterfaceRepresents a Wither bossinterfaceRepresents a WitherSkeleton - variant ofAbstractSkeleton.interfaceRepresents a wither skullFireball.interfaceRepresents a WolfinterfaceRepresents a Zoglin.interfaceRepresents a Zombie.interfaceRepresents a ZombieHorse - variant ofAbstractHorse.interface -
Uses of CommandSender in org.bukkit.entity.minecart
Subinterfaces of CommandSender in org.bukkit.entity.minecartModifier and TypeInterfaceDescriptioninterfaceinterfaceRepresents a Minecart with TNT inside it that can explode when triggered.interfaceRepresents a Minecart with a Hopper inside itinterfaceRepresents a powered minecart.interfaceRepresents a minecart that can have certainentitiesas passengers.interfaceRepresents a Minecart with anentity spawnerinside it.interfaceRepresents a minecart with a chest. -
Uses of CommandSender in org.bukkit.event.command
Methods in org.bukkit.event.command that return CommandSenderModifier and TypeMethodDescriptionUnknownCommandEvent.getSender()Gets the CommandSender or ConsoleCommandSenderConstructors in org.bukkit.event.command with parameters of type CommandSenderModifierConstructorDescriptionUnknownCommandEvent(@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 CommandSenderModifier and TypeMethodDescriptionServerCommandEvent.getSender()Get the command sender.TabCompleteEvent.getSender()Get the sender completing this command.Methods in org.bukkit.event.server that return types with arguments of type CommandSenderModifier and TypeMethodDescriptionBroadcastMessageEvent.getRecipients()Gets a set of recipients that this chat message will be displayed to.Constructors in org.bukkit.event.server with parameters of type CommandSenderModifierConstructorDescriptionRemoteServerCommandEvent(@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 CommandSenderModifierConstructorDescriptionBroadcastMessageEvent(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
Methods in org.bukkit.help with parameters of type CommandSenderModifier 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.booleanGenericCommandHelpTopic.canSee(@NotNull CommandSender sender) abstract booleanHelpTopic.canSee(@NotNull CommandSender player) Determines if aPlayeris allowed to see this help topic.booleanIndexHelpTopic.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
Methods in org.bukkit.plugin.java with parameters of type CommandSenderModifier and TypeMethodDescriptionbooleanJavaPlugin.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
Methods in org.purpurmc.purpur.event that return CommandSenderModifier and TypeMethodDescriptionExecuteCommandEvent.getSender()Gets the sender that this command will be executed as.Methods in org.purpurmc.purpur.event with parameters of type CommandSenderModifier and TypeMethodDescriptionvoidExecuteCommandEvent.setSender(@NotNull CommandSender sender) Sets the sender that this command will be executed as.Constructors in org.purpurmc.purpur.event with parameters of type CommandSenderModifierConstructorDescriptionExecuteCommandEvent(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @Nullable String[] args)
ThrownPotionand set the potion via the methods there.