lhh2020 8ca6df15355443579fc74f5cb3bcbb46
분야 | 플러그인 |
---|---|
장르 | 개발자 툴 |
게임버전 | 모든버전 |
API | 스피곳, 페이퍼 |
사용법
Bukkit.dispatchCommand( CommandSender, String ) 를 사용합니다
CommandSender 에 CommandSender의 하위 클래스들을 넣을 수 있습니다.
하위 클래스
AbstractArrow
, AbstractHorse
, AbstractVillager
, Ageable
, Ambient
, Animals
, AreaEffectCloud
, ArmorStand
, Arrow
, Bat
, Bee
, Blaze
, BlockCommandSender
, Boat
, Boss
, Breedable
, Cat
, 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
, Fox
, Ghast
, Giant
, Golem
, Guardian
, Hanging
, Hoglin
, 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
, Panda
, Parrot
, Phantom
, Pig
, Piglin
, PiglinAbstract
, PiglinBrute
, PigZombie
, Pillager
, Player
, PolarBear
, PoweredMinecart
, Projectile
, ProxiedCommandSender
, PufferFish
, Rabbit
, Raider
, Ravager
, RemoteConsoleCommandSender
, RideableMinecart
, Salmon
, Sheep
, Shulker
, ShulkerBullet
, Silverfish
, SizedFireball
, Skeleton
, SkeletonHorse
, Slime
, SmallFireball
, Snowball
, Snowman
, SpawnerMinecart
, SpectralArrow
, Spellcaster
, Spider
, SplashPotion
, Squid
, Steerable
, StorageMinecart
, Stray
, Strider
, Tameable
, ThrowableProjectile
, ThrownExpBottle
, ThrownPotion
, TippedArrow
, TNTPrimed
, TraderLlama
, Trident
, TropicalFish
, Turtle
, Vehicle
, Vex
, Villager
, Vindicator
, WanderingTrader
, WaterMob
, Witch
, Wither
, WitherSkeleton
, WitherSkull
, Wolf
, Zoglin
, Zombie
, ZombieHorse
, ZombieVillager
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "명령어"); // 콘솔에서 명령어 실행
Bukkit.dispatchCommand(플레이어, "명령어"); // 플레이어의 권한으로 명령어 실행
추가해야되는 내용이 있으시면 댓글로 말씀해주시고 추천 눌러주세
댓글이 없습니다.
새로운 댓글을 등록해 주세요!