package net.simpvp.Events;

import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;

public class Events extends JavaPlugin implements Listener {

	public static Events instance;
	public static boolean enabled = false;

	public Events() {
		instance = this;
	}

	@Override
	public void onEnable(){
		getServer().getPluginManager().registerEvents(new PlayerDeath(), this);
		getServer().getPluginManager().registerEvents(new PlayerRespawn(), this);
		getServer().getPluginManager().registerEvents(new PlayerQuit(), this);
		getServer().getPluginManager().registerEvents(new PluginDisable(), this);
		getCommand("ea").setExecutor(new EaCommand());
		getCommand("event").setExecutor(new EventCommand());
		getCommand("eventlist").setExecutor(new EventListCommand());
		getCommand("eventset").setExecutor(new EventSetCommand());
		getCommand("quitevent").setExecutor(new QuitEventCommand());
		getCommand("endevent").setExecutor(new EndEventCommand());
		getCommand("eventrestore").setExecutor(new EventRestoreCommand());
		enabled = true;
	}

	@Override
	public void onDisable(){
		enabled = false;
	}

}


@@ -21,16 +21,63 @@
 vents;%0A%0A
+import java.util.List;%0Aimport java.util.UUID;%0A%0A
 import o
@@ -102,16 +102,16 @@
 stener;%0A
-
 import o
@@ -278,16 +278,48 @@
 = false;
+%0A%09static List%3C?%3E banned_players;
 %0A%0A%09publi
@@ -357,32 +357,32 @@
 %0A%09%7D%0A%0A%09@Override%0A
-
 %09public void onE
@@ -390,16 +390,201 @@
 able()%7B%0A
+%09%09this.saveDefaultConfig();%0A%09%09banned_players = Events.instance.getConfig().getStringList(%22banned_players%22).stream().map(UUID::fromString).collect(java.util.stream.Collectors.toList());%0A
 %09%09getSer

Update Events.java