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.?"), 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();

View File

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

View File

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