onSetProtocol - TheIronG/Nodecraft GitHub Wiki
- protocolVersion: Protocol version for the server (1.12.2 = 340)
- serverHost: The server host
- serverPort: The server port
- nextState: Clients next state (1 for status, 2 for play)
Emitted when a client sends a handshake packet, either for the server list ping or for the server join ping