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