Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. package me.jms.glowny;
  2.  
  3. import org.bukkit.Bukkit;
  4. import org.bukkit.event.Listener;
  5. import org.bukkit.plugin.java.JavaPlugin;
  6.  
  7. public class Main extends JavaPlugin implements Listener{
  8.  
  9. private static Main instance;
  10.  
  11. public static Main getInst(){
  12. return instance;
  13. }
  14.  
  15. public void onEnable(){
  16. instance = this;
  17. getLogger().info("Teleportation Menu Loaded successfuly!");
  18. getCommand("setspawnwp").setExecutor(new Inve());
  19. getCommand("setstandard").setExecutor(new Inve());
  20. Bukkit.getPluginManager().registerEvents(this, this);
  21. Bukkit.getPluginManager().registerEvents(new Inve(), this);
  22. }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement