mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2024-12-02 23:33:23 +01:00
1694 lines
117 KiB
HTML
1694 lines
117 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc -->
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Permission (Vault)</title>
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Permission (Vault)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":6,"i1":6,"i2":10,"i3":10,"i4":38,"i5":42,"i6":10,"i7":10,"i8":38,"i9":42,"i10":6,"i11":10,"i12":6,"i13":10,"i14":6,"i15":10,"i16":10,"i17":10,"i18":42,"i19":42,"i20":6,"i21":6,"i22":6,"i23":10,"i24":10,"i25":38,"i26":42,"i27":10,"i28":10,"i29":38,"i30":42,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":38,"i38":42,"i39":10,"i40":10,"i41":38,"i42":42,"i43":10,"i44":10,"i45":38,"i46":42,"i47":10,"i48":10,"i49":38,"i50":42,"i51":10,"i52":10,"i53":10,"i54":10};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/Permission.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev Class</li>
|
|
<li>Next Class</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?net/milkbowl/vault/permission/Permission.html" target="_top">Frames</a></li>
|
|
<li><a href="Permission.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">net.milkbowl.vault.permission</div>
|
|
<h2 title="Class Permission" class="title">Class Permission</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>net.milkbowl.vault.permission.Permission</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<br>
|
|
<pre>public abstract class <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.32">Permission</a>
|
|
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
|
<div class="block">The main Permission API - allows for group and player based permission tests</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#Permission--">Permission</a></span>()</code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#getGroups--">getGroups</a></span>()</code>
|
|
<div class="block">Returns a list of all known groups</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#getName--">getName</a></span>()</code>
|
|
<div class="block">Gets name of permission method</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups-org.bukkit.entity.Player-">getPlayerGroups</a></span>(org.bukkit.entity.Player player)</code>
|
|
<div class="block">Returns a list of world-specific groups that this player is currently in.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups-java.lang.String-org.bukkit.OfflinePlayer-">getPlayerGroups</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player)</code>
|
|
<div class="block">Gets the list of groups that this player has
|
|
Supports NULL value for World if the permission system registered supports global permissions.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups-java.lang.String-java.lang.String-">getPlayerGroups</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPlayerGroups(String, OfflinePlayer)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups-org.bukkit.World-java.lang.String-">getPlayerGroups</a></span>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPlayerGroups(String, OfflinePlayer)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-org.bukkit.entity.Player-">getPrimaryGroup</a></span>(org.bukkit.entity.Player player)</code>
|
|
<div class="block">Get players primary group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-java.lang.String-org.bukkit.OfflinePlayer-">getPrimaryGroup</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player)</code>
|
|
<div class="block">Gets players primary group
|
|
Supports NULL value for World if the permission system registered supports global permissions.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-java.lang.String-java.lang.String-">getPrimaryGroup</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPrimaryGroup(String, OfflinePlayer)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-org.bukkit.World-java.lang.String-">getPrimaryGroup</a></span>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPrimaryGroup(String, OfflinePlayer)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#groupAdd-java.lang.String-java.lang.String-java.lang.String-">groupAdd</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Add permission to a group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#groupAdd-org.bukkit.World-java.lang.String-java.lang.String-">groupAdd</a></span>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Add permission to a group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#groupHas-java.lang.String-java.lang.String-java.lang.String-">groupHas</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Checks if group has a permission node.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#groupHas-org.bukkit.World-java.lang.String-java.lang.String-">groupHas</a></span>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Checks if group has a permission node.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#groupRemove-java.lang.String-java.lang.String-java.lang.String-">groupRemove</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Remove permission from a group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#groupRemove-org.bukkit.World-java.lang.String-java.lang.String-">groupRemove</a></span>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Remove permission from a group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#has-org.bukkit.command.CommandSender-java.lang.String-">has</a></span>(org.bukkit.command.CommandSender sender,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Checks if a CommandSender has a permission node.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#has-org.bukkit.entity.Player-java.lang.String-">has</a></span>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Checks if player has a permission node.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#has-java.lang.String-java.lang.String-java.lang.String-">has</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerHas(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#has-org.bukkit.World-java.lang.String-java.lang.String-">has</a></span>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerHas(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#hasGroupSupport--">hasGroupSupport</a></span>()</code>
|
|
<div class="block">Returns true if the given implementation supports groups.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#hasSuperPermsCompat--">hasSuperPermsCompat</a></span>()</code>
|
|
<div class="block">Returns if the permission system is or attempts to be compatible with super-perms.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i22" class="altColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#isEnabled--">isEnabled</a></span>()</code>
|
|
<div class="block">Checks if permission method is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i23" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd-org.bukkit.entity.Player-java.lang.String-">playerAdd</a></span>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Add permission to a player ONLY for the world the player is currently on.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i24" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">playerAdd</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Add permission to a player.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i25" class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd-java.lang.String-java.lang.String-java.lang.String-">playerAdd</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerAdd(String, OfflinePlayer, String)</code></a> instead.
|
|
Add permission to a player.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i26" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd-org.bukkit.World-java.lang.String-java.lang.String-">playerAdd</a></span>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerAdd(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i27" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddGroup-org.bukkit.entity.Player-java.lang.String-">playerAddGroup</a></span>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block">Add player to a group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i28" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">playerAddGroup</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block">Add player to a group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i29" class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddGroup-java.lang.String-java.lang.String-java.lang.String-">playerAddGroup</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerAddGroup(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i30" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddGroup-org.bukkit.World-java.lang.String-java.lang.String-">playerAddGroup</a></span>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerAddGroup(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i31" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient-org.bukkit.OfflinePlayer-java.lang.String-">playerAddTransient</a></span>(org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Add transient permission to a player.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i32" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient-org.bukkit.entity.Player-java.lang.String-">playerAddTransient</a></span>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Add transient permission to a player.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i33" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">playerAddTransient</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Adds a world specific transient permission to the player, may only work with some permission managers.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i34" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient-java.lang.String-org.bukkit.entity.Player-java.lang.String-">playerAddTransient</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
|
org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Adds a world specific transient permission to the player, may only work with some permission managers.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i35" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-org.bukkit.entity.Player-java.lang.String-">playerHas</a></span>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Checks if player has a permission node.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i36" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">playerHas</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Checks if player has a permission node.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i37" class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-java.lang.String-java.lang.String-">playerHas</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerHas(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i38" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-org.bukkit.World-java.lang.String-java.lang.String-">playerHas</a></span>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerHas(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i39" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerInGroup-org.bukkit.entity.Player-java.lang.String-">playerInGroup</a></span>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block">Check if player is member of a group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i40" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerInGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">playerInGroup</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block">Check if player is member of a group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i41" class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerInGroup-java.lang.String-java.lang.String-java.lang.String-">playerInGroup</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerInGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerInGroup(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i42" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerInGroup-org.bukkit.World-java.lang.String-java.lang.String-">playerInGroup</a></span>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerInGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerInGroup(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i43" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemove-org.bukkit.entity.Player-java.lang.String-">playerRemove</a></span>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Remove permission from a player.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i44" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemove-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">playerRemove</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Remove permission from a player.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i45" class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemove-java.lang.String-java.lang.String-java.lang.String-">playerRemove</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemove-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerRemove(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i46" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemove-org.bukkit.World-java.lang.String-java.lang.String-">playerRemove</a></span>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i47" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveGroup-org.bukkit.entity.Player-java.lang.String-">playerRemoveGroup</a></span>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block">Remove player from a group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i48" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">playerRemoveGroup</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block">Remove player from a group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i49" class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveGroup-java.lang.String-java.lang.String-java.lang.String-">playerRemoveGroup</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerRemoveGroup(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i50" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveGroup-org.bukkit.World-java.lang.String-java.lang.String-">playerRemoveGroup</a></span>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerRemoveGroup(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i51" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient-org.bukkit.OfflinePlayer-java.lang.String-">playerRemoveTransient</a></span>(org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Remove transient permission from a player.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i52" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient-org.bukkit.entity.Player-java.lang.String-">playerRemoveTransient</a></span>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Remove transient permission from a player.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i53" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">playerRemoveTransient</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Removes a world specific transient permission from the player, may only work with some permission managers.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i54" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient-java.lang.String-org.bukkit.entity.Player-java.lang.String-">playerRemoveTransient</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
|
org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block">Removes a world specific transient permission from the player, may only work with some permission managers.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="Permission--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>Permission</h4>
|
|
<pre>public <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.32">Permission</a>()</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="getName--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getName</h4>
|
|
<pre>public abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.41">getName</a>()</pre>
|
|
<div class="block">Gets name of permission method</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Name of Permission Method</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEnabled</h4>
|
|
<pre>public abstract boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.47">isEnabled</a>()</pre>
|
|
<div class="block">Checks if permission method is enabled.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="hasSuperPermsCompat--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasSuperPermsCompat</h4>
|
|
<pre>public abstract boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.53">hasSuperPermsCompat</a>()</pre>
|
|
<div class="block">Returns if the permission system is or attempts to be compatible with super-perms.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>True if this permission implementation works with super-perms</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="has-java.lang.String-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>has</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.59">has</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerHas(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="has-org.bukkit.World-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>has</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.70">has</a>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerHas(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="has-org.bukkit.command.CommandSender-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>has</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.87">has</a>(org.bukkit.command.CommandSender sender,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Checks if a CommandSender has a permission node.
|
|
This will return the result of bukkits, generic .hasPermission() method and is identical in all cases.
|
|
This method will explicitly fail if the registered permission system does not register permissions in bukkit.
|
|
|
|
For easy checking of a commandsender</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>sender</code> - to check permissions on</dd>
|
|
<dd><code>permission</code> - to check for</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if the sender has the permission</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="has-org.bukkit.entity.Player-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>has</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.97">has</a>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Checks if player has a permission node. (Short for playerHas(...)</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - Player Object</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerHas-java.lang.String-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerHas</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public abstract boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.105">playerHas</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerHas(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="playerHas-org.bukkit.World-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerHas</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.111">playerHas</a>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerHas(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerHas</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.128">playerHas</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Checks if player has a permission node.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - String world name</dd>
|
|
<dd><code>player</code> - to check</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerHas-org.bukkit.entity.Player-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerHas</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.144">playerHas</a>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Checks if player has a permission node.
|
|
Defaults to world-specific permission check if the permission system supports it.
|
|
See <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerHas(String, OfflinePlayer, String)</code></a> for explicit global or world checks.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - Player Object</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAdd-java.lang.String-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAdd</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public abstract boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.160">playerAdd</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerAdd(String, OfflinePlayer, String)</code></a> instead.
|
|
Add permission to a player.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</span></div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - World name</dd>
|
|
<dd><code>player</code> - Player name</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAdd-org.bukkit.World-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAdd</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.166">playerAdd</a>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerAdd(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAdd-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAdd</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.183">playerAdd</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Add permission to a player.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - String world name</dd>
|
|
<dd><code>player</code> - to add to</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAdd-org.bukkit.entity.Player-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAdd</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.199">playerAdd</a>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Add permission to a player ONLY for the world the player is currently on.
|
|
This is a world-specific operation, if you want to add global permission you must explicitly use NULL for the world.
|
|
See <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerAdd(String, OfflinePlayer, String)</code></a> for global permission use.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - Player Object</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAddTransient-org.bukkit.OfflinePlayer-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAddTransient</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.212">playerAddTransient</a>(org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)
|
|
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></pre>
|
|
<div class="block">Add transient permission to a player.
|
|
This implementation can be used by any subclass which implements a "pure" superperms plugin, i.e.
|
|
one that only needs the built-in Bukkit API to add transient permissions to a player.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - to add to</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAddTransient-org.bukkit.entity.Player-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAddTransient</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.227">playerAddTransient</a>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Add transient permission to a player.
|
|
This operation adds a permission onto the player object in bukkit via Bukkit's permission interface.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - Player Object</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAddTransient-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAddTransient</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.250">playerAddTransient</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Adds a world specific transient permission to the player, may only work with some permission managers.
|
|
Defaults to GLOBAL permissions for any permission system that does not support world-specific transient permissions!</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>worldName</code> - to check on</dd>
|
|
<dd><code>player</code> - to add to</dd>
|
|
<dd><code>permission</code> - to test</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAddTransient-java.lang.String-org.bukkit.entity.Player-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAddTransient</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.263">playerAddTransient</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
|
org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Adds a world specific transient permission to the player, may only work with some permission managers.
|
|
Defaults to GLOBAL permissions for any permission system that does not support world-specific transient permissions!</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>worldName</code> - to check on</dd>
|
|
<dd><code>player</code> - to check</dd>
|
|
<dd><code>permission</code> - to check for</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemoveTransient-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemoveTransient</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.276">playerRemoveTransient</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Removes a world specific transient permission from the player, may only work with some permission managers.
|
|
Defaults to GLOBAL permissions for any permission system that does not support world-specific transient permissions!</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>worldName</code> - to remove for</dd>
|
|
<dd><code>player</code> - to remove for</dd>
|
|
<dd><code>permission</code> - to remove</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemoveTransient-java.lang.String-org.bukkit.entity.Player-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemoveTransient</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.289">playerRemoveTransient</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
|
org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Removes a world specific transient permission from the player, may only work with some permission managers.
|
|
Defaults to GLOBAL permissions for any permission system that does not support world-specific transient permissions!</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>worldName</code> - to check on</dd>
|
|
<dd><code>player</code> - to check</dd>
|
|
<dd><code>permission</code> - to check for</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemove-java.lang.String-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemove</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public abstract boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.297">playerRemove</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemove-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerRemove(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemove-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemove</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.309">playerRemove</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Remove permission from a player.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - World name</dd>
|
|
<dd><code>player</code> - OfflinePlayer</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemove-org.bukkit.World-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemove</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.327">playerRemove</a>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
<div class="block">Remove permission from a player.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - World name</dd>
|
|
<dd><code>player</code> - Player name</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemove-org.bukkit.entity.Player-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemove</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.342">playerRemove</a>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Remove permission from a player.
|
|
Will attempt to remove permission from the player on the player's current world. This is NOT a global operation.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - Player Object</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemoveTransient-org.bukkit.OfflinePlayer-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemoveTransient</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.357">playerRemoveTransient</a>(org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Remove transient permission from a player.
|
|
This implementation can be used by any subclass which implements a "pure" superperms plugin, i.e.
|
|
one that only needs the built-in Bukkit API to remove transient permissions from a player. Any subclass
|
|
implementing a plugin which provides its own API for this needs to override this method.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - OfflinePlayer</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemoveTransient-org.bukkit.entity.Player-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemoveTransient</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.372">playerRemoveTransient</a>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Remove transient permission from a player.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - Player Object</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="groupHas-java.lang.String-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>groupHas</h4>
|
|
<pre>public abstract boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.392">groupHas</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Checks if group has a permission node.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - World name</dd>
|
|
<dd><code>group</code> - Group name</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="groupHas-org.bukkit.World-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>groupHas</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.404">groupHas</a>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Checks if group has a permission node.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - World Object</dd>
|
|
<dd><code>group</code> - Group name</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="groupAdd-java.lang.String-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>groupAdd</h4>
|
|
<pre>public abstract boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.421">groupAdd</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Add permission to a group.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - World name</dd>
|
|
<dd><code>group</code> - Group name</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="groupAdd-org.bukkit.World-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>groupAdd</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.433">groupAdd</a>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Add permission to a group.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - World Object</dd>
|
|
<dd><code>group</code> - Group name</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="groupRemove-java.lang.String-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>groupRemove</h4>
|
|
<pre>public abstract boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.450">groupRemove</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Remove permission from a group.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - World name</dd>
|
|
<dd><code>group</code> - Group name</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="groupRemove-org.bukkit.World-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>groupRemove</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.462">groupRemove</a>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</pre>
|
|
<div class="block">Remove permission from a group.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - World Object</dd>
|
|
<dd><code>group</code> - Group name</dd>
|
|
<dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerInGroup-java.lang.String-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerInGroup</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public abstract boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.473">playerInGroup</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerInGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerInGroup(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="playerInGroup-org.bukkit.World-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerInGroup</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.479">playerInGroup</a>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerInGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerInGroup(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="playerInGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerInGroup</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.496">playerInGroup</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</pre>
|
|
<div class="block">Check if player is member of a group.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - World Object</dd>
|
|
<dd><code>player</code> - to check</dd>
|
|
<dd><code>group</code> - Group name</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerInGroup-org.bukkit.entity.Player-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerInGroup</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.512">playerInGroup</a>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</pre>
|
|
<div class="block">Check if player is member of a group.
|
|
This method will ONLY check groups for which the player is in that are defined for the current world.
|
|
This may result in odd return behaviour depending on what permission system has been registered.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - Player Object</dd>
|
|
<dd><code>group</code> - Group name</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAddGroup-java.lang.String-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAddGroup</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public abstract boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.520">playerAddGroup</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerAddGroup(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAddGroup-org.bukkit.World-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAddGroup</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.526">playerAddGroup</a>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerAddGroup(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAddGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAddGroup</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.543">playerAddGroup</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</pre>
|
|
<div class="block">Add player to a group.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - String world name</dd>
|
|
<dd><code>player</code> - to add</dd>
|
|
<dd><code>group</code> - Group name</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAddGroup-org.bukkit.entity.Player-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAddGroup</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.559">playerAddGroup</a>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</pre>
|
|
<div class="block">Add player to a group.
|
|
This will add a player to the group on the current World. This may return odd results if the permission system
|
|
being used on the server does not support world-specific groups, or if the group being added to is a global group.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - Player Object</dd>
|
|
<dd><code>group</code> - Group name</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemoveGroup-java.lang.String-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemoveGroup</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public abstract boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.567">playerRemoveGroup</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerRemoveGroup(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemoveGroup-org.bukkit.World-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemoveGroup</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.573">playerRemoveGroup</a>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-"><code>playerRemoveGroup(String, OfflinePlayer, String)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemoveGroup-java.lang.String-org.bukkit.OfflinePlayer-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemoveGroup</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.590">playerRemoveGroup</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</pre>
|
|
<div class="block">Remove player from a group.
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - World Object</dd>
|
|
<dd><code>player</code> - to remove</dd>
|
|
<dd><code>group</code> - Group name</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemoveGroup-org.bukkit.entity.Player-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemoveGroup</h4>
|
|
<pre>public boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.606">playerRemoveGroup</a>(org.bukkit.entity.Player player,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</pre>
|
|
<div class="block">Remove player from a group.
|
|
This will add a player to the group on the current World. This may return odd results if the permission system
|
|
being used on the server does not support world-specific groups, or if the group being added to is a global group.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - Player Object</dd>
|
|
<dd><code>group</code> - Group name</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Success or Failure</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPlayerGroups-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlayerGroups</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.614">getPlayerGroups</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPlayerGroups(String, OfflinePlayer)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="getPlayerGroups-org.bukkit.World-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlayerGroups</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.620">getPlayerGroups</a>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPlayerGroups(String, OfflinePlayer)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="getPlayerGroups-java.lang.String-org.bukkit.OfflinePlayer-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlayerGroups</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.636">getPlayerGroups</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player)</pre>
|
|
<div class="block">Gets the list of groups that this player has
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - String world name</dd>
|
|
<dd><code>player</code> - OfflinePlayer</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Array of groups</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPlayerGroups-org.bukkit.entity.Player-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlayerGroups</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.648">getPlayerGroups</a>(org.bukkit.entity.Player player)</pre>
|
|
<div class="block">Returns a list of world-specific groups that this player is currently in. May return unexpected results if
|
|
you are looking for global groups, or if the registered permission system does not support world-specific groups.
|
|
See <a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPlayerGroups(String, OfflinePlayer)</code></a> for better control of World-specific or global groups.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - Player Object</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Array of groups</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPrimaryGroup-java.lang.String-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPrimaryGroup</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.656">getPrimaryGroup</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPrimaryGroup(String, OfflinePlayer)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="getPrimaryGroup-org.bukkit.World-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPrimaryGroup</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.662">getPrimaryGroup</a>(org.bukkit.World world,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPrimaryGroup(String, OfflinePlayer)</code></a> instead.</span></div>
|
|
</li>
|
|
</ul>
|
|
<a name="getPrimaryGroup-java.lang.String-org.bukkit.OfflinePlayer-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPrimaryGroup</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.678">getPrimaryGroup</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
org.bukkit.OfflinePlayer player)</pre>
|
|
<div class="block">Gets players primary group
|
|
Supports NULL value for World if the permission system registered supports global permissions.
|
|
But May return odd values if the servers registered permission system does not have a global permission store.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>world</code> - String world name</dd>
|
|
<dd><code>player</code> - to get from</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Players primary group</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPrimaryGroup-org.bukkit.entity.Player-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPrimaryGroup</h4>
|
|
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.690">getPrimaryGroup</a>(org.bukkit.entity.Player player)</pre>
|
|
<div class="block">Get players primary group.
|
|
Defaults to the players current world, so may return only world-specific groups.
|
|
In most cases <a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup-java.lang.String-org.bukkit.OfflinePlayer-"><code>getPrimaryGroup(String, OfflinePlayer)</code></a> is preferable.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>player</code> - Player Object</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Players primary group</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGroups--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGroups</h4>
|
|
<pre>public abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.698">getGroups</a>()</pre>
|
|
<div class="block">Returns a list of all known groups</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>an Array of String of all groups</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="hasGroupSupport--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>hasGroupSupport</h4>
|
|
<pre>public abstract boolean <a href="../../../../src-html/net/milkbowl/vault/permission/Permission.html#line.704">hasGroupSupport</a>()</pre>
|
|
<div class="block">Returns true if the given implementation supports groups.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if the implementation supports groups</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/Permission.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev Class</li>
|
|
<li>Next Class</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?net/milkbowl/vault/permission/Permission.html" target="_top">Frames</a></li>
|
|
<li><a href="Permission.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small><b>Milkbowl, 2020</b></small></p>
|
|
</body>
|
|
</html>
|