mirror of
https://github.com/BeamMP/Docs.git
synced 2026-04-09 17:36:01 +00:00
Merge branch 'main' into main
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
# Getting Started
|
||||
|
||||
---
|
||||
## **Before getting started**
|
||||
BeamMP is only compatible with legitimate, Steam versions of the game. "Cracked" copies are not supported.
|
||||
## **Compatibility**
|
||||
|
||||
---
|
||||
BeamMP is fully compatible with Windows and Linux, compatibility with MacOS is being worked on.
|
||||
However, both Linux and MacOS are secondary platforms, this means bugs are to be expected.
|
||||
|
||||
BeamMP might not work with pirated copies of the game.
|
||||
|
||||
## **Installation**
|
||||
|
||||
BeamMP is natively compatible only with Windows at the moment.
|
||||
|
||||
### **Windows Installation**
|
||||
1. Go to [beammp.com](https://beammp.com/) and click the "Download client" button.
|
||||
2. Extract the `BeamMP_Installer.zip` archive.
|
||||
@@ -23,16 +22,55 @@ BeamMP is natively compatible only with Windows at the moment.
|
||||
|
||||
Note: _As you are loading into a map with multiple vehicles spawned it might take longer than expected to join._
|
||||
|
||||
## **Linux Installation**
|
||||
### **Linux Installation**
|
||||
|
||||
Currently you need to build the Launcher yourself.
|
||||
In order to do this, you need a basic understanding of how to build an application.
|
||||
|
||||
Make sure you have [`vcpkg` installed](https://learn.microsoft.com/en-us/vcpkg/get_started/get-started?pivots=shell-bash#1---set-up-vcpkg), as well as basic development tools, often found in packages, for example:
|
||||
|
||||
- Debian: `sudo apt install build-essential`
|
||||
- Fedora: `sudo dnf groupinstall "Development Tools"`
|
||||
- Arch: `sudo pacman -S base-devel`
|
||||
- openSUSE: `zypper in -t pattern devel-basis`
|
||||
|
||||
Clone the BeamMP-Launcher Repository to your system using `git`, for example:
|
||||
`git clone https://github.com/BeamMP/BeamMP-Launcher.git`
|
||||
[Additional information about cloning a GitHub Repo](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)
|
||||
|
||||
Checkout the tag that was used for the [latest release](https://github.com/BeamMP/BeamMP-Launcher/releases/latest). For example, if `v2.3.2` is used in the latest release, then do `git checkout v2.3.2`
|
||||
|
||||
In the root directory of the project,
|
||||
1. `cmake -DCMAKE_BUILD_TYPE=Release . -B bin -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux`
|
||||
2. `cmake --build bin --parallel --config Release`
|
||||
|
||||
> Should you run out of RAM while building, you can ommit the --parallel instruction, it will then use less RAM due to building only on one CPU thread.
|
||||
|
||||
Move the finished application out of the `/bin` folder into its own folder and run it from there
|
||||
|
||||
The native linux BeamMP-Launcher will start and use native linux BeamNG.drive
|
||||
|
||||
#### **Using beamNG.drive with Proton**
|
||||
|
||||
Should you want to use the native linux BeamMP-Launcher together with BeamNG.drive running through Proton, you can do so:
|
||||
|
||||
Run the BeamMP-Launcher using the argument ` -no-launch` (This will prevent the Launcher from starting native linux BeamNG.drive). Further information about launcher arguments can be found in the [Development Environment Setup](../guides/beammp-dev/beammp-dev.md)
|
||||
|
||||
Change the userfolder location of Proton-BeamNG.drive to the location of Linux-BeamNG.drive (since the native linux BeamMP-Launcher currently only writes into the Linux-BeamNG.drive userfolder)
|
||||
|
||||
This can be done for example by creating a symlink
|
||||
|
||||
- Note the Linux-BeamNG.drive userfolder location (this is usually found in `~/.local/share/BeamNG.drive`) and rename it, for example to ``BeamNG.drive_old
|
||||
- Note the Proton-BeamNG.drive userfolder location (this is usually found in `~/.local/share/Steam/steamapps/compatdata/284160/pfx/drive_c/users/steamuser/AppData/Local/BeamNG.drive`)
|
||||
- Create a symlink between both userfolders ```ln -s ~/.local/share/Steam/steamapps/compatdata/284160/pfx/drive_c/users/steamuser/AppData/Local/BeamNG.drive ~/.local/share```
|
||||
|
||||
BeamMP should work with `wine`, but is not officially supported (yet).
|
||||
|
||||
---
|
||||
|
||||
## **Known Issues**
|
||||
- The native linux BeamMP-Launcher currently can only connect to a server once, after disconnecting you need to restart the launcher. You can do that without closing the game inbetween
|
||||
- If you don’t see the “Multiplayer” button. Make sure that the BeamMP mod is present and activated in the “Mod Manager” then try pressing CTRL + L.
|
||||
- VPNs of any type may cause connection issues.
|
||||
- If the Launcher reports any errors, read the [FAQ](https://forum.beammp.com/c/faq/35).
|
||||
- The Launcher tends to have issues with non-genuine versions of BeamNG.drive.
|
||||
|
||||
Should you need further help with installation, you are welcome to create a post on our [forum](https://forum.beammp.com) or ask on our [Discord server](https://discord.gg/beammp).
|
||||
|
||||
@@ -20,14 +20,13 @@ Note: _The server only supports IPv4\. If you don't know which one you have, loo
|
||||
|
||||
## Setting up the Server
|
||||
|
||||
Setup consists of the following steps, you should follow all of them.
|
||||
The setup consists of the following steps, you should follow all of them.
|
||||
|
||||
### 1. Port forwarding
|
||||
|
||||
_If you are on a VPS (Virtual Private Server) or Rootserver, you can skip this step. If you're unsure about what a VPS or Rootserver is, you most likely aren't on one._
|
||||
|
||||
This step is necessary if you want someone outside of your household to join ("outside of your local network").
|
||||
Please note that VPNs lkie Hamachi or Radmin are not supported.
|
||||
|
||||
####
|
||||
!!! danger ":material-scale-balance: DISCLAIMER:"
|
||||
@@ -80,7 +79,7 @@ From the Keymaster homepage click on "Keys" on the left of the screen:
|
||||
|
||||
#### 2.2. Creating a key
|
||||
|
||||
To create your key click on the green "+" button in the top right.
|
||||
To create your key, click on the green "+" button in the top right.
|
||||
|
||||
<figure markdown>
|
||||

|
||||
@@ -88,7 +87,7 @@ To create your key click on the green "+" button in the top right.
|
||||
|
||||
#### 2.3. Filling out the key information
|
||||
|
||||
Next, fill out the Server Name field (this is just the key name not the actual name of the server on the list), then click "Create". Example:
|
||||
Next, fill out the Server Name field (this is just the keys name and not the actual name of the server on the list), then click "Create". Example:
|
||||
|
||||
<figure class="image image_resized" style="width:44.84%;" markdown>
|
||||

|
||||
@@ -160,7 +159,7 @@ Now that you ran the server once, it should have created some files and probably
|
||||

|
||||
</figure>
|
||||
|
||||
They might be called “ServerConfig”, “Server” and “BeamMP-Server” (no extensions like “.exe”), but that's correct, too!
|
||||
They are called “ServerConfig.toml”, “Server.log” and “BeamMP-Server.exe”! (Depending on your settings, you might not see the [.toml] [.log] [.exe] extentions)
|
||||
|
||||
Open the `ServerConfig.toml` with a text editor such as `Notepad`. You can do this with [Right Click] → “Open With…” and then selecting a text editor.
|
||||
|
||||
@@ -196,7 +195,7 @@ If you picked a different **Port** other than **30814**, make sure to replace it
|
||||
|
||||
### 5. Validation
|
||||
|
||||
Now run your server again, and see if it spits out any more `[ERROR]` messages. It should just stay open. At this point, you can start BeamMP through the BeamMP-Launcher and you should find your server by the Name you entered in the `ServerConfig.toml` in the server list.
|
||||
Now run your server again, and see if it spits out any more `[ERROR]` or `[WARN]` messages. The server should stay open now. In the following steps (6.) below you can find out how to join the server.
|
||||
|
||||
---
|
||||
|
||||
@@ -228,15 +227,15 @@ That's it! Your modded map should now be available to join!
|
||||
|
||||
### 6. How to join your server
|
||||
|
||||
How you and other people can join your server.
|
||||
How you and other players can join your server.
|
||||
|
||||
#### 6.a. Joining your own server
|
||||
|
||||
You must join your server by direct connecting, to do this, click the **Direct Connect Tab** on the left from the server list. Leave the default info in there (should be 127.0.0.1 and a port of 30814) then hit connect.If you server is hosted outside of your house you must [find your IP](https://whatismyipaddress.com/) on that machine and direct connect that way.
|
||||
If the server is hosted at home, you must join your server by direct connecting, to do this, click the **Direct Connect Tab** on the left from the server list. Leave the default info in there (should be 127.0.0.1 and corresponding port) then hit connect. If you server is hosted outside of your house (e.g. VPS) you must find its [public IP](https://whatismyipaddress.com/) on that machine and direct connect that way.
|
||||
|
||||
#### 6.b. Other people joining your private server
|
||||
|
||||
Start the Server. You have to give the people the IP Address of your Server. However, be careful sharing your homes public IP Address! To join your private server the players must go to the **Direct Connect Tab** in BeamMP, then type your IP and Port.
|
||||
Start the Server. You have to give other users the public IP Address of your Server. However, be careful sharing your public home Address! To join your private server the players must go to the **Direct Connect Tab** in BeamMP, then type your IP and Port.
|
||||
|
||||
#### 6.c. Other people joining your public server
|
||||
|
||||
@@ -246,7 +245,7 @@ You can also check the [Keymaster](https://beammp.com/keymaster) Website for the
|
||||
|
||||
Should you or your friends experience a "Connection Failed!" Error, check the Launcher Window for codes like 10060, 10061, 10030.
|
||||
This means you eihter have a CGNAT IPv4, or you have done something wrong during Step **1 Port Forwarding** or **1.1. Firewall**.
|
||||
To check if you have a CGNAT IPv4, look up the WAN IP Address on your routers interface. Compare it to your public IP listed on [_whatsmyip.org_](https://www.whatsmyip.org/).
|
||||
To check if you have a CGNAT IPv4, look up the WAN IP Address on your routers interface. Compare it to your [public IP](https://www.whatsmyip.org/). If they're the same, you are not behind a CGNAT.
|
||||
IPv6 Support is **NOT** yet implemented.
|
||||
|
||||
## Still facing issues?
|
||||
|
||||
Reference in New Issue
Block a user