Updated permissions and the 'plugin.yml'.

This commit is contained in:
Tobias Ottenweller 2012-11-04 19:42:22 +01:00
parent 9067f875ce
commit bc92ce6707
2 changed files with 16 additions and 16 deletions

View File

@ -28,10 +28,10 @@ public class Plugin extends JavaPlugin
{ {
public static Plugin instance; public static Plugin instance;
public static final String permissionInfo = "ancientgates.info"; public static final String permissionInfo = "craftincgates.info";
public static final String permissionManage = "ancientgates.manage"; public static final String permissionManage = "craftincgates.manage";
public static final String permissionAll = "ancientgates.*"; public static final String permissionAll = "craftincgates.*";
public static final String permissionUse = "ancientgates.use"; public static final String permissionUse = "craftincgates.use";
public PluginPlayerListener playerListener = new PluginPlayerListener(); public PluginPlayerListener playerListener = new PluginPlayerListener();
public PluginBlockListener blockListener = new PluginBlockListener(); public PluginBlockListener blockListener = new PluginBlockListener();

View File

@ -1,28 +1,28 @@
name: AncientGates name: Craft Inc. Gates
version: 1.1.1 version: 1.1.1
description: A plugin to create gates for fast traveling. description: A plugin to create gates for fast traveling.
author: tomco author: tomco, s1m0ne
authors: [oloflarsson, locutus, DrAgonmoray, s1m0ne, tomco] authors: [oloflarsson, locutus, DrAgonmoray, s1m0ne, tomco]
website: http://www.craftinc.de/ancient-gates/ website: http://www.craftinc.de/ancient-gates/
main: org.mcteam.ancientgates.Plugin main: de.craftinc.Plugin
database: false database: false
commands: commands:
gate: gate:
description: All of the AncientGates commands description: All of the Craft Inc. Gates commands
usage: See documentation or type '/gate help' while playing. usage: See documentation or type '/gate help' while playing.
permissions: permissions:
ancientgates.*: craftincgates.*:
description: Gives access to all ancient gates commands and lets you use open gates. description: Gives access to all ancient gates commands and lets you use open gates.
children: children:
ancientgates.info: true craftincgates.info: true
ancientgates.use: true craftincgates.use: true
ancientgates.manage: true craftincgates.manage: true
ancientgates.info: craftincgates.info:
description: Gives access to info and list commands. description: Gives access to info and list commands.
ancientgates.use: craftincgates.use:
description: Allows you to use open gates. description: Allows you to use open gates.
acientgates.manage: craftincgates.manage:
description: Gives access to commands manipulating gates. description: Gives access to commands manipulating gates.