Added compile permission and command description

This commit is contained in:
Eric 2015-09-06 12:02:56 +02:00
parent ae756f43e7
commit 246cd5d298
2 changed files with 6 additions and 2 deletions

View File

@ -58,3 +58,6 @@ permissions:
shopchest.limits: shopchest.limits:
description: Allows you to view shop limits. description: Allows you to view shop limits.
default: true default: true
shopchest.compile:
description: Allows you to compile shops.yml to shops.db
default: op

View File

@ -384,6 +384,7 @@ public class Commands extends BukkitCommand {
player.sendMessage(ChatColor.GREEN + "/" + Config.main_command_name() + " reload - " + Config.cmdDesc_reload()); 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() + " 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)");
} }