Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.jay.factionessentials;
- import java.util.HashMap;
- import org.bukkit.command.Command;
- import org.bukkit.command.CommandSender;
- import org.bukkit.event.Listener;
- import org.bukkit.plugin.java.JavaPlugin;
- import commands.Mute;
- public class Main extends JavaPlugin implements Listener, MyInterface
- {
- public HashMap<String, String> staffchat = new HashMap<String, String>();
- @Override
- public void onEnable()
- {
- getCommand("help").setExecutor(new Help(this));
- getCommand("gm").setExecutor(new Gamemode(this));
- getCommand("kick").setExecutor(new Kick(this));
- getCommand("heal").setExecutor(new Heal(this));
- getCommand("kill").setExecutor(new Heal(this));
- getCommand("broadcast").setExecutor(new Broadcast(this));
- getCommand("clearinventory").setExecutor(new ClearInventory(this));
- getCommand("admin").setExecutor(new AdminMode(this));
- getCommand("cc").setExecutor(new ClearChat(this));
- getCommand("pcc").setExecutor(new ClearChat(this));
- getCommand("fly").setExecutor(new AdminMode(this));
- getCommand("leave").setExecutor(new Kick(this));
- getCommand("ban").setExecutor(new Ban(this));
- getCommand("unban").setExecutor(new Ban(this));
- getCommand("mutechat").setExecutor(new Globalmute(this));
- getCommand("kit").setExecutor(new OpKits(this));
- getCommand("fakeban").setExecutor(new Ban(this));
- }
- public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
- return false;
- }
- @Override
- public void onEnable1() {
- // TODO Auto-generated method stub
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement