I’m trying to figure out how to do a login system for players but I don’t know much about the unreal portion of it. I can handle the database side of it without any issues but the UE basics I know nothing about. I don’t need programming examples, just general directions (and suggested blueprints like GameInstance or GameMode etc if they matter.
I have a vague thought that in the client I show all the servers but I add a URL for the client to use for authentication (the login server address) so that when the client clicks Join Server it displays a login screen to enter the information (or create account) then it sends that information to the login server for processing. If it is a valid login then the client would actually join the session (as per normal). Not sure if this is the right way or if I should join the session first then authenticate.
Summary: Find Sessions and list them, click the desired server and extract IP from that object, authenticate using that ip/port and if successful join the session (or go back to login page).
Details I don’t know (No clue)
How to get the server IP (login server on same machine for now) can’t seem to find anything about that (except external plugins, rather have something native if it exists).
I already have everything working (Except authentication of course)
P.S. Shouldn’t matter but I’ll probably use MySql or Postgres for the database.