// Path: src/main/java/com/thundergemios10/survivalgames/MessageManager.java
// public enum PrefixType {
// 
// 	MAIN, INFO, WARNING, ERROR;
// 		
// }


import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Vector;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginDescriptionFile;
import com.thundergemios10.survivalgames.MessageManager.PrefixType;
import com.thundergemios10.survivalgames.commands.*;
		helpinfo.put("reload", 3);
		helpinfo.put("refill", 3);
		helpinfo.put("resetarena", 3);
		//helpinfo.put("setstatswall", 1);

		//helpinfo.put("sponsor", 1);
	}
	private void loadNonPlayerOnlyCmdList() {
		nonPlayerOnlyCmds.put("forcestart", new ForceStart());
		nonPlayerOnlyCmds.put("enable", new Enable());
		nonPlayerOnlyCmds.put("disable", new Disable());
		nonPlayerOnlyCmds.put("delarena", new DelArena());
		nonPlayerOnlyCmds.put("reload",  new Reload());
		nonPlayerOnlyCmds.put("resetarena",  new ResetArena());
		nonPlayerOnlyCmds.put("listarenas", new ListArenas());
		nonPlayerOnlyCmds.put("getcount", new ListArenas());//Same as listarenas 
		nonPlayerOnlyCmds.put("list", new ListPlayers());
		nonPlayerOnlyCmds.put("flag", new Flag());
	}
	private void loadTabCompletionList(){
		for (String key : commands.keySet()) {
			tabCompletionList.add(key);
		}
		
	}

	public boolean onCommand(CommandSender sender, Command cmd1, String commandLabel, String[] args) {
		PluginDescriptionFile pdfFile = plugin.getDescription();

		if (SurvivalGames.config_todate == false) {
// Path: src/main/java/com/thundergemios10/survivalgames/MessageManager.java
// public enum PrefixType {
// 
// 	MAIN, INFO, WARNING, ERROR;
// 		
// }


// Path: src/main/java/com/thundergemios10/survivalgames/CommandHandler.java
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Vector;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginDescriptionFile;
import com.thundergemios10.survivalgames.MessageManager.PrefixType;
import com.thundergemios10.survivalgames.commands.*;

		helpinfo.put("reload", 3);
		helpinfo.put("refill", 3);
		helpinfo.put("resetarena", 3);
		//helpinfo.put("setstatswall", 1);

		//helpinfo.put("sponsor", 1);
	}
	private void loadNonPlayerOnlyCmdList() {
		nonPlayerOnlyCmds.put("forcestart", new ForceStart());
		nonPlayerOnlyCmds.put("enable", new Enable());
		nonPlayerOnlyCmds.put("disable", new Disable());
		nonPlayerOnlyCmds.put("delarena", new DelArena());
		nonPlayerOnlyCmds.put("reload",  new Reload());
		nonPlayerOnlyCmds.put("resetarena",  new ResetArena());
		nonPlayerOnlyCmds.put("listarenas", new ListArenas());
		nonPlayerOnlyCmds.put("getcount", new ListArenas());//Same as listarenas 
		nonPlayerOnlyCmds.put("list", new ListPlayers());
		nonPlayerOnlyCmds.put("flag", new Flag());
	}
	private void loadTabCompletionList(){
		for (String key : commands.keySet()) {
			tabCompletionList.add(key);
		}
		
	}

	public boolean onCommand(CommandSender sender, Command cmd1, String commandLabel, String[] args) {
		PluginDescriptionFile pdfFile = plugin.getDescription();

		if (SurvivalGames.config_todate == false) {
			msgmgr.sendMessage(PrefixType.WARNING, "The config file is out of date. Please tell an administrator to reset the config.", sender);