Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //You may not reproduce this code or modify it without the consent of the Author: Behn Hayhoe.
- //Permission can be obtained by emailing: [email protected] with details of what you wish to do with it.
- package com.gmail.contactbshayhoe;
- import org.bukkit.plugin.java.JavaPlugin;
- import com.gmail.contactbshayhoe.commands.nationad;
- import com.gmail.contactbshayhoe.commands.nationplease;
- import com.gmail.contactbshayhoe.commands.townad;
- import com.gmail.contactbshayhoe.commands.townplease;
- public class NeedTown2 extends JavaPlugin implements CommandExecutor {
- @Override
- public void onEnable() {
- getLogger().info("NeedTown2 is now active");
- getCommand("townplease").setExecutor(new townplease());
- getCommand("nationplease").setExecutor(new nationplease());
- getCommand("townad").setExecutor(new townad());
- getCommand("nationad").setExecutor(new nationad());
- }
- @Override
- public void onDisable() {
- getLogger().info("NeedTown2 has now shutdown");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment