Updated How to host Multiplayer (markdown)

Yannik
2024-09-28 23:46:05 +02:00
parent bccfd8374c
commit 5e1ead140a

@@ -12,28 +12,28 @@ This mod has a server that your client connects to, this server is used to commu
1. Open a single player world. 1. Open a single player world.
2. Add your friend like in the following: 2. Add your friend like in the following:
1. <details open><summary>Hit the [esc] key on your keyboard and press "World host online"</summary><img src="https://github.com/user-attachments/assets/3e101319-23a0-439b-a56d-8faacc603eac" width="500px"></details> 1. <details open><summary>Hit the [esc] key on your keyboard and press "World host online".</summary><img src="https://github.com/user-attachments/assets/3e101319-23a0-439b-a56d-8faacc603eac" width="500px"></details>
2. <details><summary>Press the "Friends" button on the bottom left</summary><img src="https://github.com/user-attachments/assets/23226c36-9d6f-45db-a015-5c7e77fb15fc" width="500px"></details> 2. <details><summary>Press the "Friends" button on the bottom left.</summary><img src="https://github.com/user-attachments/assets/23226c36-9d6f-45db-a015-5c7e77fb15fc" width="500px"></details>
3. <details><summary>Add your friend(s) and let them add you back</summary><img src="https://github.com/user-attachments/assets/855c9d7c-a6aa-4036-97c9-aad09895e7fc" width="500px"></details> 3. <details><summary>Add your friend(s) and let them add you back.</summary><img src="https://github.com/user-attachments/assets/855c9d7c-a6aa-4036-97c9-aad09895e7fc" width="500px"></details>
3. <details open><summary>Open your world like you would with open to LAN but now that button is called "Open to Friends"</summary><img src="https://github.com/user-attachments/assets/829156eb-8961-4ff4-8491-5e1ac693d9db" width="400px"><img src="https://github.com/user-attachments/assets/bb723bc6-32bc-4925-9372-5c49069bd62f" width="400px"></details> 3. <details open><summary>Open your world like you would with open to LAN but now that button is called "Open to Friends".</summary><img src="https://github.com/user-attachments/assets/829156eb-8961-4ff4-8491-5e1ac693d9db" width="400px"><img src="https://github.com/user-attachments/assets/bb723bc6-32bc-4925-9372-5c49069bd62f" width="400px"></details>
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. 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) # Own dedicated server (Minecraft server hoster)
**Your server needs 4GB RAM or higher. A few CPU cores would also be great.**<br> **Your server needs 4GB RAM or higher. A few CPU cores would also be great.**<br>
[**DOWNLOAD SERVER JAR HERE**](https://github.com/vaporvee/BoundlessHorizons/releases/latest) [**DOWNLOAD SERVER JAR HERE**](https://github.com/vaporvee/BoundlessHorizons/releases/latest)
## "There is an option to upload a custom jar file" ## "There is an option to upload a custom jar file"
1. Just upload it to your Minecaft server provider 1. Just upload it to your Minecaft server provider.
2. Make sure the Java version 22 is selected (or make it be recognized as Minecraft 1.21.1) 2. Make sure the Java version 22 is selected (or make it be recognized as Minecraft 1.21.1).
3. Start your server 3. Start your server!
If your server provider didn't already make you do this you have to If your server provider didn't already make you do this you have to
<details><summary>accept the eula (Click here for info)</summary> <details><summary>accept the eula (Click here for info)</summary>
1. Edit your "eula.txt" in your server files. There is an option "eula=false" set it to "eula=true". 1. Edit your "eula.txt" in your server files. There is an option "eula=false" set it to "eula=true".
</details> </details>
If that didn't work ask your server support or try the next section If that didn't work ask your server support or try the next section.
## "There is no option to upload a custom jar file" ## "There is no option to upload a custom jar file"
1. Create a normal 1.21.1 Minecraft server like you would normally do. 1. Create a normal 1.21.1 Minecraft server like you would normally do.
2. Find your FTP Login data and download [WinSCP](https://winscp.net/eng/download.php) or any other FTP client. 2. Find your FTP Login data and download [WinSCP](https://winscp.net/eng/download.php) or any other FTP client.
@@ -42,10 +42,10 @@ 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 provider when you start the server. (probably something like `server.jar` or `minecraft-server.jar` or something similar). 4. Look for a **`.jar`** file which looks like it gets launched by your Minecraft server provider 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 provider thinks its the same file. 5. **Copy its full filename** and **rename** our downloaded boundless-server.jar with the **exact same copied name** so the provider thinks its the same file.
6. Delete the .jar on your server and replace it with our renamed boundless server. 6. Delete the .jar on your server and replace it with our renamed boundless server.
7. Start your server 7. Start your server!
If your server provider didn't already make you do this you have to If your server provider didn't already make you do this you have to
<details><summary>accept the eula (Click here for info)</summary> <details><summary>accept the eula. (Click here for info)</summary>
1. Edit your "eula.txt" in your server files. There is an option "eula=false" set it to "eula=true". 1. Edit your "eula.txt" in your server files. There is an option "eula=false" set it to "eula=true".
</details> </details>
@@ -56,13 +56,13 @@ If your server provider didn't already make you do this you have to
Sodium extra<br> Sodium extra<br>
Watermedia<br> Watermedia<br>
World Host<br> World Host<br>
3. Start your server 3. Start your server!
# Linux root server (Docker) # Linux root server (Docker)
## Requirement: ## Requirement:
- [Docker with Docker Compose Plugin](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository) - [Docker with Docker Compose Plugin](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
## Installation ## Installation
1. Create a new directory 1. Create a new directory.
2. Create a file called `docker-compose.yml` with the following contents: 2. Create a file called `docker-compose.yml` with the following contents:
```yml ```yml
services: services:
@@ -97,8 +97,8 @@ services:
volumes: volumes:
- ./data:/data - ./data:/data
``` ```
3. Run docker compose up -d in that directory 3. Run docker compose up -d in that directory.
4. Server should now be installing and then starting 4. Server should now be installing and then starting!
Follow the logs of the container using Follow the logs of the container using
```sh ```sh