Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package at.completeproxy.main;
- import net.md_5.bungee.api.ProxyServer;
- import net.md_5.bungee.api.plugin.Listener;
- import net.md_5.bungee.api.plugin.Plugin;
- public class Main extends Plugin implements Listener {
- @Override
- public void onEnable() {
- new onTab();
- }
- @Override
- public void onDisable() {
- }
- public void onTab(Plugin plugin) {
- ProxyServer.getInstance().getPluginManager().registerListener(plugin, this);
- }
- }
Add Comment
Please, Sign In to add comment