mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-22 17:18:40 +01:00
Fixed plan.inspect and plan.qinspect permission nodes for Sponge
This commit is contained in:
parent
192c06354b
commit
4475c44c22
@ -10,8 +10,8 @@ public enum Permissions {
|
||||
|
||||
HELP("plan.?"),
|
||||
|
||||
INSPECT("plan.inspect"),
|
||||
QUICK_INSPECT("plan.qinspect"),
|
||||
INSPECT("plan.inspect.base"),
|
||||
QUICK_INSPECT("plan.qinspect.base"),
|
||||
INSPECT_OTHER("plan.inspect.other"),
|
||||
QUICK_INSPECT_OTHER("plan.qinspect.other"),
|
||||
|
||||
@ -36,7 +36,7 @@ public enum Permissions {
|
||||
/**
|
||||
* Returns the permission node in plugin.yml.
|
||||
*
|
||||
* @return permission node eg. plan.inspect
|
||||
* @return permission node eg. plan.inspect.base
|
||||
*/
|
||||
public String getPermission() {
|
||||
return permission;
|
||||
@ -45,7 +45,7 @@ public enum Permissions {
|
||||
/**
|
||||
* Same as {@link #getPermission()}.
|
||||
*
|
||||
* @return permission node eg. plan.inspect
|
||||
* @return permission node eg. plan.inspect.base
|
||||
*/
|
||||
public String getPerm() {
|
||||
return getPermission();
|
||||
|
@ -51,13 +51,13 @@ permissions:
|
||||
plan.?:
|
||||
description: Help command
|
||||
default: true
|
||||
plan.inspect:
|
||||
plan.inspect.base:
|
||||
description: Allows you to check your player data.
|
||||
default: true
|
||||
plan.inspect.other:
|
||||
description: Allows you to check other players' player data.
|
||||
default: op
|
||||
plan.qinspect:
|
||||
plan.qinspect.base:
|
||||
description: Allows you to check your player data.
|
||||
default: op
|
||||
plan.qinspect.other:
|
||||
@ -93,8 +93,8 @@ permissions:
|
||||
plan.basic:
|
||||
children:
|
||||
plan.?: true
|
||||
plan.inspect: true
|
||||
plan.qinspect: true
|
||||
plan.inspect.base: true
|
||||
plan.qinspect.base: true
|
||||
plan.advanced:
|
||||
childer:
|
||||
plan.basic: true
|
||||
|
@ -430,7 +430,7 @@ not permitted.)</div>
|
||||
<div class="block">Returns the permission node in plugin.yml.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>permission node eg. plan.inspect</dd>
|
||||
<dd>permission node eg. plan.inspect.base</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -444,7 +444,7 @@ not permitted.)</div>
|
||||
<div class="block">Same as <a href="../../../../../main/java/com/djrapitops/plan/Permissions.html#getPermission--"><code>getPermission()</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>permission node eg. plan.inspect</dd>
|
||||
<dd>permission node eg. plan.inspect.base</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user