summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-12-03 15:16:27 +1100
committermd_5 <git@md-5.net>2018-12-03 15:16:37 +1100
commita4c555b6b12661fbcfc442e91a9df1436508e552 (patch)
treee224d439ac3faeed659bdadb3d0e2a5a6a20aaa9 /src/main/java/org
parent6a398ac443ac411c2e1723eb9aaa1a38792c7645 (diff)
downloadcraftbukkit-a4c555b6b12661fbcfc442e91a9df1436508e552.tar
craftbukkit-a4c555b6b12661fbcfc442e91a9df1436508e552.tar.gz
craftbukkit-a4c555b6b12661fbcfc442e91a9df1436508e552.tar.lz
craftbukkit-a4c555b6b12661fbcfc442e91a9df1436508e552.tar.xz
craftbukkit-a4c555b6b12661fbcfc442e91a9df1436508e552.zip
Add Vanilla help to default permissions
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/util/permissions/CommandPermissions.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/util/permissions/CommandPermissions.java b/src/main/java/org/bukkit/craftbukkit/util/permissions/CommandPermissions.java
index c928c2b6..031f0ecf 100644
--- a/src/main/java/org/bukkit/craftbukkit/util/permissions/CommandPermissions.java
+++ b/src/main/java/org/bukkit/craftbukkit/util/permissions/CommandPermissions.java
@@ -16,6 +16,7 @@ public final class CommandPermissions {
DefaultPermissions.registerPermission(PREFIX + "kill", "Allows the user to commit suicide", PermissionDefault.OP, commands);
DefaultPermissions.registerPermission(PREFIX + "me", "Allows the user to perform a chat action", PermissionDefault.TRUE, commands);
DefaultPermissions.registerPermission(PREFIX + "msg", "Allows the user to privately message another player", PermissionDefault.TRUE, commands);
+ DefaultPermissions.registerPermission(PREFIX + "help", "Allows the user to access Vanilla command help", PermissionDefault.TRUE, commands);
DefaultPermissions.registerPermission(PREFIX + "say", "Allows the user to talk as the console", PermissionDefault.OP, commands);
DefaultPermissions.registerPermission(PREFIX + "give", "Allows the user to give items to players", PermissionDefault.OP, commands);
DefaultPermissions.registerPermission(PREFIX + "teleport", "Allows the user to teleport players", PermissionDefault.OP, commands);