<dd><code><ahref="ServerOperator.html"title="interface in org.bukkit.permissions">ServerOperator</a></code></dd>
</dl>
<dlclass="notes">
<dt>All Known Subinterfaces:</dt>
<dd><code><ahref="../entity/AbstractArrow.html"title="interface in org.bukkit.entity">AbstractArrow</a></code>, <code><ahref="../entity/AbstractHorse.html"title="interface in org.bukkit.entity">AbstractHorse</a></code>, <code><ahref="../entity/AbstractSkeleton.html"title="interface in org.bukkit.entity">AbstractSkeleton</a></code>, <code><ahref="../entity/AbstractVillager.html"title="interface in org.bukkit.entity">AbstractVillager</a></code>, <code><ahref="../entity/Ageable.html"title="interface in org.bukkit.entity">Ageable</a></code>, <code><ahref="../entity/Allay.html"title="interface in org.bukkit.entity">Allay</a></code>, <code><ahref="../entity/Ambient.html"title="interface in org.bukkit.entity">Ambient</a></code>, <code><ahref="../entity/Animals.html"title="interface in org.bukkit.entity">Animals</a></code>, <code><ahref="../entity/AreaEffectCloud.html"title="interface in org.bukkit.entity">AreaEffectCloud</a></code>, <code><ahref="../entity/ArmorStand.html"title="interface in org.bukkit.entity">ArmorStand</a></code>, <code><ahref="../entity/Arrow.html"title="interface in org.bukkit.entity">Arrow</a></code>, <code><ahref="../entity/Axolotl.html"title="interface in org.bukkit.entity">Axolotl</a></code>, <code><ahref="../entity/Bat.html"title="interface in org.bukkit.entity">Bat</a></code>, <code><ahref="../entity/Bee.html"title="interface in org.bukkit.entity">Bee</a></code>, <code><ahref="../entity/Blaze.html"title="interface in org.bukkit.entity">Blaze</a></code>, <code><ahref="../command/BlockCommandSender.html"title="interface in org.bukkit.command">BlockCommandSender</a></code>, <code><ahref="../entity/Boat.html"title="interface in org.bukkit.entity">Boat</a></code>, <code><ahref="../entity/Boss.html"title="interface in org.bukkit.entity">Boss</a></code>, <code><ahref="../entity/Breedable.html"title="interface in org.bukkit.entity">Breedable</a></code>, <code><ahref="../../../io/papermc/paper/entity/Bucketable.html"title="interface in io.papermc.paper.entity">Bucketable</a></code>, <code><ahref="../entity/Cat.html"title="interface in org.bukkit.entity">Cat</a></code>, <code><ahref="../entity/CaveSpider.html"title="interface in org.bukkit.entity">CaveSpider</a></code>, <code><ahref="../entity/ChestBoat.html"title="interface in org.bukkit.entity">ChestBoat</a></code>, <code><ahref="../entity/ChestedHorse.html"title="interface in org.bukkit.entity">ChestedHorse</a></code>, <code><ahref="../entity/Chicken.html"title="interface in org.bukkit.entity">Chicken</a></code>, <code><ahref="../entity/Cod.html"title="interface in org.bukkit.entity">Cod</a></code>, <code><ahref="../../../io/papermc/paper/entity/CollarColorable.html"title="interface in io.papermc.paper.entity">CollarColorable</a></code>, <code><ahref="../entity/minecart/CommandMinecart.html"title="interface in org.bukkit.entity.minecart">CommandMinecart</a></code>, <code><ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a></code>, <code><ahref="../entity/ComplexEntityPart.html"title="interface in org.bukkit.entity">ComplexEntityPart</a></code>, <code><ahref="../entity/ComplexLivingEntity.html"title="interface in org.bukkit.entity">ComplexLivingEntity</a></code>, <code><ahref="../command/ConsoleCommandSender.html"title="interface in org.bukkit.command">ConsoleCommandSender</a></code>, <code><ahref="../entity/Cow.html"title="interface in org.bukkit.entity">Cow</a></code>, <code><ahref="../entity/Creature.html"title="interface in org.bukkit.entity">Creature</a></code>, <code><ahref="../entity/Creeper.html"title="interface in org.bukkit.entity">Creeper</a></code>, <code><ahref="../entity/Damageable.html"title="interface in org.bukkit.entity">Damageable</a></code>, <code><ahref="../entity/Dolphin.html"title="interface in org.bukkit.entity">Dolphin</a></code>, <code><ahref="../entity/Donkey.html"title="interface in org.bukkit.entity">Donkey</a></code>, <code><ahref="../entity/DragonFireball.html"title="interface in org.bukkit.entity">DragonFire
</dl>
<dlclass="notes">
<dt>All Known Implementing Classes:</dt>
<dd><code><ahref="../command/BufferedCommandSender.html"title="class in org.bukkit.command">BufferedCommandSender</a></code>, <code><ahref="PermissibleBase.html"title="class in org.bukkit.permissions">PermissibleBase</a></code>, <code><ahref="../../../co/aikar/timings/TimingsReportListener.html"title="class in co.aikar.timings">TimingsReportListener</a></code></dd>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="PermissionAttachment.html"title="class in org.bukkit.permissions">PermissionAttachment</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#addAttachment(org.bukkit.plugin.Plugin)"class="member-name-link">addAttachment</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> plugin)</code></div>
<divclass="block">Adds a new empty <ahref="PermissionAttachment.html"title="class in org.bukkit.permissions"><code>PermissionAttachment</code></a> to this object</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="PermissionAttachment.html"title="class in org.bukkit.permissions">PermissionAttachment</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#addAttachment(org.bukkit.plugin.Plugin,int)"class="member-name-link">addAttachment</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> plugin,
<divclass="block">Temporarily adds a new empty <ahref="PermissionAttachment.html"title="class in org.bukkit.permissions"><code>PermissionAttachment</code></a> to this
object</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="PermissionAttachment.html"title="class in org.bukkit.permissions">PermissionAttachment</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#addAttachment(org.bukkit.plugin.Plugin,java.lang.String,boolean)"class="member-name-link">addAttachment</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> plugin,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name,
<divclass="block">Adds a new <ahref="PermissionAttachment.html"title="class in org.bukkit.permissions"><code>PermissionAttachment</code></a> with a single permission by
name and value</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="PermissionAttachment.html"title="class in org.bukkit.permissions">PermissionAttachment</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#addAttachment(org.bukkit.plugin.Plugin,java.lang.String,boolean,int)"class="member-name-link">addAttachment</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> plugin,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name,
<divclass="block">Temporarily adds a new <ahref="PermissionAttachment.html"title="class in org.bukkit.permissions"><code>PermissionAttachment</code></a> with a single
permission by name and value</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="PermissionAttachmentInfo.html"title="class in org.bukkit.permissions">PermissionAttachmentInfo</a>></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#hasPermission(java.lang.String)"class="member-name-link">hasPermission</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#hasPermission(org.bukkit.permissions.Permission)"class="member-name-link">hasPermission</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Permission.html"title="class in org.bukkit.permissions">Permission</a> perm)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#isPermissionSet(java.lang.String)"class="member-name-link">isPermissionSet</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#isPermissionSet(org.bukkit.permissions.Permission)"class="member-name-link">isPermissionSet</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Permission.html"title="class in org.bukkit.permissions">Permission</a> perm)</code></div>
<divclass="block">Checks if this object contains an override for the specified <ahref="Permission.html"title="class in org.bukkit.permissions"><code>Permission</code></a></div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/util/TriState.html"title="class or interface in net.kyori.adventure.util"class="external-link">TriState</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#permissionValue(java.lang.String)"class="member-name-link">permissionValue</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> permission)</code></div>
<divclass="block">Checks if this object has a permission set and, if it is set, the value of the permission.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/util/TriState.html"title="class or interface in net.kyori.adventure.util"class="external-link">TriState</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#permissionValue(org.bukkit.permissions.Permission)"class="member-name-link">permissionValue</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Permission.html"title="class in org.bukkit.permissions">Permission</a> permission)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#removeAttachment(org.bukkit.permissions.PermissionAttachment)"class="member-name-link">removeAttachment</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="PermissionAttachment.html"title="class in org.bukkit.permissions">PermissionAttachment</a> attachment)</code></div>
<divclass="block">Removes the given <ahref="PermissionAttachment.html"title="class in org.bukkit.permissions"><code>PermissionAttachment</code></a> from this object</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.permissions.ServerOperator">Methods inherited from interface org.bukkit.permissions.<ahref="ServerOperator.html"title="interface in org.bukkit.permissions">ServerOperator</a></h3>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">isPermissionSet</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name)</span></div>
<divclass="block">Checks if this object contains an override for the specified
permission, by fully qualified name</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>name</code> - Name of the permission</dd>
<dt>Returns:</dt>
<dd>true if the permission is set, otherwise false</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">isPermissionSet</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Permission.html"title="class in org.bukkit.permissions">Permission</a> perm)</span></div>
<divclass="block">Checks if this object contains an override for the specified <ahref="Permission.html"title="class in org.bukkit.permissions"><code>Permission</code></a></div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>perm</code> - Permission to check</dd>
<dt>Returns:</dt>
<dd>true if the permission is set, otherwise false</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">hasPermission</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name)</span></div>
<divclass="block">Gets the value of the specified permission, if set.
<p>
If a permission override is not set on this object, the default value
of the permission will be returned.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>name</code> - Name of the permission</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">hasPermission</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Permission.html"title="class in org.bukkit.permissions">Permission</a> perm)</span></div>
<divclass="block">Gets the value of the specified permission, if set.
<p>
If a permission override is not set on this object, the default value
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="PermissionAttachment.html"title="class in org.bukkit.permissions">PermissionAttachment</a></span> <spanclass="element-name">addAttachment</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> plugin,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name,
boolean value)</span></div>
<divclass="block">Adds a new <ahref="PermissionAttachment.html"title="class in org.bukkit.permissions"><code>PermissionAttachment</code></a> with a single permission by
name and value</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>plugin</code> - Plugin responsible for this attachment, may not be null
or disabled</dd>
<dd><code>name</code> - Name of the permission to attach</dd>
<dd><code>value</code> - Value of the permission</dd>
<dt>Returns:</dt>
<dd>The PermissionAttachment that was just created</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="PermissionAttachment.html"title="class in org.bukkit.permissions">PermissionAttachment</a></span> <spanclass="element-name">addAttachment</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> plugin)</span></div>
<divclass="block">Adds a new empty <ahref="PermissionAttachment.html"title="class in org.bukkit.permissions"><code>PermissionAttachment</code></a> to this object</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>plugin</code> - Plugin responsible for this attachment, may not be null
or disabled</dd>
<dt>Returns:</dt>
<dd>The PermissionAttachment that was just created</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="PermissionAttachment.html"title="class in org.bukkit.permissions">PermissionAttachment</a></span> <spanclass="element-name">addAttachment</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> plugin,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name,
boolean value,
int ticks)</span></div>
<divclass="block">Temporarily adds a new <ahref="PermissionAttachment.html"title="class in org.bukkit.permissions"><code>PermissionAttachment</code></a> with a single
permission by name and value</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>plugin</code> - Plugin responsible for this attachment, may not be null
or disabled</dd>
<dd><code>name</code> - Name of the permission to attach</dd>
<dd><code>value</code> - Value of the permission</dd>
<dd><code>ticks</code> - Amount of ticks to automatically remove this attachment
after</dd>
<dt>Returns:</dt>
<dd>The PermissionAttachment that was just created</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="PermissionAttachment.html"title="class in org.bukkit.permissions">PermissionAttachment</a></span> <spanclass="element-name">addAttachment</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> plugin,
int ticks)</span></div>
<divclass="block">Temporarily adds a new empty <ahref="PermissionAttachment.html"title="class in org.bukkit.permissions"><code>PermissionAttachment</code></a> to this
object</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>plugin</code> - Plugin responsible for this attachment, may not be null
or disabled</dd>
<dd><code>ticks</code> - Amount of ticks to automatically remove this attachment
after</dd>
<dt>Returns:</dt>
<dd>The PermissionAttachment that was just created</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">removeAttachment</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="PermissionAttachment.html"title="class in org.bukkit.permissions">PermissionAttachment</a> attachment)</span></div>
<divclass="block">Removes the given <ahref="PermissionAttachment.html"title="class in org.bukkit.permissions"><code>PermissionAttachment</code></a> from this object</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>attachment</code> - Attachment to remove</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html"title="class or interface in java.lang"class="external-link">IllegalArgumentException</a></code> - Thrown when the specified attachment
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="PermissionAttachmentInfo.html"title="class in org.bukkit.permissions">PermissionAttachmentInfo</a>></span> <spanclass="element-name">getEffectivePermissions</span>()</div>
<divclass="block">Gets a set containing all of the permissions currently in effect by
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/util/TriState.html"title="class or interface in net.kyori.adventure.util"class="external-link">TriState</a></span> <spanclass="element-name">permissionValue</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Permission.html"title="class in org.bukkit.permissions">Permission</a> permission)</span></div>
<divclass="block">Checks if this object has a permission set and, if it is set, the value of the permission.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>permission</code> - the permission to check</dd>
<dt>Returns:</dt>
<dd>a tri-state of if the permission is set and, if it is set, it's value</dd>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/util/TriState.html"title="class or interface in net.kyori.adventure.util"class="external-link">TriState</a></span> <spanclass="element-name">permissionValue</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> permission)</span></div>
<divclass="block">Checks if this object has a permission set and, if it is set, the value of the permission.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>permission</code> - the permission to check</dd>
<dt>Returns:</dt>
<dd>a tri-state of if the permission is set and, if it is set, it's value</dd>