Good day to all. I made a dedicated server according to the official documentation.
I’m trying to make mmo something like world of warcraft. In all such projects, you can access the server using the login/password combination. I made two levels “lobby” and “world”. At the beginning, all players get into the “lobby”. After entering the correct login/password combination, the server should transfer the authorized player to the “world”. I tried using the ServerTravel
server command, but then all players are transferred in general. It does not suit me. Only authorized players need to be transferred.
I found the functionality I needed in the documentation Travelling in Multiplayer | Unreal Engine 4.27 Documentation.
I’m interested in the APlayerController::ClientTravel
function
However, it does not run in the console or server.
Please tell me how to run this command correctly or alternative options to launch players on the server only after authorization.
P.S. I’m only interested in how to transfer the player. I can do the authentication myself.