Guest User

Untitled

a guest
May 13th, 2020
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. package at.completeproxy.main;
  2.  
  3. import net.md_5.bungee.api.ProxyServer;
  4. import net.md_5.bungee.api.plugin.Listener;
  5. import net.md_5.bungee.api.plugin.Plugin;
  6.  
  7. public class Main extends Plugin implements Listener {
  8.  
  9. @Override
  10. public void onEnable() {
  11. new onTab();
  12. }
  13.  
  14. @Override
  15. public void onDisable() {
  16.  
  17. }
  18.  
  19. public void onTab(Plugin plugin) {
  20. ProxyServer.getInstance().getPluginManager().registerListener(plugin, this);
  21. }
  22.  
  23. }
Add Comment
Please, Sign In to add comment