Merge branch 'main' into server-tags
BIN
docs/assets/content/probably-up-sucessful.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
docs/assets/content/probably-up.png
Normal file
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 209 KiB |
BIN
docs/assets/content/win11-ethernet-properties-highlighted.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
docs/assets/content/win11-network-connections.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
docs/assets/content/win11-network-settings-static-ip.png
Normal file
After Width: | Height: | Size: 116 KiB |
BIN
docs/assets/content/win11-open-cmd.png
Normal file
After Width: | Height: | Size: 311 KiB |
After Width: | Height: | Size: 253 KiB |
@ -1 +1 @@
|
|||||||
# UI-App-Erstellung
|
# Erstellen einer UI-App
|
||||||
|
@ -1,14 +1,17 @@
|
|||||||
---
|
---
|
||||||
hide:
|
hide:
|
||||||
- navigation
|
- Navigation
|
||||||
---
|
---
|
||||||
|
|
||||||
!!! warning "Diese Seite befindet sich im Aufbau!"
|
!!! warning "Diese Seite befindet sich im Aufbau!"
|
||||||
|
|
||||||
Diese Seite wird aktiv bearbeitet.
|
```
|
||||||
|
Diese Seite steht unter aktiver Bearbeitung.
|
||||||
|
|
||||||
Denken Sie, Sie könnten helfen? Bitte tun Sie dies, indem Sie auf die Seite mit einem Bleistift rechts klicken!
|
Denkst du, dass du helfen könntest? Das kannst du tun, indem du auf das Editier Symbol auf der rechten Seite klickst!
|
||||||
|
|
||||||
Dies kann auch auf jeder anderen Seite gemacht werden.
|
Das trifft auch auf alle anderen Seiten zu.
|
||||||
|
```
|
||||||
|
|
||||||
# Willkommen bei BeamMP Docs! :tada:
|
# Willkommen bei BeamMP Docs! :tada:
|
||||||
|
|
||||||
|
20
docs/de/server/error-codes.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Fehlermeldungen
|
||||||
|
|
||||||
|
Diese Seite enthält jene Fehlermeldungen, die der Server anzeigen kann.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Code | Beschreibung | Mögliche Lösung
|
||||||
|
--- | --- | ---
|
||||||
|
10022 | Es gibt ein Problem mit der Anbindung des Ports | Prüfe, ob der Port für den Server bereits von einem anderen Service verwendet wird.
|
||||||
|
10048 | Adresse bereits in Verwendung | Ein anderer BeamMP Server oder Programm läuft auf demselben Port. Benutze einen anderen Port.
|
||||||
|
10051 | Netzwerk nicht erreichbar | Schlechtes Port Forwarding oder ähnliche Probleme, stelle sicher, dass alles korrekt eingerichtet ist.
|
||||||
|
10052 | Netzwerk neugestartet | Tritt auf, wenn das Netzwerk die Verbindung verliert während eine Verbindung hergestellt wird. Versuche den Verbindungsaufbau erneut.
|
||||||
|
10053 | Verbindung abgebrochen | Verursacht durch Zeitüberschreitung oder Netzwerkfehler. Versuche es erneut.
|
||||||
|
10054 | Verbindung von Peer abgebrochen | Ein Client hat die Verbindung getrennt.
|
||||||
|
10060 | Zeitüberschreitung der Verbindung | Es gibt ein Problem mit der Port Weiterleitng. Siehe [Port Weiterleitung](create-a-server.md#1-port-forwarding).
|
||||||
|
10061 | Verbindung nicht zugelassen | Es gibt ein Problem mit der Port Weiterleitng. Siehe [Port Weiterleitung](create-a-server.md#1-port-forwarding).
|
||||||
|
10064 | Host nicht verfügbar | Unwahrscheinlicher Fehler, aber bedeutet, der Server ist nicht erreichbar.<br>Entweder weil der Server abgeschaltet ist, oder weil die Ports geschlossen wurden.
|
||||||
|
10065 | Host nicht erreichbar | Kein Internet oder schlechtes Port Forwarding. Sieh dir die [Anleitung](create-a-server.md#1-port-forwarding) an.
|
||||||
|
|
||||||
|
!!! Für codes, welche nicht in der Liste vorkommen, siehe [https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2](https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2) wenn du dich etwas mit Netzwerke / Sockets auskennst.
|
@ -1,10 +1,10 @@
|
|||||||
# F.A.Q. und bekannte Probleme
|
# F.A.Q.
|
||||||
|
|
||||||
Liste häufig gestellter Fragen und bekannter Fehler.
|
Liste der öfters auftretenden Fragen.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## **Spiel/Client**
|
## **Client**
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ Eine vollständige Anleitung zur Installation von BeamMP unter Windows findet ma
|
|||||||
|
|
||||||
#### **Funktioniert BeamMP mit einer gecrackten Version von BeamNG?**
|
#### **Funktioniert BeamMP mit einer gecrackten Version von BeamNG?**
|
||||||
|
|
||||||
BeamMP funktioniert nicht mit gecrackten oder veralteten Versionen von BeamNG.drive. Wenn Sie BeamMP nutzen möchten, denken Sie bitte über den Kauf des Spiels nach.
|
BeamMP garantiert keine Funktion mit gecrackten oder veralteten Versionen von BeamNG.drive. Das BeamMP Support Team wird Nutzern keine unterstützung gewähren, wenn eine nicht echte Kopie vom Spiel in Verwendung ist.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -28,15 +28,13 @@ BeamMP wird unter Linux nicht offiziell unterstützt. Möglicherweise können Si
|
|||||||
|
|
||||||
#### **Warum wird der Launcher von meinem Antivirenprogramm oder Windows Defender als Virus erkannt?**
|
#### **Warum wird der Launcher von meinem Antivirenprogramm oder Windows Defender als Virus erkannt?**
|
||||||
|
|
||||||
Um nicht als Virus erkannt zu werden, müsste BeamMP eine teure Lizenz kaufen. Daher kann es sein, dass BeamMP durch Antivirus Programme als Bedrohung erkannt, oder blockiert wird.
|
Einige Antivirus Programme Melden BeamMP möglicherweise als Bedrohung, weil es mit dem Netzwerk und anderen Komponenten interagiert. Es gibt **keine Schadsoftware** im Code. Der Code für den Launcher, Server und Lua Client können auf unserem [GitHub](https://github.com/BeamMP) gefunden werden.
|
||||||
|
|
||||||
Einige Antivirenprogramme markieren BeamMP als Virus, da es mit dem Netzwerk und anderen Dingen interagiert. Der Code enthält **keine Viren** . Der Code für den Launcher, den Server und den Lua-Client ist auf unserem [GitHub](https://github.com/BeamMP) einsehbar.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
#### **Meine Spieleleistung ist schlecht, was soll ich tun?**
|
#### **Ich habe schlechte Spiel Leistung, was soll ich tun?**
|
||||||
|
|
||||||
Wir arbeiten hart daran, die Leistung so gut wie möglich zu machen. Leider können Sie nicht viel dagegen tun. Wenn Sie Ihre Grafikeinstellungen bereits gesenkt haben und Ihre Leistung immer noch schlecht ist, sollten Sie überlegen, auf einem Server mit weniger Spielern zu spielen. Das Spiel ist hauptsächlich auf die CPU angewiesen wenn Sie mit vielen Leuten spielen, sodass ältere CPUs (sogar Quadcore-Prozessoren) bei mehr als einer Handvoll Leuten Probleme haben.
|
Wir arbeiten hart daran, die Mehrspieler Erfahrung so Stabil wie möglich zu gestalten. Wenn du deine Grafik Einstellungen bereits heruntergesetzt hast, aber die Leistung immer noch eingeschränkt ist, versuche es auf Servern mit weniger Spieler. Das Spiel ist hauptsächlich CPU gebunden, wenn du mit mehreren Personen spielst, ältere CPUs (sogar quadcores) werden schon unter einer Hand voll an Spielern leiden. (Generelle Daumenregel: 1 Auto pro 1 CPU Thread)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -46,21 +44,21 @@ Wir arbeiten hart daran, die Leistung so gut wie möglich zu machen. Leider kön
|
|||||||
|
|
||||||
#### **Wo finde ich den Code?**
|
#### **Wo finde ich den Code?**
|
||||||
|
|
||||||
Den gesamten Quellcode findet man auf unserem [GitHub](https://github.com/BeamMP) . Bevor Änderungen vorgenommen werden sollen, denke daran, dass der Code unseren [Nutzungsbedingungen](https://forum.beammp.com/t/terms-of-use-v1-0/43) und Lizenzen unterliegt:
|
Der gesamte Source Code kann auf unserem [GitHub](https://github.com/BeamMP) gefunden werden. Bevor du Änderungen vornimmst, beachte, dass der Code unseren [Nutzungsbedingungen](https://forum.beammp.com/t/terms-of-use-v1-0/43) und Lizenzen unterliegt:
|
||||||
|
|
||||||
Code | Lizenz
|
Code | Lizenz
|
||||||
--- | :-:
|
--- | :-:
|
||||||
Server | [LIZENZ](https://github.com/BeamMP/BeamMP-Server/blob/master/LICENSE)
|
Server | [LIZENZ](https://github.com/BeamMP/BeamMP-Server/blob/master/LICENSE)
|
||||||
Launcher | [LIZENZ](https://github.com/BeamMP/BeamMP-Launcher/blob/master/README.md)
|
Launcher | [LIZENZ](https://github.com/BeamMP/BeamMP-Launcher/blob/master/LICENSE)
|
||||||
Client Lua | [LIZENZ](https://github.com/BeamMP/BeamMP/blob/development/LICENSE.md)
|
Client Lua | [LIZENZ](https://github.com/BeamMP/BeamMP/blob/development/LICENSE)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
#### **Ich habe einen Fehler oder einen Exploit gefunden, was soll ich tun?**
|
#### **Ich habe einen Fehler oder einen Exploit gefunden, was soll ich tun?**
|
||||||
|
|
||||||
Wenn das Problem mit dem Code zusammenhängt und du weißt, wie man Github verwendet, erstelle eine neue „Issue“ im entsprechenden Repository auf unserem [GitHub](https://github.com/BeamMP) . Wir verwenden einen Problem-basierten Workflow. Selbst wenn du also bereits eine Lösung für den Fehler hast, solltest du eine „Issue“ öffnen und dann einen „Pull Request“ anfordern, der <br> das „Problem“ löst. Weitere Informationen zum Mitwirken findest du [hier](https://github.com/BeamMP/BeamMP/blob/development/CONTRIBUTING.md) .
|
Wenn das Problem etwas mit dem Code zu tun hat, öffne eine neue "Issue" in dem jeweiligen Repository auf unserer [GitHub](https://github.com/BeamMP) Seite. Wir nutzen einen issue-basierten Workflow. Also auch wenn du bereits einen Fix für den Bug hast, erstelle eine neue "Issue", dann einen "Pull Request" mit der Lösung für das Problem. Weitere Informationen, wie du beitragen kannst, findest du [hier](https://github.com/BeamMP/BeamMP/blob/development/CONTRIBUTING.md).
|
||||||
|
|
||||||
Wenn du kein GitHub-Konto hast oder nicht weißt, wie du GitHub verwendest, kannst du auf folgende Weise mit uns Kontakt aufnehmen:
|
Wenn du kein GitHub Konto hast, nicht weiß wie man GitHub verwendet, oder hast andere Fragen, kannst du gerne mit uns in Kontakt über folgende Wege treten:
|
||||||
|
|
||||||
- Wenn es sich nicht um etwas Sensibles handelt, können Sie einen Beitrag in unserem [BeamMP-Forum](https://forum.beammp.com) erstellen oder dies auf unserem [offiziellen Discord](https://discord.gg/beammp) melden.
|
- Wenn es sich nicht um etwas Sensibles handelt, kannst du einen Beitrag in unserem [BeamMP-Forum](https://forum.beammp.com) erstellen, oder dies auf unserem [offiziellen Discord](https://discord.gg/beammp) melden.
|
||||||
- Wenn die Informationen vertraulich sind, können Sie das Problem direkt einem Teammitglied auf unserem [Discord](https://discord.gg/beammp) melden.
|
- Wenn die Informationen vertraulich sind, kannst du das Problem direkt einem Teammitglied auf unserem [Discord](https://discord.gg/beammp) melden.
|
||||||
|
@ -36,12 +36,21 @@ Create a folder called `unpacked` inside the `mods` folder.
|
|||||||
|
|
||||||
Further information about the userfolder can be found at [https://documentation.beamng.com/support/userfolder/](https://documentation.beamng.com/support/userfolder/)
|
Further information about the userfolder can be found at [https://documentation.beamng.com/support/userfolder/](https://documentation.beamng.com/support/userfolder/)
|
||||||
|
|
||||||
## Enabling dev mode in BeamMP
|
## Enabling dev mode in the BeamMP launcher
|
||||||
|
|
||||||
By starting the launcher with the arguments ` 0 0` its development mode will be enabled. This will do two things, deactivate automatic mod updates and deactivate auto-starting BeamNG.
|
In order to prevent auto-update deleting your local git clone, it's necessary to disable it, using `--no-download`.
|
||||||
On Windows you can achieve this by opening the settings of the launcher shortcut on your desktop. Then add ` 0 0` (thats spaceZEROspaceZERO) to the end of the shortcut link.
|
If you also don't want the launcher to start BeamNG, and would like to see debug prints, then using `--dev` is advised.
|
||||||
|
|
||||||
Once dev mode was succesfully enabled, the launcher will stop with `[DEBUG] Core Network on start!` and wait until BeamNG was started by the user.
|
| Argument | Note |
|
||||||
|
|:--------------------------------------|:-------------------------------------------|
|
||||||
|
| `--help` or `-h` | Will print the following list of arguments |
|
||||||
|
| `--port <port>` or `-p` | Change the default listen port to `<port>`. This must be configured ingame too |
|
||||||
|
| `--verbose` or `-v` | Verbose mode, prints debug messages |
|
||||||
|
| `--no-download` | Skip downloading and installing the BeamMP Lua mod |
|
||||||
|
| `--no-update` | Skip applying launcher updates (you must update manually) |
|
||||||
|
| `--no-launch` | Skip launching the game (you must launch the game manually) |
|
||||||
|
| `--dev` | Developer mode, same as --verbose --no-download --no-launch --no-update |
|
||||||
|
| `--game <args...>` or `-- <args...>` | Passes arguments to the game |
|
||||||
|
|
||||||
## Cloning the BeamMP repo into the unpacked folder
|
## Cloning the BeamMP repo into the unpacked folder
|
||||||
|
|
||||||
@ -50,8 +59,8 @@ First create a fork of [https://github.com/BeamMP/BeamMP](https://github.com/Bea
|
|||||||
|
|
||||||
Most efficient would be to clone the repo directly into the `unpacked` folder.
|
Most efficient would be to clone the repo directly into the `unpacked` folder.
|
||||||
|
|
||||||
For `git`, run `git clone https://github.com/yourName/BeamMP` from a PowerShell or CMD window started from the `unpacked` folder
|
For `git`, run `git clone https://github.com/yourName/BeamMP` from a PowerShell or CMD window started from the `unpacked` folder.
|
||||||
While in the userfolder, make sure theres no `multiplayer` folder left in `mods` and that now there's `unpacked/beammp`
|
While in the userfolder, make sure theres no `multiplayer` folder left in `mods` and that now there's `unpacked/beammp`.
|
||||||
|
|
||||||
Now give the dev mode a try. Start the BeamMP launcher, start BeamNG manually, once ingame make sure that BeamMP is the only active mod.
|
Now give the dev mode a try. Start the BeamMP launcher, start BeamNG manually, once ingame make sure that BeamMP is the only active mod.
|
||||||
You should be able to use BeamMP as usual.
|
You should be able to use BeamMP as usual.
|
||||||
|
@ -52,11 +52,7 @@ It is therefore recommended to host a Server with one of our partnered Services!
|
|||||||
|
|
||||||
*NOTE: if you host your server using one of our partners, the Port Forwarding step is not needed.*
|
*NOTE: if you host your server using one of our partners, the Port Forwarding step is not needed.*
|
||||||
|
|
||||||
Now back to Port Forwarding. This step is the same for almost every game's server, such as Minecraft Servers, so you can find many tutorials online for this, even for your specific router model. A good full guide is [this tutorial](https://www.noip.com/support/knowledgebase/general-port-forwarding-guide/). Make sure you forward port **30814**, as **TCP** and **UDP**.
|
Please see [this guide on how to port forward](port-forwarding.md)
|
||||||
|
|
||||||
While the default **Port** you want to “forward” is **30814**, you can choose any other number >1024, but you need to note down what you picked if it's not 30814\. You need to forward both **TCP** and **UDP**.
|
|
||||||
It is recommended to stick to the default port as that one is very unlikely to be used by another Service on your PC.
|
|
||||||
NOTE: If you are hosting multiple Servers on one machine, each Server needs a different Port. Server 1: 30814, Server 2: 30815 for example.
|
|
||||||
|
|
||||||
#### 1.1 Firewall
|
#### 1.1 Firewall
|
||||||
|
|
||||||
|
248
docs/en/server/port-forwarding.md
Normal file
@ -0,0 +1,248 @@
|
|||||||
|
# Port Forwarding
|
||||||
|
|
||||||
|
!!! danger ":material-scale-balance: DISCLAIMER:"
|
||||||
|
|
||||||
|
**Port forwarding is a risk**.
|
||||||
|
|
||||||
|
By Port forwarding you understand the risks of opening up ports on your home network to the public and therefore void the right to hold BeamMP accountable for **any and all** damages that may happen to you or your household.
|
||||||
|
|
||||||
|
We take no responsibility for any content on any externally linked services or websites.
|
||||||
|
|
||||||
|
<u>**If you do not understand this guide, please consider using one of our partners.**</u>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## How To Set Up a Port Forward
|
||||||
|
|
||||||
|
Setting up a port forward involves a few detailed network terms. Be prepared to write down a few notes as you go through the process.
|
||||||
|
|
||||||
|
There are 4 major steps to setting up a port forward.
|
||||||
|
|
||||||
|
## A quick guide. (A more detailed guide is below)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid cards" markdown>
|
||||||
|
|
||||||
|
- :material-dns:{ .lg .middle } __Assign a static IP address to your computer or devices__
|
||||||
|
|
||||||
|
---
|
||||||
|
This is needed to prevent the IP of your device changing and breaking the port forwarding rule.
|
||||||
|
|
||||||
|
|
||||||
|
[:octicons-arrow-right-24: See info about your router](https://portforward.com/router.htm#1)
|
||||||
|
|
||||||
|
- :material-router-wireless:{ .lg .middle } __Log in to your router__
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
This can normally be done by finding the Default Gateway IP, which can be found using `ipconfig` in command prompt and enter this in on a web browser.
|
||||||
|
|
||||||
|
- :material-lan-connect:{ .lg .middle } __Forward ports to your computer__
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Find the port forwarding section in your router menu. Most routers list the port forwarding section under Network, Advanced, or LAN.
|
||||||
|
|
||||||
|
- :material-test-tube:{ .lg .middle } __Test that your port is forwarded properly__
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Use a tool such as ProbablyUp to test if the rule is working.
|
||||||
|
|
||||||
|
[:octicons-arrow-right-24: Probably Up](https://probablyup.net/api)
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
## The detailed guide
|
||||||
|
|
||||||
|
### 1. Assigning a static IP address
|
||||||
|
|
||||||
|
### Method 1: Set Up a Static IP Address Using DHCP Reservations
|
||||||
|
|
||||||
|
Another way to set up a static IP address is to use your router's DHCP reservations feature. Not all routers have this feature, so this may not be an option for you. Please search the internet with the model of your router to find out if you can.
|
||||||
|
|
||||||
|
However, if your router does have this feature, it is an excellent choice for reserving a static IP address for all of the devices in your home. DHCP reservations allow you to centrally manage all of your home IP addresses from a single interface and will enable you to change settings on devices that you may otherwise not be able to edit.
|
||||||
|
|
||||||
|
If you have managed to do this, please skip directly to [step 2](port-forwarding.md#2-log-in-to-your-router)
|
||||||
|
|
||||||
|
### Method 2: Assign a static IP in Windows
|
||||||
|
|
||||||
|
#### 1.1. Find your current IP Address, Gateway and DNS servers:
|
||||||
|
|
||||||
|
|
||||||
|
Before we can set up a static IP address, we need to know your current network settings.
|
||||||
|
You are going to want to write these down, so get a notepad window ready.
|
||||||
|
For this step, we are going to use command prompt.
|
||||||
|
|
||||||
|
Open up a command prompt. The 3 main ways are:
|
||||||
|
|
||||||
|
- Windows Key, then start typing the phrase "cmd", then press Enter when you see "Command Prompt" highlighted.
|
||||||
|
- Windows Key + R (opens the Run dialog box), followed by 'cmd', then Enter
|
||||||
|
- Right-click the Windows Icon, then choose 'Windows PowerShell' (white text on blue background)
|
||||||
|
|
||||||
|
|
||||||
|
<figure class="image image_resized" style="width:62%;" markdown>
|
||||||
|

|
||||||
|
</figure>
|
||||||
|
|
||||||
|
Once you are in the command prompt, run the following command:
|
||||||
|
|
||||||
|
```
|
||||||
|
ipconfig /all
|
||||||
|
```
|
||||||
|
|
||||||
|
You will see a lot of data.
|
||||||
|
If you have virtual or multiple network adapters, then you will see even more data.
|
||||||
|
It is common to see many virtual adapters if you have either Hyper-V or Docker installed.
|
||||||
|
|
||||||
|
|
||||||
|
<figure class="image image_resized" style="width:62%;" markdown>
|
||||||
|

|
||||||
|
</figure>
|
||||||
|
|
||||||
|
It is recommended to use a wired network connection which will be running this server, however, it will work over a wireless connection.
|
||||||
|
You will need to look for an adapter in this list which has valid settings. Scroll through the list and find one that has a Default Gateway assigned.
|
||||||
|
Many of the virtual adapters will not have a Default Gateway.
|
||||||
|
You need to find a Default Gateway that has a similar IP address to the IPv4 address listed for the adapter.
|
||||||
|
|
||||||
|
For instance, if you find an adapter with an IPv4 address that is 192.168.0.100, and the Default Gateway is 192.168.0.1, this is a suitable adapter.
|
||||||
|
|
||||||
|
You will need to note down the following information:
|
||||||
|
|
||||||
|
IPv4 Address, examples:
|
||||||
|
|
||||||
|
- 192.168.x.x
|
||||||
|
- 10.x.x.x.
|
||||||
|
- 172.16.x.x - 172.31.x.x
|
||||||
|
|
||||||
|
Subnet Mask (most likely 255.255.255.0)
|
||||||
|
</br>
|
||||||
|
Default Gateway (most likely 192.168.0.1 or 192.168.1.1)
|
||||||
|
|
||||||
|
!!! info "Please Note"
|
||||||
|
BeamMP currently does not support IPv6 for hosting a server.
|
||||||
|
|
||||||
|
#### 1.2. Modify Adapter Settings
|
||||||
|
|
||||||
|
Now we need to change the settings on your network card or ethernet adapter. To get to the settings for your network, the fastest method is:
|
||||||
|
|
||||||
|
- Single tap the Windows key
|
||||||
|
- Type the phrase "network connections" until you see "View network connections".
|
||||||
|
- Press the Enter key
|
||||||
|
|
||||||
|
|
||||||
|
<figure class="image image_resized" style="width:62%;" markdown>
|
||||||
|

|
||||||
|
</figure>
|
||||||
|
|
||||||
|
You should see a list of network connections on your computer.
|
||||||
|
If you have Hyper-V or Docker installed, there can be many.
|
||||||
|
Look for any adapters that are not named "Hyper-V".
|
||||||
|
|
||||||
|
<figure class="image image_resized" style="width:62%;" markdown>
|
||||||
|

|
||||||
|
</figure>
|
||||||
|
|
||||||
|
|
||||||
|
Right-click on your adapter and choose properties. If `Internet Protocol Version 4` is not checked, then this is the wrong adapter. Choose a different one.
|
||||||
|
|
||||||
|
<figure class="image image_resized" style="width:62%;" markdown>
|
||||||
|

|
||||||
|
</figure>
|
||||||
|
|
||||||
|
Double click on `Internet Protocol Version 4`. Change `Obtain an IP address automatically` to `Use the following IP address`.
|
||||||
|
|
||||||
|
Fill out the IP address, Subnet mask, Default gateway, and Preferred DNS server with the information from command prompt (ipconfig /all).
|
||||||
|
|
||||||
|
Alternatively, instead of using your DNS servers, you can use either the CloudFlare or Google DNS servers:
|
||||||
|
|
||||||
|
- CloudFlare DNS: 1.1.1.1, 1.0.0.1
|
||||||
|
- Google DNS: 8.8.8.8, 8.8.4.4
|
||||||
|
|
||||||
|
|
||||||
|
<figure class="image image_resized" style="width:62%;" markdown>
|
||||||
|

|
||||||
|
</figure>
|
||||||
|
|
||||||
|
Click Ok, then click Ok again, and your adapter is now changed from DHCP to static. Surf the web to make sure that you still have internet connectivity. If you do not, then change your settings back to Obtain an IP address automatically and try the next method.
|
||||||
|
|
||||||
|
### 2. Log in to your router
|
||||||
|
|
||||||
|
Now that you have a static IP address on your device, you are ready to forward your port for BeamMP!
|
||||||
|
|
||||||
|
To start, we need to log in to your router. Earlier, one of the settings that you wrote down is your Default Gateway. That is the IP address of your router.
|
||||||
|
|
||||||
|
Most routers use a locally hosted web page for management. To view your router's menu and settings:
|
||||||
|
|
||||||
|
- Open up a web browser. Firefox, Chrome or Edge should work fine.
|
||||||
|
- In the address bar, type your Default Gateway IP address, such as 192.168.0.1 or 192.168.1.1 and press enter
|
||||||
|
|
||||||
|
You should now see your router's login screen. Not all routers require a login, but most do. You need to know your router's username and password. If you have never logged in before, your username and password are most likely set to the factory default values or, in some cases, written on the bottom of your router.
|
||||||
|
|
||||||
|
Some of the most common factory usernames and passwords are listed here:
|
||||||
|
|
||||||
|
| Username | Password |
|
||||||
|
| ----------- | --------- |
|
||||||
|
| admin | admin |
|
||||||
|
| admin | password |
|
||||||
|
| {blank} | admin |
|
||||||
|
| {blank} | password |
|
||||||
|
|
||||||
|
Try various combinations of admin, password, and leaving the entries blank. *Where it says blank, try leaving the value blank.*
|
||||||
|
|
||||||
|
### 3. Create the forwarding rules!
|
||||||
|
|
||||||
|
#### 3.1. Find the forwarding section
|
||||||
|
Find the port forwarding section in your router menu. Navigate around in your router by clicking the tabs or links at the top or left of each page. Most routers list the port forwarding section under Network, Advanced, or LAN. Look for the following keywords to help you find it:
|
||||||
|
|
||||||
|
- Port Forwarding
|
||||||
|
- Forwarding
|
||||||
|
- Port Range Forwarding
|
||||||
|
- Virtual Servers
|
||||||
|
- Apps & Gaming
|
||||||
|
#### 3.2. Enter in the details
|
||||||
|
|
||||||
|
Once you find your router's port forwarding section, you are ready to enter the necessary information.
|
||||||
|
Your router will have a place to enter the ports to be forwarded and the destination IP address to point those forwarded ports. If your router lists both Internal and External ports, make them the same.
|
||||||
|
|
||||||
|
BeamMP requires both UDP and TCP port 30814 (Unless you have changed this in your [ServerConfig.toml](create-a-server.md#4-configuration)).
|
||||||
|
|
||||||
|
|
||||||
|
!!! info "Something to note:"
|
||||||
|
While the default **Port** you want to “forward” is **30814**, you can choose any other number greater than 1024 but less than 65535, but you need to note down what you picked if it's not 30814\. You need to forward both **TCP** and **UDP**.
|
||||||
|
</br>
|
||||||
|
It is recommended to stick to the default port as that one is very unlikely to be used by another service on your PC.
|
||||||
|
</br>
|
||||||
|
However, If you are hosting multiple servers on one machine, each server needs a different Port. Server 1: 30814, Server 2: 30815 for example.
|
||||||
|
|
||||||
|
On some routers you may need to create 2 rules, one for UDP and one for TCP, whilst others are nice and allow you to do both with a single rule!
|
||||||
|
|
||||||
|
Most routers have a Save button, and some routers require a restart or reboot for the changes to take effect.
|
||||||
|
|
||||||
|
### 4. Time to test!
|
||||||
|
|
||||||
|
There are a few different ways to test the connection.
|
||||||
|
|
||||||
|
Our recommend way is to use a tool called [Probably Up](https://probablyup.net/api) as this tests for BeamMP specific issues and protocols.
|
||||||
|
|
||||||
|
This can be done by getting your public IPv4 Address, this once again can be done in a few different ways. The main way is to use a website called [icanhazip.com](https://icanhazip.com/). This is a very simple website which displays your public IP Address. You should be looking for an IP address with the formatting: xxx.xxx.xxx.xxx
|
||||||
|
|
||||||
|
<figure class="image image_resized" style="width:62%;" markdown>
|
||||||
|

|
||||||
|
</figure>
|
||||||
|
|
||||||
|
Once you have entered in the information required, click on Run test and it should put out something like this:
|
||||||
|
|
||||||
|
<figure class="image image_resized" style="width:62%;" markdown>
|
||||||
|

|
||||||
|
</figure>
|
||||||
|
|
||||||
|
If you get the output above you can now join your server!
|
||||||
|
You have 2 ways to join, either directly with the details you entered into Probably UP, or, if your server is public, through the server-list.
|
||||||
|
|
||||||
|
## Still not working?
|
||||||
|
|
||||||
|
Please open a Server Support ticket on our [Discord server](https://discord.gg/beammp) in the `#support` channel and one of our staff will get to your ticket!
|
@ -28,7 +28,7 @@ If there are no binaries for your Operating System/Distribution, you can build i
|
|||||||
---
|
---
|
||||||
### **Players outside my network can not join my self-hosted server**
|
### **Players outside my network can not join my self-hosted server**
|
||||||
|
|
||||||
Read the step `1. Port Forwarding` of our guide that's available [here](https://docs.beammp.com/server/create-a-server/#1-port-forwarding). Below there's a brief summary of the most noteworthy steps.
|
Read the port forwarding guide that's available [here](https://docs.beammp.com/server/port-forwarding/). Below there's a brief summary of the most noteworthy steps.
|
||||||
If other players, trying to connect to your server, receive an error code 10060, 10061 or 10038 in their BeamMP launcher, then you should check the following steps:
|
If other players, trying to connect to your server, receive an error code 10060, 10061 or 10038 in their BeamMP launcher, then you should check the following steps:
|
||||||
|
|
||||||
- Forward port 30814 (or whichever port you set in your ServerConfig.toml), both TCP and UDP protocols.
|
- Forward port 30814 (or whichever port you set in your ServerConfig.toml), both TCP and UDP protocols.
|
||||||
@ -36,11 +36,11 @@ If other players, trying to connect to your server, receive an error code 10060,
|
|||||||
- Make sure you're not using a VPN (this can cause issues).
|
- Make sure you're not using a VPN (this can cause issues).
|
||||||
- Make sure the server is actually running, without any errors or warnings.
|
- Make sure the server is actually running, without any errors or warnings.
|
||||||
|
|
||||||
You can check if you have successfully portforwarded using the site 'portchecker.co' whilst the server is running.
|
You can check if you have successfully portforwarded using the site '[probablyup.net](https://probablyup.net/api)' whilst the server is running.
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|
||||||
- Some internet providers do not offer dedicated IPv4 addresses to your connection, so port forwarding may not be possible, despite it being available in the router.
|
- Some internet providers do not offer dedicated IPv4 addresses to your connection (CGNAT), so port forwarding may not be possible, despite it being available in the router.
|
||||||
- Port forwarding is not possible if you are using a mobile (4G/5G) internet connection.
|
- Port forwarding is not possible if you are using a mobile (4G/5G) internet connection.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -146,7 +146,7 @@ plugins:
|
|||||||
name: Deutsch
|
name: Deutsch
|
||||||
build: true
|
build: true
|
||||||
nav_translations:
|
nav_translations:
|
||||||
Home: Zuhause
|
Home: Hauptseite
|
||||||
Getting started: Erste Schritte
|
Getting started: Erste Schritte
|
||||||
Playing BeamMP: BeamMP spielen
|
Playing BeamMP: BeamMP spielen
|
||||||
Installing BeamMP: BeamMP Installation
|
Installing BeamMP: BeamMP Installation
|
||||||
@ -339,6 +339,7 @@ nav:
|
|||||||
- Using BeamMP: game/playing.md
|
- Using BeamMP: game/playing.md
|
||||||
- Running a Server:
|
- Running a Server:
|
||||||
- Server Installation: server/create-a-server.md
|
- Server Installation: server/create-a-server.md
|
||||||
|
- Port Forwarding: server/port-forwarding.md
|
||||||
- Server Maintenance: server/server-maintenance.md
|
- Server Maintenance: server/server-maintenance.md
|
||||||
- Error Codes: server/error-codes.md
|
- Error Codes: server/error-codes.md
|
||||||
- Server Manual: server/manual.md
|
- Server Manual: server/manual.md
|
||||||
|