Skip to content

How to host Multiplayer

Yannik edited this page Oct 16, 2024 · 22 revisions

Methods:

Free Method (Simplest method)

Own dedicated server (Minecraft server hoster)

Linux root server (Docker)

Free Method (Simplest method)

The Modpack contains a mod called "World Host". This mod has a server that your client connects to, this server is used to communicate with other clients using World Host.

  1. Open a single player world.

  2. Add your friend like in the following:

    1. Hit the [esc] key on your keyboard and press "World host online".
    2. Press the "Friends" button on the bottom left.
    3. Add your friend(s) and let them add you back.
  3. Open your world like you would with open to LAN but now that button is called "Open to Friends".
  4. Now your friend(s) can join over the main menu on the "Multiplayer" button and then on the "Friends" button on the top right. I don't have enough friends to show you though.

Own dedicated server (Minecraft server hoster)

Your server needs 4GB RAM or higher. A few CPU cores would also be great.
The steps can be slightly diefferent depending on your Minecraft server hoster.

📦Download server Jar here📦

"There is an option to upload a custom jar file"

  1. Just upload it to your Minecaft server hoster.
  2. Make sure the Java version 22 is selected (or make it be recognized as Minecraft 1.21.1).
  3. Start your server!

If your server hoster didn't already make you do this you have to

accept the eula (Click here for info) 1. Edit your "eula.txt" in your server files. There is an option "eula=false" set it to "eula=true".

If that didn't work ask your server support or try the next section.

"There is no option to upload a custom jar file"

  1. Create a normal 1.21.1 Minecraft server like you would normally do.
  2. Find your FTP Login data and download WinSCP or any other FTP client.
  3. In your FTP client you put in your Login credentials.
    Now you should have access to your Minecraft server's files.
  4. Look for a .jar file which looks like it gets launched by your Minecraft server hoster when you start the server. (probably something like server.jar or minecraft-server.jar or something similar).
  5. Copy its full filename and rename our downloaded boundless-server.jar with the exact same copied name so the hoster thinks its the same file.
  6. Delete the .jar on your server and replace it with our renamed boundless server.
  7. Start your server!

If your server hoster didn't already make you do this you have to

accept the eula. (Click here for info) 1. Edit your "eula.txt" in your server files. There is an option "eula=false" set it to "eula=true".

"There is an option to just select a modrinth modpack"

  1. Select the Boundless Horizons modpack (Slug:"boundless"/ID:"ScTwzzH2")
  2. Remove the following mods:
    "Sounds"
    Sodium extra
    Watermedia
    World Host
  3. Start your server!

Linux root server (Docker)

Requirement:

Installation

  1. Create a new directory.
  2. Create a file called docker-compose.yml with the following contents:
services:
  mc:
    container_name: boundless-mc
    image: itzg/minecraft-server
    tty: true
    stdin_open: true
    restart: always
    ports:
      - "25565:25565"
      - "24454:24454/udp"
    environment:
      EULA: "TRUE"
      MEMORY: "4g"
      MOD_PLATFORM: MODRINTH
      MODRINTH_MODPACK: ScTwzzH2
      MODRINTH_EXCLUDE_FILES: |
        sound
        sodium-extra
        watermedia
        world-host
        better-modlist
        better-ping-display-fabric
      MODRINTH_OVERRIDES_EXCLUSIONS: |
        resourcepacks/*
        shaderpacks/*
      SERVER_NAME: "A Boundless Horizons Modpack Server"
      MOTD: "§2A§6 Boundless §1Horizons §2Modpack Server"
      ICON: "https://raw.githubusercontent.com/vaporvee/BoundlessHorizons/refs/heads/main/assets/icon.png"
      DIFFICULTY: "NORMAL"
      SPAWN_PROTECTION: "0"
    volumes:
      # attach the relative directory 'data' to the container's /data path
      - ./data:/data
  1. Run docker compose up -d in that directory.
  2. Server should now be installing and then starting!

Open the Minecraft Server console:

docker attach boundless-mc

Follow the logs of the container:

docker compose logs -f

Check container status:

docker compose ps

Force stop the container:

docker compose stop

More information about that Docker Image: https://docker-minecraft-server.readthedocs.io/