Skip to content

You can invite friends into a singleplayer world you already created.

  1. Preparation
    1. Make sure the Online patch checkbox is enabled in the launcher settings. Without it, network features in a singleplayer world may be unavailable.
    2. Create a connection through a LAN program (for example: RadminVPN, TailScale, Hamachi, or ZeroTier).

    Note: If you have a public IP address and open ports, you can skip creating a virtual network.

  2. Launch the world
    1. Enter the game.
    2. Select the singleplayer world you want and load into it.
  3. Enable network mode
    1. After you spawn in the world, press Esc to open the game menu.

    2. Click Online Play.

      Online Play Button

    3. Set Allow other players to join to ON.

    4. Click Save.

      Online Play ON

  4. Share the code with your friend
    1. After saving the settings, the game will generate a unique join code.

      Online Play Code

    2. Copy this code and send it to your friend.

  5. Friend connection

    Your friend needs to do the following:

    1. Launch the game and open the Servers tab.
    2. Find the Join Via Code field or button.
    3. Paste the received code and click connect.

WARNING

Host dependency: If you leave your singleplayer world, your friend will be disconnected automatically.

Performance: Because your computer is rendering the game and running the server for your friend at the same time, CPU load will be higher. If the game starts stuttering, try lowering render distance.

HLauncher documentation