How can I detect when a server receives a packet from a player using NMS? I want to make a packet listener with NMS which detects when the server receives a PacketPlayInSettings packet from a player. I've been searching for tutorials or topics with similar questions but I couldn't find anything. What I'm searching for: I want someone to link me a good tutorial or explain me how it works. I'd like to have a code example or at least with methods/classes to use with explanation on how it works. Please do not link me a github class which can detect Packets because it might work but I won't understand the code at all.