Register BungeeCord Listener

Discussion in 'Plugin Help/Development/Requests' started by FameForAim, Feb 1, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    FameForAim

    Hi everyone,
    i need to know how to register my BungeeCord Listener.
    I tried:
    Code:
    ProxyServer.getInstance().getPluginManager().registerListener(this, new Bungeelistener(this));
    But it say to me the argument is not appliciable for the type (Main, Bungeelistener)
    i think it is because of my constructor in the bungeelistener i already have because of the config i need there.
    The constructor is:
    Code:
        public final  Main plugin;
        public Bungeelistener(Main plugin) {
            this.plugin = plugin;
        }    
    what should i do now?
     
  2. Locked, we do not support Bungeecord here.
     
Thread Status:
Not open for further replies.

Share This Page