I want to grab a players net id and store it in the database along with a chosen name before they first play. How do I prevent them just joining and spawning before they do this?
Im dealing with something similar at the moment. Im setting up an auto spawn system in gamestate so player has no control over when they spawn.
Your default pawn in GameMode should be “None”. After they login you can spawn a pawn using “Spawn Actor from class” and giving it to the player by using the possess function.