Transfer reason for disconnect from server to client

Hi,

I’m blocking clients from joining to my game server when all slots are full. The event I’m overriding is PreLogin from AGameModeBase.

and the rejection part:

Is it possible to somehow grab this message on the client (no idea if it is even being sent) or to send a message from the server to the client, which I could then display on the client user interface?

This might be of help: How to react to server rejecting client(reading the server error message client side)

2 Likes

That’s really helpful! Thanks a lot!