Updated How to host Multiplayer (markdown)

Yannik
2024-09-28 23:34:31 +02:00
parent 332c1b34d7
commit 845dd670ff

@@ -59,4 +59,42 @@ World Host<br>
3. Start your server 3. Start your server
# Linux root server (Docker) # Linux root server (Docker)
Guide coming very soon... ## Requirement:
- [Docker with Docker Compose Plugin](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
Create a new directory with a `docker-compose.yml` with the following contents:
```yml
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_DEFAULT_VERSION_TYPE: beta
MODRINTH_EXCLUDE_FILES: |
sound
sodium-extra
watermedia
world-host
MODRINTH_OVERRIDES_EXCLUSIONS: |
resourcepacks/*
shaderpacks/*
SERVER_NAME: "A Boundless Horizons Modpack Server"
MOTD: "\u00a72A\u00a76 Boundless \u00a71Horizons \u00a72Modpack Server"
ICON: "https://raw.githubusercontent.com/vaporvee/BoundlessHorizons/refs/heads/main/assets/icon.png"
DIFFICULTY: "NORMAL"
SPAWN_PROTECTION: "0"
volumes:
- ./data:/data
```
more info coming soon...