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 org.bukkit
Modifier and TypeMethodDescriptionstatic boolean
Bukkit.dispatchCommand(CommandSender sender, String commandLine)
Dispatches a command on this server, and executes it if found.boolean
Server.dispatchCommand(CommandSender sender, String commandLine)
Dispatches a command on this server, and executes it if found.WorldCreator.generator(String generator, CommandSender output)
Sets the generator that will be used to create or load the world.static ChunkGenerator
WorldCreator.getGeneratorForName(String world, String name, CommandSender output)
Attempts to get theChunkGenerator
with the given name.Bukkit.selectEntities(CommandSender sender, String selector)
Selects entities using the given Vanilla selector.Server.selectEntities(CommandSender sender, String selector)
Selects entities using the given Vanilla selector. -
Uses of CommandSender in org.bukkit.command
Modifier and TypeInterfaceDescriptioninterface
interface
interface
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(CommandSender source, String message)
static void
Command.broadcastCommandMessage(CommandSender source, String message, boolean sendToSource)
boolean
CommandMap.dispatch(CommandSender sender, String cmdLine)
Looks for the requested command and executes it if found.boolean
SimpleCommandMap.dispatch(CommandSender sender, String commandLine)
Looks for the requested command and executes it if found.abstract boolean
Command.execute(CommandSender sender, String commandLabel, String[] args)
Executes the command, returning its successboolean
FormattedCommandAlias.execute(CommandSender sender, String commandLabel, String[] args)
boolean
MultipleCommandAlias.execute(CommandSender sender, String commandLabel, String[] args)
boolean
PluginCommand.execute(CommandSender sender, String commandLabel, String[] args)
Executes the command, returning its successboolean
CommandExecutor.onCommand(CommandSender sender, Command command, String label, String[] args)
Executes the given command, returning its success.TabCompleter.onTabComplete(CommandSender sender, Command command, String alias, String[] args)
Requests a list of possible completions for a command argument.Command.tabComplete(CommandSender sender, String alias, String[] args)
Executed on tab completion for this command, returning a list of options the player can tab through.Command.tabComplete(CommandSender sender, String alias, String[] args, Location location)
Executed on tab completion for this command, returning a list of options the player can tab through.CommandMap.tabComplete(CommandSender sender, String cmdLine)
Looks for the requested command and executes an appropriate tab-completer if found.CommandMap.tabComplete(CommandSender sender, String cmdLine, Location location)
Looks for the requested command and executes an appropriate tab-completer if found.PluginCommand.tabComplete(CommandSender sender, String alias, String[] args)
Executed on tab completion for this command, returning a list of options the player can tab through.SimpleCommandMap.tabComplete(CommandSender sender, String cmdLine)
SimpleCommandMap.tabComplete(CommandSender sender, String cmdLine, Location location)
boolean
Command.testPermission(CommandSender target)
Tests the givenCommandSender
to see if they can perform this command.boolean
Command.testPermissionSilent(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(CommandSender sender, String currentAlias, String[] args)
boolean
PluginsCommand.execute(CommandSender sender, String currentAlias, String[] args)
boolean
ReloadCommand.execute(CommandSender sender, String currentAlias, String[] args)
boolean
TimingsCommand.execute(CommandSender sender, String currentAlias, String[] args)
boolean
VersionCommand.execute(CommandSender sender, String currentAlias, String[] args)
void
TimingsCommand.executeSpigotTimings(CommandSender sender, String[] args)
HelpCommand.tabComplete(CommandSender sender, String alias, String[] args)
PluginsCommand.tabComplete(CommandSender sender, String alias, String[] args)
ReloadCommand.tabComplete(CommandSender sender, String alias, String[] args)
TimingsCommand.tabComplete(CommandSender sender, String alias, String[] args)
VersionCommand.tabComplete(CommandSender sender, String alias, 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 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
An Axolotl.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 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
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
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 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 ofAbstractSkeleton
.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 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.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.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(CommandSender sender, String command)
ServerCommandEvent(CommandSender sender, String command)
TabCompleteEvent(CommandSender sender, String buffer, List<String> completions)
ModifierConstructorDescriptionBroadcastMessageEvent(boolean isAsync, String message, Set<CommandSender> recipients)
BroadcastMessageEvent(String message, Set<CommandSender> recipients)
Deprecated. -
Uses of CommandSender in org.bukkit.help
Modifier and TypeMethodDescriptionprotected String
IndexHelpTopic.buildIndexLine(CommandSender sender, HelpTopic topic)
Builds individual lines in the index topic.protected String
IndexHelpTopic.buildPreamble(CommandSender sender)
Builds the topic preamble.boolean
GenericCommandHelpTopic.canSee(CommandSender sender)
abstract boolean
HelpTopic.canSee(CommandSender player)
Determines if aPlayer
is allowed to see this help topic.boolean
IndexHelpTopic.canSee(CommandSender sender)
HelpTopic.getFullText(CommandSender forWho)
Returns the full description of this help topic that is displayed when the user requests this topic's details.IndexHelpTopic.getFullText(CommandSender sender)
-
Uses of CommandSender in org.bukkit.plugin.java
Modifier and TypeMethodDescriptionboolean
JavaPlugin.onCommand(CommandSender sender, Command command, String label, String[] args)
Executes the given command, returning its success.JavaPlugin.onTabComplete(CommandSender sender, Command command, String alias, String[] args)
Requests a list of possible completions for a command argument.