Jump to content

[1.12] How to get the reason of a disconnection


Hawpe

Recommended Posts

I'm using the ClientDisconnectionFromServerEvent event to listen for any disconnection. I am only interested in getting disconnections that happened due to errors (time out, etc.).

This listens for every disconnection including the ones triggered by the player.

How can I either only catch the errors that are thrown, or check for the reason?

 

Thank you.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.