mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2024-12-02 15:23:22 +01:00
1570 lines
121 KiB
HTML
1570 lines
121 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 (version 1.7.0_51) on Mon Jun 23 22:02:02 UTC 2014 -->
|
|
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
|
|
<title>Permission (Vault)</title>
|
|
<meta name="date" content="2014-06-23">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Permission (Vault)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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="overviewSummary" 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><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#Permission()">Permission</a></strong>()</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#getGroups()">getGroups</a></strong>()</code>
|
|
<div class="block">Returns a list of all known groups</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#getName()">getName</a></strong>()</code>
|
|
<div class="block">Gets name of permission method</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups(org.bukkit.entity.Player)">getPlayerGroups</a></strong>(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 class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups(java.lang.String, org.bukkit.OfflinePlayer)">getPlayerGroups</a></strong>(<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups(java.lang.String, java.lang.String)">getPlayerGroups</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPlayerGroups(org.bukkit.World, java.lang.String)">getPlayerGroups</a></strong>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup(org.bukkit.entity.Player)">getPrimaryGroup</a></strong>(org.bukkit.entity.Player player)</code>
|
|
<div class="block">Get players primary group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup(java.lang.String, org.bukkit.OfflinePlayer)">getPrimaryGroup</a></strong>(<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup(java.lang.String, java.lang.String)">getPrimaryGroup</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#getPrimaryGroup(org.bukkit.World, java.lang.String)">getPrimaryGroup</a></strong>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#groupAdd(java.lang.String, java.lang.String, java.lang.String)">groupAdd</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#groupAdd(org.bukkit.World, java.lang.String, java.lang.String)">groupAdd</a></strong>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#groupHas(java.lang.String, java.lang.String, java.lang.String)">groupHas</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#groupHas(org.bukkit.World, java.lang.String, java.lang.String)">groupHas</a></strong>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#groupRemove(java.lang.String, java.lang.String, java.lang.String)">groupRemove</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#groupRemove(org.bukkit.World, java.lang.String, java.lang.String)">groupRemove</a></strong>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#has(org.bukkit.command.CommandSender, java.lang.String)">has</a></strong>(org.bukkit.command.CommandSender sender,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#has(org.bukkit.entity.Player, java.lang.String)">has</a></strong>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#has(java.lang.String, java.lang.String, java.lang.String)">has</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#has(org.bukkit.World, java.lang.String, java.lang.String)">has</a></strong>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#hasGroupSupport()">hasGroupSupport</a></strong>()</code>
|
|
<div class="block">Returns true if the given implementation supports groups.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#hasSuperPermsCompat()">hasSuperPermsCompat</a></strong>()</code>
|
|
<div class="block">Returns if the permission system is or attempts to be compatible with super-perms.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#isEnabled()">isEnabled</a></strong>()</code>
|
|
<div class="block">Checks if permission method is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd(org.bukkit.entity.Player, java.lang.String)">playerAdd</a></strong>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd(java.lang.String, org.bukkit.OfflinePlayer, java.lang.String)">playerAdd</a></strong>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd(java.lang.String, java.lang.String, java.lang.String)">playerAdd</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAdd(org.bukkit.World, java.lang.String, java.lang.String)">playerAdd</a></strong>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddGroup(org.bukkit.entity.Player, java.lang.String)">playerAddGroup</a></strong>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddGroup(java.lang.String, org.bukkit.OfflinePlayer, java.lang.String)">playerAddGroup</a></strong>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddGroup(java.lang.String, java.lang.String, java.lang.String)">playerAddGroup</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddGroup(org.bukkit.World, java.lang.String, java.lang.String)">playerAddGroup</a></strong>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient(org.bukkit.OfflinePlayer, java.lang.String)">playerAddTransient</a></strong>(org.bukkit.OfflinePlayer player,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient(org.bukkit.entity.Player, java.lang.String)">playerAddTransient</a></strong>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient(java.lang.String, org.bukkit.OfflinePlayer, java.lang.String)">playerAddTransient</a></strong>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient(java.lang.String, org.bukkit.entity.Player, java.lang.String)">playerAddTransient</a></strong>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient(java.lang.String, java.lang.String)">playerAddTransient</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient(org.bukkit.OfflinePlayer, java.lang.String)"><code>playerAddTransient(OfflinePlayer, String)</code></a> instead.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient(java.lang.String, java.lang.String, java.lang.String)">playerAddTransient</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient(java.lang.String, org.bukkit.OfflinePlayer, java.lang.String)"><code>playerAddTransient(String, OfflinePlayer, String)</code></a> instead.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas(org.bukkit.entity.Player, java.lang.String)">playerHas</a></strong>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas(java.lang.String, org.bukkit.OfflinePlayer, java.lang.String)">playerHas</a></strong>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas(java.lang.String, java.lang.String, java.lang.String)">playerHas</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerHas(org.bukkit.World, java.lang.String, java.lang.String)">playerHas</a></strong>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerInGroup(org.bukkit.entity.Player, java.lang.String)">playerInGroup</a></strong>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerInGroup(java.lang.String, org.bukkit.OfflinePlayer, java.lang.String)">playerInGroup</a></strong>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerInGroup(java.lang.String, java.lang.String, java.lang.String)">playerInGroup</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerInGroup(org.bukkit.World, java.lang.String, java.lang.String)">playerInGroup</a></strong>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemove(org.bukkit.entity.Player, java.lang.String)">playerRemove</a></strong>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemove(java.lang.String, org.bukkit.OfflinePlayer, java.lang.String)">playerRemove</a></strong>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemove(java.lang.String, java.lang.String, java.lang.String)">playerRemove</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemove(org.bukkit.World, java.lang.String, java.lang.String)">playerRemove</a></strong>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><strong>Deprecated.</strong> </div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveGroup(org.bukkit.entity.Player, java.lang.String)">playerRemoveGroup</a></strong>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveGroup(java.lang.String, org.bukkit.OfflinePlayer, java.lang.String)">playerRemoveGroup</a></strong>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>abstract boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveGroup(java.lang.String, java.lang.String, java.lang.String)">playerRemoveGroup</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveGroup(org.bukkit.World, java.lang.String, java.lang.String)">playerRemoveGroup</a></strong>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>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.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient(org.bukkit.OfflinePlayer, java.lang.String)">playerRemoveTransient</a></strong>(org.bukkit.OfflinePlayer player,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient(org.bukkit.entity.Player, java.lang.String)">playerRemoveTransient</a></strong>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient(java.lang.String, org.bukkit.OfflinePlayer, java.lang.String)">playerRemoveTransient</a></strong>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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 class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient(java.lang.String, org.bukkit.entity.Player, java.lang.String)">playerRemoveTransient</a></strong>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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 class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient(java.lang.String, java.lang.String)">playerRemoveTransient</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient(org.bukkit.OfflinePlayer, java.lang.String)"><code>playerRemoveTransient(OfflinePlayer, String)</code></a> instead.</i></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient(java.lang.String, java.lang.String, java.lang.String)">playerRemoveTransient</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code>
|
|
<div class="block"><strong>Deprecated.</strong>
|
|
<div class="block"><i>As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient(java.lang.String, org.bukkit.OfflinePlayer, java.lang.String)"><code>playerRemoveTransient(String, OfflinePlayer, String)</code></a> instead.</i></div>
|
|
</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="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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="strong">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="strong">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="strong">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="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>sender</code> - to check permissions on</dd><dd><code>permission</code> - to check for</dd>
|
|
<dt><span class="strong">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="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>player</code> - Player Object</dd><dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="strong">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="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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="strong">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="strong">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="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>player</code> - Player Object</dd><dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="strong">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="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></div>
|
|
<dl><dt><span class="strong">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="strong">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="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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="strong">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="strong">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="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>player</code> - Player Object</dd><dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Success or Failure</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAddTransient(java.lang.String, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAddTransient</h4>
|
|
<pre><a href="http://docs.oracle.com/javase/6/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.207">playerAddTransient</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)
|
|
throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></pre>
|
|
<div class="block"><span class="strong">Deprecated.</span> <i>As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient(org.bukkit.OfflinePlayer, java.lang.String)"><code>playerAddTransient(OfflinePlayer, String)</code></a> instead.</i></div>
|
|
<dl><dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/6/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.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.224">playerAddTransient</a>(org.bukkit.OfflinePlayer player,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)
|
|
throws <a href="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>player</code> - to add to</dd><dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Success or Failure</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/6/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.239">playerAddTransient</a>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>player</code> - Player Object</dd><dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="strong">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.262">playerAddTransient</a>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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="strong">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="strong">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.275">playerAddTransient</a>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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="strong">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="strong">Returns:</span></dt><dd>Success or Failure</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerAddTransient(java.lang.String, java.lang.String, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerAddTransient</h4>
|
|
<pre><a href="http://docs.oracle.com/javase/6/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.283">playerAddTransient</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerAddTransient(java.lang.String, org.bukkit.OfflinePlayer, java.lang.String)"><code>playerAddTransient(String, OfflinePlayer, String)</code></a> instead.</i></div>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemoveTransient(java.lang.String, java.lang.String, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemoveTransient</h4>
|
|
<pre><a href="http://docs.oracle.com/javase/6/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.295">playerRemoveTransient</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> worldName,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient(java.lang.String, org.bukkit.OfflinePlayer, java.lang.String)"><code>playerRemoveTransient(String, OfflinePlayer, String)</code></a> instead.</i></div>
|
|
</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.312">playerRemoveTransient</a>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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="strong">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="strong">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.325">playerRemoveTransient</a>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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="strong">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="strong">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="http://docs.oracle.com/javase/6/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.333">playerRemove</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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.345">playerRemove</a>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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="strong">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="strong">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="http://docs.oracle.com/javase/6/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.363">playerRemove</a>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">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="strong">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="strong">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.378">playerRemove</a>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>player</code> - Player Object</dd><dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Success or Failure</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="playerRemoveTransient(java.lang.String, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playerRemoveTransient</h4>
|
|
<pre><a href="http://docs.oracle.com/javase/6/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.386">playerRemoveTransient</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>As of VaultAPI 1.4 use <a href="../../../../net/milkbowl/vault/permission/Permission.html#playerRemoveTransient(org.bukkit.OfflinePlayer, java.lang.String)"><code>playerRemoveTransient(OfflinePlayer, String)</code></a> instead.</i></div>
|
|
</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.404">playerRemoveTransient</a>(org.bukkit.OfflinePlayer player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>player</code> - OfflinePlayer</dd><dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="strong">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.419">playerRemoveTransient</a>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>player</code> - Player Object</dd><dd><code>permission</code> - Permission node</dd>
|
|
<dt><span class="strong">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.439">groupHas</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">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="strong">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.451">groupHas</a>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">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="strong">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.468">groupAdd</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">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="strong">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.480">groupAdd</a>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">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="strong">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.497">groupRemove</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">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="strong">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.509">groupRemove</a>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">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="strong">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="http://docs.oracle.com/javase/6/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">playerInGroup</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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="http://docs.oracle.com/javase/6/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">playerInGroup</a>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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.543">playerInGroup</a>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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="strong">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="strong">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.559">playerInGroup</a>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>player</code> - Player Object</dd><dd><code>group</code> - Group name</dd>
|
|
<dt><span class="strong">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="http://docs.oracle.com/javase/6/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">playerAddGroup</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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="http://docs.oracle.com/javase/6/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">playerAddGroup</a>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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.590">playerAddGroup</a>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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="strong">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="strong">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.606">playerAddGroup</a>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>player</code> - Player Object</dd><dd><code>group</code> - Group name</dd>
|
|
<dt><span class="strong">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="http://docs.oracle.com/javase/6/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.614">playerRemoveGroup</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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="http://docs.oracle.com/javase/6/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.620">playerRemoveGroup</a>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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.637">playerRemoveGroup</a>(<a href="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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="strong">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="strong">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.653">playerRemoveGroup</a>(org.bukkit.entity.Player player,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>player</code> - Player Object</dd><dd><code>group</code> - Group name</dd>
|
|
<dt><span class="strong">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="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public abstract <a href="http://docs.oracle.com/javase/6/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.661">getPlayerGroups</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public <a href="http://docs.oracle.com/javase/6/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.667">getPlayerGroups</a>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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="http://docs.oracle.com/javase/6/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.683">getPlayerGroups</a>(<a href="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>world</code> - String world name</dd><dd><code>player</code> - OfflinePlayer</dd>
|
|
<dt><span class="strong">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="http://docs.oracle.com/javase/6/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.695">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="strong">Parameters:</span></dt><dd><code>player</code> - Player Object</dd>
|
|
<dt><span class="strong">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="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public abstract <a href="http://docs.oracle.com/javase/6/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.703">getPrimaryGroup</a>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> world,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public <a href="http://docs.oracle.com/javase/6/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.709">getPrimaryGroup</a>(org.bukkit.World world,
|
|
<a href="http://docs.oracle.com/javase/6/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="strong">Deprecated.</span> <i>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.</i></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="http://docs.oracle.com/javase/6/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.725">getPrimaryGroup</a>(<a href="http://docs.oracle.com/javase/6/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="strong">Parameters:</span></dt><dd><code>world</code> - String world name</dd><dd><code>player</code> - to get from</dd>
|
|
<dt><span class="strong">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="http://docs.oracle.com/javase/6/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.737">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="strong">Parameters:</span></dt><dd><code>player</code> - Player Object</dd>
|
|
<dt><span class="strong">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="http://docs.oracle.com/javase/6/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.745">getGroups</a>()</pre>
|
|
<div class="block">Returns a list of all known groups</div>
|
|
<dl><dt><span class="strong">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.751">hasGroupSupport</a>()</pre>
|
|
<div class="block">Returns true if the given implementation supports groups.</div>
|
|
<dl><dt><span class="strong">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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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, 2014</b></small></p>
|
|
</body>
|
|
</html>
|