Download World Host — Minecraft Mods — MetaMods
World Host

World Host

Active

Downloads

44

Last update

6 months ago

Versions

1.16.1 — 1.21.5
Client
Fabric
Forge
Neoforge
Quilt
Social
Utils

World Host

Host your singleplayer worlds without the need to set up a server or configure port forwarding! In the future, we also plan to add support for Bedrock Edition clients via Geyser.

What if my friend doesn't have the mod?

If your friend doesn't have this mod installed, you won't be able to use the friends system. However, you can execute the /worldhost ip command to get an IP address for connection through tunneling. Note that using this method may increase ping. If you want to avoid ping increase, run /worldhost tempip to get a temporary server IP address that lasts for at least 60 seconds. Clients that connect within this time will remain connected. If you don't plan to use the friends system, you can disable it in the mod settings.

How does this mod work?

The mod uses a server that your client connects to. This server facilitates communication between clients with World Host installed.

  1. When your friend wants to join you, their client requests an IP address for connection from the server.
  2. The server asks your client to create a connection mode (called JoinType in the protocol). There are two modes available: UPnP and Proxy.
  3. UPnP mode is tried first. Your client attempts to open a temporary port forward in your router so your friend's client can connect to you directly.
  4. If UPnP is successful, your client tells the server the port number, after which the server gives your friend's client your IP and port number.
  5. If UPnP fails, your client asks the server to use Proxy mode. The server will then give your friend's client the same "proxy IP" as the /worldhost ip command.

The /worldhost tempip command first tries to use UPnP instead of immediately providing the proxy IP.

License

The mod is open source and distributed under the MIT license.

Project members
Gaming32

Gaming32

Admin

DARKZIPPER

DARKZIPPER

Created: 12 Mar 2023

ID: 1044