Creating a Multiplayer headless lobby server in Godot

Introduction to creating a headless lobby server in Godot

Hey fellow devs,

today I would like to add some more advanced words to my Tutorial on my YouTube-Channel. If you haven’t already please make sure to follow me on YouTube to receive updates about my upcoming Tutorial videos.

Why do we need a lobby server?

We could of course making just a peer to peer connection. The Problem? Most devices are behind routers and you won’t get the public ip from the device to connect them together.

For this reason we use a routing server aka lobby server which handles the connection to the devices. The lobby server also offers more control and we have the possibility to monitor things like concurrent users online. Opened games and other statistics.

Is MultiplayerEnet the only variant for this server?

No! Godot offers a wide range of Multipler implementations. It is maybe a better idea to use websockets if you would like to have a more dynamic server as a lobby server.

I used the Enet because it feels like it makes the most sense for my type of game, but maybe I will change this later.

If you have any questions regarding my blog or tutorials please feel free to comment below and share your feedback. I still have a of posts to do, but I hope I get the blog up to date as fast as possible.