From 15839ebd2ed2b63ac8895f4ae21666f4bb9e110f Mon Sep 17 00:00:00 2001 From: Xefir Date: Wed, 9 May 2012 14:57:29 +0200 Subject: [PATCH] Forget new vehicle permissions --- .../bukkit/simplyperms/SimplyPrevents.java | 2 +- src/plugin.yml | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/net/crystalyx/bukkit/simplyperms/SimplyPrevents.java b/src/net/crystalyx/bukkit/simplyperms/SimplyPrevents.java index 7526cad..ae1895c 100755 --- a/src/net/crystalyx/bukkit/simplyperms/SimplyPrevents.java +++ b/src/net/crystalyx/bukkit/simplyperms/SimplyPrevents.java @@ -34,8 +34,8 @@ public abstract class SimplyPrevents implements Listener { "craft.Enchant", "craft.Furnace", "craft.Workbench", - "fire.FlintAndSteel", "fire.Fireball", + "fire.FlintAndSteel", "interact.Bed", "interact.Button", "interact.Cake", diff --git a/src/plugin.yml b/src/plugin.yml index c4fab4e..c856363 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -160,8 +160,6 @@ permissions: description: Allows the player to get targeted by mosters permissions.allow.sneak: description: Allows the player to sneak except in creative mode - permissions.allow.vehicle: - description: Allows the player to use vehicles permissions.allow.build: description: Allows the player to build children: @@ -284,3 +282,18 @@ permissions: permissions.allow.egg: true permissions.allow.potion: true permissions.allow.snowball: true + permissions.allow.vehicle: + description: Allows the player to use vehicles + children: + permissions.allow.vehicle.collision: true + permissions.allow.vehicle.destroy: true + permissions.allow.vehicle.enter: true + permissions.allow.vehicle.place: true + permissions.allow.vehicle.collision: + description: Allows the player to collide with vehicles + permissions.allow.vehicle.destroy: + description: Allows the player to destroy vehicles + permissions.allow.vehicle.enter: + description: Allows the player to enter into vehicles + permissions.allow.vehicle.place: + description: Allows the player to place vehicles