From 246cd5d29874cb27ec9cf4b4206e079ac207a266 Mon Sep 17 00:00:00 2001 From: Eric Date: Sun, 6 Sep 2015 12:02:56 +0200 Subject: [PATCH] Added compile permission and command description --- plugin.yml | 5 ++++- src/de/epiceric/shopchest/Commands.java | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/plugin.yml b/plugin.yml index e2afa21..79461b6 100644 --- a/plugin.yml +++ b/plugin.yml @@ -57,4 +57,7 @@ permissions: default: op shopchest.limits: description: Allows you to view shop limits. - default: true \ No newline at end of file + default: true + shopchest.compile: + description: Allows you to compile shops.yml to shops.db + default: op \ No newline at end of file diff --git a/src/de/epiceric/shopchest/Commands.java b/src/de/epiceric/shopchest/Commands.java index 218c7e5..9b3281a 100644 --- a/src/de/epiceric/shopchest/Commands.java +++ b/src/de/epiceric/shopchest/Commands.java @@ -383,7 +383,8 @@ public class Commands extends BukkitCommand { player.sendMessage(ChatColor.GREEN + "/" + Config.main_command_name() + " info - " + Config.cmdDesc_info()); player.sendMessage(ChatColor.GREEN + "/" + Config.main_command_name() + " reload - " + Config.cmdDesc_reload()); player.sendMessage(ChatColor.GREEN + "/" + Config.main_command_name() + " update - " + Config.cmdDesc_update()); - player.sendMessage(ChatColor.GREEN + "/" + Config.main_command_name() + " limits - " + Config.cmdDesc_limits()); + player.sendMessage(ChatColor.GREEN + "/" + Config.main_command_name() + " limits - " + Config.cmdDesc_limits()); + player.sendMessage(ChatColor.GREEN + "/" + Config.main_command_name() + " compile - Compile shops.yml to shops.db (Highly Recommended)"); }