Uses of Interface
org.bukkit.command.CommandSender
Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.command |
Classes relating to handling specialized non-chat player input.
|
org.bukkit.command.defaults |
Commands for emulating the Minecraft commands and other necessary ones for
use by a Bukkit implementation.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.entity.minecart |
Interfaces for various
Minecart types. |
org.bukkit.event.server |
Events relating to programmatic state
changes on the server. |
org.bukkit.help |
Classes used to manipulate the default command and topic assistance system.
|
org.bukkit.plugin.java |
Classes for handling
plugins written in
java. |
-
Uses of CommandSender in org.bukkit
Methods in org.bukkit with parameters of type CommandSender Modifier and Type Method Description static 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
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.static List<Entity>
Bukkit. selectEntities(CommandSender sender, String selector)
Selects entities using the given Vanilla selector.List<Entity>
Server. selectEntities(CommandSender sender, String selector)
Selects entities using the given Vanilla selector. -
Uses of CommandSender in org.bukkit.command
Subinterfaces of CommandSender in org.bukkit.command Modifier and Type Interface Description interface
BlockCommandSender
interface
ConsoleCommandSender
interface
ProxiedCommandSender
interface
RemoteConsoleCommandSender
Methods in org.bukkit.command that return CommandSender Modifier and Type Method Description CommandSender
ProxiedCommandSender. getCallee()
Returns the CommandSender which is being used to call the commandCommandSender
ProxiedCommandSender. getCaller()
Returns the CommandSender which triggered this proxied commandMethods in org.bukkit.command with parameters of type CommandSender Modifier and Type Method Description static 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.List<String>
TabCompleter. onTabComplete(CommandSender sender, Command command, String alias, String[] args)
Requests a list of possible completions for a command argument.List<String>
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.List<String>
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.List<String>
CommandMap. tabComplete(CommandSender sender, String cmdLine)
Looks for the requested command and executes an appropriate tab-completer if found.List<String>
CommandMap. tabComplete(CommandSender sender, String cmdLine, Location location)
Looks for the requested command and executes an appropriate tab-completer if found.List<String>
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.List<String>
SimpleCommandMap. tabComplete(CommandSender sender, String cmdLine)
List<String>
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
Methods in org.bukkit.command.defaults with parameters of type CommandSender Modifier and Type Method Description boolean
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)
List<String>
HelpCommand. tabComplete(CommandSender sender, String alias, String[] args)
List<String>
PluginsCommand. tabComplete(CommandSender sender, String alias, String[] args)
List<String>
ReloadCommand. tabComplete(CommandSender sender, String alias, String[] args)
List<String>
TimingsCommand. tabComplete(CommandSender sender, String alias, String[] args)
List<String>
VersionCommand. tabComplete(CommandSender sender, String alias, String[] args)
-
Uses of CommandSender in org.bukkit.entity
Subinterfaces of CommandSender in org.bukkit.entity Modifier and Type Interface Description interface
AbstractArrow
Represents an arrow.interface
AbstractHorse
Represents a Horse-like creature.interface
AbstractVillager
Represents a villager NPCinterface
Ageable
Represents an entity that can age and breed.interface
Ambient
Represents an ambient mobinterface
Animals
Represents an Animal.interface
AreaEffectCloud
Represents an area effect cloud which will imbue a potion effect onto entities which enter it.interface
ArmorStand
interface
Arrow
interface
Bat
Represents a Batinterface
Bee
Represents a Bee.interface
Blaze
Represents a Blaze monsterinterface
Boat
Represents a boat entity.interface
Boss
Represents the Boss Entity.interface
Cat
Meow.interface
CaveSpider
Represents a Spider.interface
ChestedHorse
Represents Horse-like creatures which can carry an inventory.interface
Chicken
Represents a Chicken.interface
Cod
Represents a cod fish.interface
ComplexEntityPart
Represents a single part of aComplexLivingEntity
interface
ComplexLivingEntity
Represents a complex living entity - one that is made up of various smaller partsinterface
Cow
Represents a Cow.interface
Creature
Represents a Creature.interface
Creeper
Represents a Creeperinterface
Damageable
Represents anEntity
that has health and can take damage.interface
Dolphin
interface
Donkey
Represents a Donkey - variant ofChestedHorse
.interface
DragonFireball
interface
Drowned
Drowned zombie.interface
Egg
Represents a thrown egg.interface
ElderGuardian
Represents an ElderGuardian - variant ofGuardian
.interface
EnderCrystal
A crystal that heals nearby EnderDragonsinterface
EnderDragon
Represents an Ender Dragoninterface
EnderDragonPart
Represents an ender dragon partinterface
Enderman
Represents an Enderman.interface
Endermite
interface
EnderPearl
Represents a thrown Ender Pearl entityinterface
EnderSignal
Represents an EnderSignal, which is created upon throwing an ender eye.interface
Entity
Represents a base entity in the worldinterface
Evoker
Represents an Evoker "Illager".interface
EvokerFangs
Represents Evoker Fangs.interface
ExperienceOrb
Represents an Experience Orb.interface
Explosive
A representation of an explosive entityinterface
FallingBlock
Represents a falling blockinterface
Fireball
Represents a Fireball.interface
Firework
interface
Fish
Represents a fish entity.interface
FishHook
Represents a fishing hook.interface
Flying
Represents a Flying Entity.interface
Fox
What does the fox say?interface
Ghast
Represents a Ghast.interface
Giant
Represents a Giant.interface
Golem
A mechanical creature that may harm enemies.interface
Guardian
interface
Hanging
Represents a Hanging entityinterface
Hoglin
Represents a Hoglin.interface
Horse
Represents a Horse.interface
HumanEntity
Represents a human entity, such as an NPC or a playerinterface
Husk
Represents a Husk - variant ofZombie
.interface
Illager
Represents a type of "Illager".interface
Illusioner
Represents an Illusioner "Illager".interface
IronGolem
An iron Golem that protects Villages.interface
Item
Represents a dropped item.interface
ItemFrame
Represents an Item Frameinterface
LargeFireball
Represents a largeFireball
interface
LeashHitch
Represents a Leash Hitch on a fenceinterface
LightningStrike
Represents an instance of a lightning strike.interface
LingeringPotion
Deprecated.lingering status depends on only on the potion item.interface
LivingEntity
Represents a living entity, such as a monster or playerinterface
Llama
Represents a Llama.interface
LlamaSpit
Represents Llama spit.interface
MagmaCube
Represents a MagmaCube.interface
Minecart
Represents a minecart entity.interface
Mob
Represents a Mob.interface
Monster
Represents a Monster.interface
Mule
Represents a Mule - variant ofChestedHorse
.interface
MushroomCow
Represents a mushroomCow
interface
NPC
Represents a non-player characterinterface
Ocelot
A wild tameable catinterface
Painting
Represents a Painting.interface
Panda
Panda entity.interface
Parrot
Represents a Parrot.interface
Phantom
Represents a phantom.interface
Pig
Represents a Pig.interface
Piglin
Represents a Piglin.interface
PigZombie
Represents a Pig Zombie.interface
Pillager
Illager entity.interface
Player
Represents a player, connected or notinterface
PolarBear
Represents a polar bear.interface
Projectile
Represents a shootable entity.interface
PufferFish
Represents a puffer fish.interface
Rabbit
interface
Raider
interface
Ravager
Illager beast.interface
Salmon
Represents a salmon fish.interface
Sheep
Represents a Sheep.interface
Shulker
interface
ShulkerBullet
interface
Silverfish
Represents a Silverfish.interface
SizedFireball
Represents a sized fireball.interface
Skeleton
Represents a Skeleton.interface
SkeletonHorse
Represents a SkeletonHorse - variant ofAbstractHorse
.interface
Slime
Represents a Slime.interface
SmallFireball
Represents a smallFireball
interface
Snowball
Represents a snowball.interface
Snowman
Represents a snowman entityinterface
SpectralArrow
Represents a spectral arrow.interface
Spellcaster
Represents a spell casting "Illager".interface
Spider
Represents a Spider.interface
SplashPotion
Deprecated.splash status depends on only on the potion item.interface
Squid
Represents a Squid.interface
Steerable
Represents an entity which may be saddled, ridden and steered using an item.interface
Stray
Represents a Stray - variant ofSkeleton
.interface
Strider
Represents a Strider.interface
Tameable
interface
ThrowableProjectile
interface
ThrownExpBottle
Represents a thrown Experience bottle.interface
ThrownPotion
Represents a thrown potion bottleinterface
TippedArrow
Deprecated.tipped status depends only on base potion type not being UNCRAFTABLE and effects being empty.interface
TNTPrimed
Represents a Primed TNT.interface
TraderLlama
Represents a trader Llama.interface
Trident
Represents a thrown trident.interface
TropicalFish
Tropical fish.interface
Turtle
Represents a turtle.interface
Vehicle
Represents a vehicle entity.interface
Vex
Represents a Vex.interface
Villager
Represents a villager NPCinterface
Vindicator
Represents a Vindicator.interface
WanderingTrader
Represents a wandering trader NPCinterface
WaterMob
Represents a Water Mobinterface
Witch
Represents a Witchinterface
Wither
Represents a Wither bossinterface
WitherSkeleton
Represents a WitherSkeleton - variant ofSkeleton
.interface
WitherSkull
Represents a wither skullFireball
.interface
Wolf
Represents a Wolfinterface
Zoglin
Represents a Zoglin.interface
Zombie
Represents a Zombie.interface
ZombieHorse
Represents a ZombieHorse - variant ofAbstractHorse
.interface
ZombieVillager
-
Uses of CommandSender in org.bukkit.entity.minecart
Subinterfaces of CommandSender in org.bukkit.entity.minecart Modifier and Type Interface Description interface
CommandMinecart
interface
ExplosiveMinecart
Represents a Minecart with TNT inside it that can explode when triggered.interface
HopperMinecart
Represents a Minecart with a Hopper inside itinterface
PoweredMinecart
Represents a powered minecart.interface
RideableMinecart
Represents a minecart that can have certainentities
as passengers.interface
SpawnerMinecart
Represents a Minecart with anentity spawner
inside it.interface
StorageMinecart
Represents a minecart with a chest. -
Uses of CommandSender in org.bukkit.event.server
Methods in org.bukkit.event.server that return CommandSender Modifier and Type Method Description CommandSender
ServerCommandEvent. getSender()
Get the command sender.CommandSender
TabCompleteEvent. getSender()
Get the sender completing this command.Methods in org.bukkit.event.server that return types with arguments of type CommandSender Modifier and Type Method Description Set<CommandSender>
BroadcastMessageEvent. getRecipients()
Gets a set of recipients that this chat message will be displayed to.Constructors in org.bukkit.event.server with parameters of type CommandSender Constructor Description RemoteServerCommandEvent(CommandSender sender, String command)
ServerCommandEvent(CommandSender sender, String command)
TabCompleteEvent(CommandSender sender, String buffer, List<String> completions)
Constructor parameters in org.bukkit.event.server with type arguments of type CommandSender Constructor Description BroadcastMessageEvent(boolean isAsync, String message, Set<CommandSender> recipients)
BroadcastMessageEvent(String message, Set<CommandSender> recipients)
Deprecated. -
Uses of CommandSender in org.bukkit.help
Methods in org.bukkit.help with parameters of type CommandSender Modifier and Type Method Description protected 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)
String
HelpTopic. getFullText(CommandSender forWho)
Returns the full description of this help topic that is displayed when the user requests this topic's details.String
IndexHelpTopic. getFullText(CommandSender sender)
-
Uses of CommandSender in org.bukkit.plugin.java
Methods in org.bukkit.plugin.java with parameters of type CommandSender Modifier and Type Method Description boolean
JavaPlugin. onCommand(CommandSender sender, Command command, String label, String[] args)
Executes the given command, returning its success.List<String>
JavaPlugin. onTabComplete(CommandSender sender, Command command, String alias, String[] args)
Requests a list of possible completions for a command argument.