Permissible
, ServerOperator
AbstractHorse
, Ageable
, Ambient
, Animals
, AreaEffectCloud
, ArmorStand
, Arrow
, Bat
, Blaze
, BlockCommandSender
, Boat
, CaveSpider
, ChestedHorse
, Chicken
, Cod
, CommandMinecart
, ComplexEntityPart
, ComplexLivingEntity
, ConsoleCommandSender
, Cow
, Creature
, Creeper
, Damageable
, Dolphin
, Donkey
, DragonFireball
, Drowned
, Egg
, ElderGuardian
, EnderCrystal
, EnderDragon
, EnderDragonPart
, Enderman
, Endermite
, EnderPearl
, EnderSignal
, Entity
, Evoker
, EvokerFangs
, ExperienceOrb
, Explosive
, ExplosiveMinecart
, FallingBlock
, Fireball
, Firework
, Fish
, FishHook
, Flying
, Ghast
, Giant
, Golem
, Guardian
, Hanging
, HopperMinecart
, Horse
, HumanEntity
, Husk
, Illager
, Illusioner
, IronGolem
, Item
, ItemFrame
, LargeFireball
, LeashHitch
, LightningStrike
, LingeringPotion
, LivingEntity
, Llama
, LlamaSpit
, MagmaCube
, Minecart
, Mob
, Monster
, Mule
, MushroomCow
, NPC
, Ocelot
, Painting
, Parrot
, Phantom
, Pig
, PigZombie
, Player
, PolarBear
, PoweredMinecart
, Projectile
, ProxiedCommandSender
, PufferFish
, Rabbit
, RemoteConsoleCommandSender
, RideableMinecart
, Salmon
, Sheep
, Shulker
, ShulkerBullet
, Silverfish
, Skeleton
, SkeletonHorse
, Slime
, SmallFireball
, Snowball
, Snowman
, SpawnerMinecart
, SpectralArrow
, Spellcaster
, Spider
, SplashPotion
, Squid
, StorageMinecart
, Stray
, Tameable
, ThrownExpBottle
, ThrownPotion
, TippedArrow
, TNTPrimed
, Trident
, TropicalFish
, Turtle
, Vehicle
, Vex
, Villager
, Vindicator
, WaterMob
, Weather
, Witch
, Wither
, WitherSkeleton
, WitherSkull
, Wolf
, Zombie
, ZombieHorse
, ZombieVillager
public interface CommandSender extends Permissible
Modifier and Type | Interface | Description |
---|---|---|
static class |
CommandSender.Spigot |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getName() |
Gets the name of this command sender
|
Server |
getServer() |
Returns the server instance that this command is running on
|
void |
sendMessage(java.lang.String message) |
Sends this sender a message
|
void |
sendMessage(java.lang.String[] messages) |
Sends this sender multiple messages
|
CommandSender.Spigot |
spigot() |
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
void sendMessage(java.lang.String message)
message
- Message to be displayedvoid sendMessage(java.lang.String[] messages)
messages
- An array of messages to be displayedServer getServer()
java.lang.String getName()
CommandSender.Spigot spigot()
Copyright © 2018. All rights reserved.