Closed Stuyk closed 3 years ago
This was discussed in an internal development channel.
Would be also nice if there would be any possibility to provide custom "disconnect" message to the user
Player.socialID
could be one of the main elements that beforeConnect
event can returns.
Added in next release.
But the user can only go back to main menu when the server isn't using early auth.
Wuhuuu
Suggestion An event like
beforeConnect
that has a list of ip, hwid, etc. of the incoming connection and you canreturn false
to prevent the connection and that will allow them to continue browsing servers.Use cases
Describe the solution you'd like An event like
beforeConnect
that has a list of ip, hwid, etc. of the incoming connection and you canreturn false
to prevent the connection and that will allow them to continue browsing servers.Describe alternatives you've considered Kicking through the playerConnect event if a boolean is true. If the client is not in debug mode they get stuck in the limbo between not being able to reconnect and not being able to rejoin without restarting their client. It's not a good solution and it needs to be something with better control.