Fixed plan.inspect and plan.qinspect permission nodes for Sponge

This commit is contained in:
Brycey92 2018-09-06 16:34:33 -04:00
parent 192c06354b
commit 4475c44c22
3 changed files with 10 additions and 10 deletions

View File

@ -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();

View File

@ -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

View File

@ -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>