Improved the code so that its more readable and easier to understand, improved the listener outputs of [auth_reset,auth_correct,auth_incorrect,disconnected] as they were the easiest:
auth_reset -> returns True when the auth is reset
auth_correct -> returns True when the auth is correct
auth_incorrect -> returns False when the auth is incorrect
disconnected -> returns in {"Reason":Reason} format with the reasons being: "Host Kicked Player", "Player Left", "Host Left the Game", if the disconnection reason is unknown please send it to me, it will be in the format: {"Reason":data,"Report":"This is an unknown disconnect, please report this and what happened"} with data being the websocket log
Thanks!