程序包 org.bukkit.permissions

# 接口 ServerOperator

所有已知子接口:
  `AbstractArrow`, `AbstractHorse`, `AbstractSkeleton`, `AbstractVillager`, `AbstractWindCharge`, `Ageable`, `Allay`, `Ambient`, `Animals`, `AreaEffectCloud`, `Armadillo`, `ArmorStand`, `Arrow`, `Axolotl`, `Bat`, `Bee`, `Blaze`, `BlockCommandSender`, `BlockDisplay`, `Boat`, `Bogged`, `Boss`, `Breedable`, `Breeze`, `BreezeWindCharge`, `Camel`, `Cat`, `CaveSpider`, `ChestBoat`, `ChestedHorse`, `Chicken`, `Cod`, `CommandMinecart`, `CommandSender`, `ComplexEntityPart`, `ComplexLivingEntity`, `ConsoleCommandSender`, `Cow`, `Creature`, `Creeper`, `Damageable`, `Display`, `Dolphin`, `Donkey`, `DragonFireball`, `Drowned`, `Egg`, `ElderGuardian`, `EnderCrystal`, `EnderDragon`, `EnderDragonPart`, `Enderman`, `Endermite`, `EnderPearl`, `EnderSignal`, `Enemy`, `Entity`, `Evoker`, `EvokerFangs`, `ExperienceOrb`, `Explosive`, `ExplosiveMinecart`, `FallingBlock`, `Fireball`, `Firework`, `Fish`, `FishHook`, `Flying`, `Fox`, `Frog`, `Ghast`, `Giant`, `GlowItemFrame`, `GlowSquid`, `Goat`, `Golem`, `Guardian`, `Hanging`, `Hoglin`, `HopperMinecart`, `Horse`, `HumanEntity`, `Husk`, `Illager`, `Illusioner`, `Interaction`, `IronGolem`, `Item`, `ItemDisplay`, `ItemFrame`, `LargeFireball`, `LeashHitch`, `LightningStrike`, `LingeringPotion`, `LivingEntity`, `Llama`, `LlamaSpit`, `MagmaCube`, `Marker`, `Minecart`, `Mob`, `Monster`, `Mule`, `MushroomCow`, `NPC`, `Ocelot`, `OfflinePlayer`, `OminousItemSpawner`, `Painting`, `Panda`, `Parrot`, `Permissible`, `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`, `Sniffer`, `Snowball`, `Snowman`, `SpawnerMinecart`, `SpectralArrow`, `Spellcaster`, `Spider`, `SplashPotion`, `Squid`, `Steerable`, `StorageMinecart`, `Stray`, `Strider`, `Tadpole`, `Tameable`, `TextDisplay`, `ThrowableProjectile`, `ThrownExpBottle`, `ThrownPotion`, `TippedArrow`, `TNTPrimed`, `TraderLlama`, `Trident`, `TropicalFish`, `Turtle`, `Vehicle`, `Vex`, `Villager`, `Vindicator`, `WanderingTrader`, `Warden`, `WaterMob`, `WindCharge`, `Witch`, `Wither`, `WitherSkeleton`, `WitherSkull`, `Wolf`, `Zoglin`, `Zombie`, `ZombieHorse`, `ZombieVillager`

所有已知实现类:
  `PermissibleBase`

public interface ServerOperator
代表一个对象,可能为一个OP,例如一个`Player`.

原文:Represents an object that may become a server operator, such as a `Player`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `boolean`
  `isOp()`
  检查该对象是否为OP.
  `void`
  `setOp(boolean value)`
  设置此对象的op状态.

- ## 方法详细资料

  - ### isOp

    boolean isOp()
    检查该对象是否为OP.

    原文:Checks if this object is a server operator

    返回:
      如果为OP则返回true, 否则返回false

  - ### setOp

    void setOp(boolean value)
    设置此对象的op状态.

    原文:Sets the operator status of this object

    参数:
      `value` - 新op的值(布尔值)