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 CommandSenderMethods in co.aikar.timings with parameters of type CommandSenderModifier and TypeMethodDescriptionbooleanTimingsCommand.execute(@NotNull CommandSender sender, @NotNull String currentAlias, @NotNull String[] args)static voidTimings.generateReport(@Nullable CommandSender sender)Generates a report and sends it to the specified command sender.TimingsCommand.tabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args)Constructors in co.aikar.timings with parameters of type CommandSenderModifierConstructorDescriptionTimingsReportListener(@NotNull CommandSender senders)TimingsReportListener(@NotNull CommandSender sender, @Nullable Runnable onDone)Constructor parameters in co.aikar.timings with type arguments of type CommandSenderModifierConstructorDescriptionTimingsReportListener(@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 -
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 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 org.bukkit
Methods in org.bukkit with parameters of type CommandSenderModifier and TypeMethodDescriptionstatic 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 ChunkGeneratorWorldCreator.getGeneratorForName(@NotNull String world, @Nullable String name, @Nullable CommandSender output)Attempts to get theChunkGeneratorwith the given name.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)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 alias, @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)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)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.interfaceRepresents a villager NPCinterfaceRepresents an entity that can age.interfaceRepresents an ambient mobinterfaceRepresents an Animal.interfaceRepresents an area effect cloud which will imbue a potion effect onto entities which enter it.interfaceinterfaceinterfaceRepresents a BatinterfaceRepresents a Bee.interfaceRepresents a Blaze monsterinterfaceRepresents a boat entity.interfaceRepresents the Boss Entity.interfaceRepresents an entity that can age and breed.interfaceMeow.interfaceRepresents a Spider.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.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 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?interfaceRepresents a Ghast.interfaceRepresents a Giant.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".interfaceAn iron Golem that protects Villages.interfaceRepresents a dropped item.interfaceRepresents an Item FrameinterfaceRepresents a largeFireballinterfaceRepresents a Leash Hitch on a fenceinterfaceRepresents an instance of a lightning strike.interfaceDeprecated.lingering status depends on only on the potion item.interfaceRepresents a living entity, such as a monster or playerinterfaceRepresents a Llama.interfaceRepresents Llama spit.interfaceRepresents a MagmaCube.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 snowball.interfaceRepresents a snowman entityinterfaceRepresents a spectral arrow.interfaceRepresents a spell casting "Illager".interfaceRepresents a Spider.interfaceDeprecated.splash status depends on only on the potion item.interfaceRepresents a Squid.interfaceRepresents an entity which may be saddled, ridden and steered using an item.interfaceRepresents a Stray - variant ofSkeleton.interfaceRepresents a Strider.interfaceinterfaceinterfaceRepresents 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 NPCinterfaceRepresents a Water MobinterfaceRepresents a WitchinterfaceRepresents a Wither bossinterfaceRepresents a WitherSkeleton - variant ofSkeleton.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 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 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, 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 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.