Server for MMO?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By djmick

How would I go about making an MMO style game where everyone joins together on the same server and can play together online? Basically you could give someone the link to the game, and if then went to the page, they would be in the same game world as everyone else? It would not need to be able to host that many people at the same time, but how would I do this?

:bust_in_silhouette: Reply From: Wakatta

This is actually much simpler than one would think and your checklist is as follows.

  1. Personal Domain name
  2. Server side application
  3. Client side application

With #1 you have some options. You can purchase a domain register for a free one or use your public IP as is.

Through port forwarding on your router you broadcast your public IP address to the world and allow other computers to connect to it

The server application handles how your game would run and the client is basically just a player side observation of this.

While simple in practice some knowledge is required to achieve the desired results so research the following.

Godot Multiplayer Framework
Port Forwarding

First test your Multiplayer game on localhost then try it on a LAN and once it’s all good you can host the server yourself(that PC always needs to be on) or run a Dedicated hosted server through a company.

Thanks! I already have a server and client application that can communicate but only when both are run on either: the same computer with the IP, or when I use two devices both on my internet with its IP. I would like to make it to where people from anywhere could connect to the server, and the server would always be present. (AKA I don’t have to run the executable on my computer). What would be my best option for this?

djmick | 2021-08-03 22:37

Monthly subscription to a Cloud VPS

If you’re familiar with SSL and P2P you can have a look at ejabberd

Wakatta | 2021-08-04 02:21

Hello, I Rented a Server. But how can I give the public IP address to godota?

saidsaix | 2021-11-17 12:04


saidsaix | 2021-11-17 12:05