ServerOperatorAbstractHorse, Ageable, Ambient, Animals, AreaEffectCloud, ArmorStand, Arrow, Bat, Blaze, BlockCommandSender, Boat, CaveSpider, ChestedHorse, Chicken, Cod, CommandMinecart, CommandSender, 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, MessageCommandSender, Minecart, Mob, Monster, Mule, MushroomCow, NPC, Ocelot, Painting, Parrot, Phantom, Pig, PigZombie, Player, PolarBear, PoweredMinecart, Projectile, ProxiedCommandSender, PufferFish, Rabbit, RangedEntity, RemoteConsoleCommandSender, RideableMinecart, Salmon, SentientNPC, 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, ZombieVillagerBufferedCommandSender, PermissibleBase, TimingsReportListenerpublic interface Permissible extends ServerOperator
| Modifier and Type | Method | Description | 
|---|---|---|
| PermissionAttachment | addAttachment(Plugin plugin) | Adds a new empty  PermissionAttachmentto this object | 
| PermissionAttachment | addAttachment(Plugin plugin,
             int ticks) | Temporarily adds a new empty  PermissionAttachmentto this
 object | 
| PermissionAttachment | addAttachment(Plugin plugin,
             java.lang.String name,
             boolean value) | Adds a new  PermissionAttachmentwith a single permission by
 name and value | 
| PermissionAttachment | addAttachment(Plugin plugin,
             java.lang.String name,
             boolean value,
             int ticks) | Temporarily adds a new  PermissionAttachmentwith a single
 permission by name and value | 
| java.util.Set<PermissionAttachmentInfo> | getEffectivePermissions() | Gets a set containing all of the permissions currently in effect by
 this object | 
| boolean | hasPermission(java.lang.String name) | Gets the value of the specified permission, if set. | 
| boolean | hasPermission(Permission perm) | Gets the value of the specified permission, if set. | 
| boolean | isPermissionSet(java.lang.String name) | Checks if this object contains an override for the specified
 permission, by fully qualified name | 
| boolean | isPermissionSet(Permission perm) | Checks if this object contains an override for the specified  Permission | 
| void | recalculatePermissions() | Recalculates the permissions for this object, if the attachments have
 changed values. | 
| void | removeAttachment(PermissionAttachment attachment) | Removes the given  PermissionAttachmentfrom this object | 
isOp, setOpboolean isPermissionSet(java.lang.String name)
name - Name of the permissionboolean isPermissionSet(Permission perm)
Permissionperm - Permission to checkboolean hasPermission(java.lang.String name)
If a permission override is not set on this object, the default value of the permission will be returned.
name - Name of the permissionboolean hasPermission(Permission perm)
If a permission override is not set on this object, the default value of the permission will be returned
perm - Permission to getPermissionAttachment addAttachment(Plugin plugin, java.lang.String name, boolean value)
PermissionAttachment with a single permission by
 name and valueplugin - Plugin responsible for this attachment, may not be null
     or disabledname - Name of the permission to attachvalue - Value of the permissionPermissionAttachment addAttachment(Plugin plugin)
PermissionAttachment to this objectplugin - Plugin responsible for this attachment, may not be null
     or disabledPermissionAttachment addAttachment(Plugin plugin, java.lang.String name, boolean value, int ticks)
PermissionAttachment with a single
 permission by name and valueplugin - Plugin responsible for this attachment, may not be null
     or disabledname - Name of the permission to attachvalue - Value of the permissionticks - Amount of ticks to automatically remove this attachment
     afterPermissionAttachment addAttachment(Plugin plugin, int ticks)
PermissionAttachment to this
 objectplugin - Plugin responsible for this attachment, may not be null
     or disabledticks - Amount of ticks to automatically remove this attachment
     aftervoid removeAttachment(PermissionAttachment attachment)
PermissionAttachment from this objectattachment - Attachment to removejava.lang.IllegalArgumentException - Thrown when the specified attachment
     isn't part of this objectvoid recalculatePermissions()
This should very rarely need to be called from a plugin.
java.util.Set<PermissionAttachmentInfo> getEffectivePermissions()
Copyright © 2018. All rights reserved.