Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.jay.dopekits;
- import org.bukkit.Bukkit;
- import org.bukkit.event.Listener;
- import org.bukkit.plugin.PluginManager;
- import org.bukkit.plugin.java.JavaPlugin;
- public class Main extends JavaPlugin implements Listener {
- public void onEnable() {
- @SuppressWarnings("unused")
- PluginManager pm = Bukkit.getServer().getPluginManager();
- pm.registerEvents(new Mod(this), this);
- //EVENTS
- getCommand("cc").setExecutor(new ChatClear());
- getCommand("help").setExecutor(new Help());
- getCommand("heal").setExecutor(new Heal());
- getCommand("creative").setExecutor(new Creative());
- getCommand("survival").setExecutor(new Survival());
- getCommand("kill").setExecutor(new Kill());
- getCommand("suicide").setExecutor(new Kill());
- getCommand("kick").setExecutor(new Kick());
- getCommand("ban").setExecutor(new Ban());
- getCommand("unban").setExecutor(new UnBan());
- getCommand("tp").setExecutor(new Utils());
- getCommand("tphere").setExecutor(new Utils());
- getCommand("myip").setExecutor(new Utils());
- getCommand("lag").setExecutor(new Lag());
- getCommand("dopereload").setExecutor(new Reload());
- getCommand("gm").setExecutor(new Gm());
- getCommand("fly").setExecutor(new Fly());
- getCommand("investigate").setExecutor(new Admin());
- getCommand("mod").setExecutor(new Mod(this));
- getCommand("admin").setExecutor(new AdminSwag());
- getCommand("default").setExecutor(new Default());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement