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
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 TypeMethodDescriptionboolean
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.TimingsCommand.tabComplete(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args)
ModifierConstructorDescriptionTimingsReportListener(@NotNull CommandSender senders)
TimingsReportListener(@NotNull CommandSender sender, @Nullable Runnable onDone)
ModifierConstructorDescriptionTimingsReportListener(@NotNull List<CommandSender> senders)
TimingsReportListener(@NotNull List<CommandSender> senders, @Nullable Runnable onDone)
-
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(@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
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 io.papermc.paper.event.world
Modifier and TypeMethodDescriptionWorldGameRuleChangeEvent.getCommandSender()
Gets the command sender associated with this event.ModifierConstructorDescriptionWorldGameRuleChangeEvent(@NotNull World world, @Nullable CommandSender commandSender, @NotNull GameRule<?> gameRule, @NotNull String value)
-
Uses of CommandSender in org.bukkit
Modifier and TypeMethodDescriptionstatic 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 ChunkGenerator
WorldCreator.getGeneratorForName(@NotNull String world, @Nullable String name, @Nullable CommandSender output)
Attempts to get theChunkGenerator
with 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
Modifier and TypeInterfaceDescriptioninterface
interface
interface
For when all you care about is just messaginginterface
interface
Modifier 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)
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 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)
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)
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)
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
Represents a villager NPCinterface
Represents an entity that can age.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
interface
interface
Represents a Batinterface
Represents a Bee.interface
Represents a Blaze monsterinterface
Represents a boat entity.interface
Represents the Boss Entity.interface
Represents an entity that can age and breed.interface
Meow.interface
Represents a Spider.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 Creature.interface
Represents a Creeperinterface
Represents anEntity
that has health and can take damage.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 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
Represents a Ghast.interface
Represents a Giant.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
An iron Golem that protects Villages.interface
Represents a dropped item.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.lingering status depends on only on the potion item.interface
Represents a living entity, such as a monster or playerinterface
Represents a Llama.interface
Represents Llama spit.interface
Represents a MagmaCube.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 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 snowball.interface
Represents a snowman entityinterface
Represents a spectral arrow.interface
Represents a spell casting "Illager".interface
Represents a Spider.interface
Deprecated.splash status depends on only on the potion item.interface
Represents a Squid.interface
Represents an entity which may be saddled, ridden and steered using an item.interface
Represents a Stray - variant ofSkeleton
.interface
Represents a Strider.interface
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
Represents a Water Mobinterface
Represents a Witchinterface
Represents a Wither bossinterface
Represents a WitherSkeleton - variant ofSkeleton
.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.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(@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
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, 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
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.