From 22aab024c27e0d48ec1bf2cd1c36ac120be27df2 Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Fri, 2 Nov 2012 17:35:41 +0100 Subject: [PATCH] Add a couple of permissions and commands. --- ProtocolLib/src/main/java/plugin.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/ProtocolLib/src/main/java/plugin.yml b/ProtocolLib/src/main/java/plugin.yml index 85d3318c..2bc5f45d 100644 --- a/ProtocolLib/src/main/java/plugin.yml +++ b/ProtocolLib/src/main/java/plugin.yml @@ -5,4 +5,29 @@ author: Comphenix website: http://www.comphenix.net/ProtocolLib main: com.comphenix.protocol.ProtocolLibrary -database: false \ No newline at end of file +database: false + +commands: + protocol: + description: Performs administrative tasks regarding ProtocolLib. + usage: / [reload|update] + permission: experiencemod.admin + permission-message: You don't have + packet: + description: Adds or removes a simple packet listener. + usage: / [add|remove|clear] [ID start] [ID stop] + permission: experiencemod.admin + permission-message: You don't have + +permissions: + protocol.*: + description: Gives access to everything. + children: + protocol.admin: true + protocol.info: true + protocol.admin: + description: Able to initiate the update process, and can configure debug mode. + default: op + protocol.info: + description: Can read update notifications, debug messages and error reports. + default: op \ No newline at end of file