AsyncPlayerPreLoginEvent

Discussion in 'Plugin Development' started by BugsyFTW, Oct 14, 2013.

Thread Status:
Not open for further replies.
  1. So im trying to use this event(AsyncPlayerPreLoginEvent) but it doesn't seem to trigger, anyone with the same issues or knows any fix ?
     
  2. I guess you were using:

    Code:java
    1. @EventHandler
    2. public void asdassd(AsyncPlayerPreLoginEvent e) {
    3.  
    4. }
     
  3. Yes, i've used AsyncPlayerPreLoginEvent and PlayerPreLoginEvent even if its deprecated, does it work for you , using this event ?
     
  4. Offline

    MiniDigger

    @BugsyFTW it should work if you registered the listener. But are you shure you need that event and not the PlayerLoginEvent or the PlayeJoinEvent?​
     
  5. The events are registered, but that one doesn't seem to work for me, im just wondering if it's me or if anyone has the same issue.
     
  6. Offline

    Zarkopafilis

    debug messages, check the @EventHandler annotation and the registration
     
  7. This is the debug i made. It doesn't work event with the highest priority

    Code:java
    1. @EventHandler(priority = EventPriority.HIGHEST)
    2. public void onPlayerJoin(AsyncPlayerPreLoginEvent e){
    3. console("-------WORKKK------");
     
  8. Offline

    MrSparkzz

    For debugging purposes, you can set the priority to MONITOR
     
Thread Status:
Not open for further replies.

Share This Page