package simpleexplosivesnowball.teamkarbon.com;

import java.util.ArrayList;

import org.bukkit.ChatColor;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;

public class Main extends JavaPlugin {

	protected ArrayList<String> players = new ArrayList<String>(0);

	@Override
	public void onEnable() {
		
		getCommand("ESB").setExecutor(new Commandexecutor(this));
		
		PluginManager manager = this.getServer().getPluginManager();
		manager.registerEvents(new SBListener(this), this);
		
		getLogger().info("SimpleExplosiveSnowBall Plugin" + ChatColor.GREEN + "Enabled");
	}

	@Override
	public void onDisable() {
		getLogger().info(
				"SimpleExplosiveSnowBall Plugin has been safely" + ChatColor.DARK_RED
						+ "Disabled");
	}
}

@@ -71,16 +71,179 @@
 yList;%0A%0A
+import org.bukkit.ChatColor;%0Apackage com.teamkarbon.bukkit.SimpleExplosiveSnowBall;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0Aimport java.util.ArrayList;%0A%0A
 import o
@@ -346,16 +346,17 @@
 lugin;%0A%0A
+%0A
 public c
@@ -390,20 +390,11 @@
 n %7B%0A
+%09
 %0A%09
-protected 
 Arra
@@ -553,122 +553,477 @@
 %09%0A%09%09
-PluginManager manager = this.getServer().getPluginManager();%0A%09%09manager.registerEvents(new SBListener(this), this);
+File file = new File(getDataFolder() + File.separator + %22config.yml%22);%0A%09%09if (file.exists() == false) %7B%0A%09%09%09getLogger().info(%22Config not found, generating....%22);%09%09%09%0A%09%09%09getConfig().options().copyDefaults(true);%0A%09%09%09saveConfig();%0A%09%09%7D%0A%09%09%0A%09%09PluginManager manager = this.getServer().getPluginManager();%0A%09%09manager.registerEvents(new SBListener(this), this);%0A%09%09%0A%09%09try %7B%0A%09%09    MetricsLite metrics = new MetricsLite(this);%0A%09%09    metrics.start();%0A%09%09%7D catch (IOException e) %7B%0A%09%09%09%0A%09%09%7D
 %0A%09%09%0A
@@ -1148,16 +1148,32 @@
 ble() %7B%0A
+%09%09saveConfig();%0A
 %09%09getLog

Update Main.java