package musician101.itembank.commands.ibcommand;

import musician101.itembank.Config;
import musician101.itembank.ItemBank;
import musician101.itembank.lib.Commands;
import musician101.itembank.lib.Messages;

import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;

/**
 * The code used to run when the ItemBank command is executed.
 * 
 * @author Musician101
 */
public class IBCommand implements CommandExecutor
{
	ItemBank plugin;
	Config config;
	
	/**
	 * @param plugin References the plugin's main class.
	 * @param config References the config options.
	 */
	public IBCommand(ItemBank plugin, Config config)
	{
		this.plugin = plugin;
		this.config = config;
	}
	
	/**
	 * @param sender Who sent the command.
	 * @param command Which command was executed.
	 * @param label Alias of the command.
	 * @param args Command parameters.
	 * @return True if the command was successfully executed.
	 */
	@Override
	public boolean onCommand(CommandSender sender, Command command, String label, String[] args)
	{
		if (command.getName().equalsIgnoreCase(Commands.BASE_CMD))
		{
			/** Base Command */
			if (args.length == 0)
			{
				sender.sendMessage(new String[]{Messages.PREFIX + "Version " + plugin.getDescription().getVersion() + " compiled with Bukkit 1.7.2-R0.2.",
						Messages.PREFIX + "Base command, type /itembank help for more info."});
				return true;
			}
			
			/** Account Command */
			if (args[0].equalsIgnoreCase(Commands.ACCOUNT_CMD))
				return AccountCommand.execute(plugin, sender, args);
			/** Config command */
			else if (args[0].equalsIgnoreCase(Commands.CONFIG_CMD))
				return ConfigCommand.excute(plugin, config, sender, args);
			/** Help Command */
			else if (args[0].equalsIgnoreCase(Commands.HELP_CMD))
				return HelpCommand.execute(plugin, sender, args);
			/** Purge Command */
			else if (args[0].equalsIgnoreCase(Commands.PURGE_CMD))
				return PurgeCommand.execute(plugin, sender, args);
			else if (args[0].equalsIgnoreCase("reload"))
			{
				if (!sender.hasPermission(Commands.RELOAD_PERM))
				{
					sender.sendMessage(Messages.NO_PERMISSION);
					return false;
				}
				plugin.config.reloadConfiguration();
				sender.sendMessage(Messages.PREFIX + "Config and item translator reloaded.");
				return true;
			}
		}
		sender.sendMessage(Messages.PREFIX + "Error: Unkown command.");
		return false;
	}
}

@@ -1987,16 +1987,41 @@
  args);%0A
+%09%09%09/** Reload Command */%0A
 %09%09%09else 

Add missing comment.