ProtocolLib

3M Downloads

Whitelist packet

MatsG23 opened this issue ยท 1 comments

commented

Hello!

Is there a possibility to intercept the player join process and send a "You're not whitelisted"-Packet?

Best Regards

commented

You can do this without ProtocolLib. Simply listen to the AsyncPlayerPreLoginEvent, check whatever conditions you want to check, then do event.setResult(Result.KICK_WHITELIST);