package creepermathattack;

import listeners.CommandPlay;
import listeners.EventAsyncPlayerChat;
import listeners.EventPlayerJoin;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;

/**
 * THIS IS A DEMO GAME ONLY. This plugin must be used with world.zip as the world file to work correctly.
 */
public class Main extends JavaPlugin {

    private static JavaPlugin instance;

    static JavaPlugin getInstance() {
        return instance;
    }

    @Override
    public void onEnable() {
        instance = this;
        registerListeners();
        registerCommands();
    }

    @Override
    public void onDisable() {
        instance = null;
    }

    private void registerListeners() {
        PluginManager pm = this.getServer().getPluginManager();

        pm.registerEvents(new EventPlayerJoin(), this);
        pm.registerEvents(new EventAsyncPlayerChat(), this);
    }

    private void registerCommands() {
        this.getCommand("play").setExecutor(new CommandPlay());
    }
}

@@ -317,16 +317,31 @@
 rectly.%0A
+ * HELLO TYLER%0A
  */%0Apubl

optimized tasks