I’m using GameMode with the parent class of (GameMode).
I’d like to validate a users token passed via options on load level to see if they’re allowed on the server, but I can’t seem to expose the PreLogin event to Blueprints? Any suggestions would be greatly appreciated.
You have to create a new C++ class inheriting AGameMode and override the PreLogin function. Then, either use the new class as your active GameMode or base class of your current BP_GameMode.
Matchmaking (MM) is a sub-service that’s not a part of the game server. Steam and EOS have these.
MM in general is a server filtering service that provides applicable servers the client can join based on set criteria. So any validation processes per client would be executed here.
You do not want clients connecting to a server, validating then getting kicked. That’s bad design and bad for the server. They should only ever connect if they can actually play.