Kick an IP before any other plugin checked that IP

Discussion in 'BungeeCord Plugin Development' started by NewEraStudios, Aug 28, 2019.

Thread Status:
Not open for further replies.
  1. There's a lot of plugins that actually checks the Players in the PreLoginEvent, but, one of my plugins need to check the Player IP before the other plugins did so.

    Could exist another way to check the Player IPs and Kicking them before other plugins did?
  2. I mean you can play around with EventPriority?
  3. Already did, @EventHandler(priority = Byte.MIN_VALUE), but, there are other plugins that use this also.
  4. You have to put the lowest event priority so it will listen to the event first
  5. Why do you need to kick them before other plugins are triggered? The event will still go through to all plugins.
  6. Already did, but the same happens.
  7. Because in case of bot-attacks, antibot plugins are not able to stop bot-attacks without other plugins being triggered.
  8. The event will still be triggered for the plugins. I recommend not using poorly created plugins that would be an issue merely within the login event.
Thread Status:
Not open for further replies.