Proposal: Add a 'playerCanceledJoining' Event #3216
n3xuuu
started this conversation in
Engineering Discussion
Replies: 1 comment
-
Assuming this doesn't get added... just add a timeout function. On "playerConnecting" start a timer for the player that completes upon their "playerJoining" event. This will give you a rough idea of how long it would take for them to rejoin the server after they wipe their cache. Then on their next join, take that time, add 5 minutes. If the timer timesout, --ex: Cleanup, logging, or metrics tracking. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After calling
deferrals.done()
in theplayerConnecting
event, there is a delay before theplayerJoining
event is triggered. During this time, the client downloads required resources. However, if the player cancels the download, there is no way to detect or handle this scenario. This proposal suggests adding a new event,playerCanceledJoining
, which is triggered when a player cancels the download before completing the joining process.Beta Was this translation helpful? Give feedback.
All reactions