0 votes

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?

Godot version 3.2.1
in Engine by (598 points)

1 Answer

0 votes

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.

by (6,934 points)

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?

Monthly subscription to a Cloud VPS

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

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


Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.