Fixing WelcomeMe - Event.Type.PLAYER_JOIN Help

Discussion in 'Plugin Development' started by IAreKyleW00t, Mar 8, 2012.

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

    IAreKyleW00t

    So, I'm trying to fix that old plugin WelcomeMe. It's one of my favorite; small, lightweight and works perfectly... unless Bukkit updated. I'm trying to fix it, but I'm having some trouble with the PLAYER_JOIN event. I don't do much Java coding, I do other coding though... I'm really just fiddling around with this; would really like some help. :D

    Code:
        pm.registerEvent(Event.Type.PLAYER_JOIN, new WelcomeMePlayerListener(this), EventPriority.NORMAL, this);
    The error is Eclipse is the Event.Type.PLAYER_JOIN - that's were the problem is. Everything else I've managed to fix (I think). I'll post a pastebin of the full code.

    ReloadPluginCommand.java: http://pastebin.com/NHybYM9u
    WelcomeMe.java: http://pastebin.com/iwE9eyUV
    WelcomeMePlayerListener.java: http://pastebin.com/YQ8B1vnB
     
  2. Offline

    Njol

Thread Status:
Not open for further replies.

Share This Page