BeamMP Server on Linux as Screen

  1. First you need a program to connect to the server via ssh.
    Like for example
    (Windows: Putty, Windows Terminal etc)
    (Linux: Terminal)

  2. you must be sure that you have installed wget and liblua5.3
    (apt install wget -y) and (apt install liblua5.3-dev -y)

  3. Create a new user by running the server.
    For this purpose they enter adduser beammp-server
    The name can be changed but I do not consider them further

  4. then log in to this user with su - beammp-server

  5. Download the latest server version with wget https://github.com/BeamMP/BeamMP-Server/releases/download/v2.0.3/BeamMP-Server-linux
    (Latest version at the time of writing, You can check it at https://github.com/BeamMP/BeamMP-Server/releases)

  6. You can type ls to check it

  7. now we need to give the file execute rights with chmod +x BeamMP-Server-linux

  8. Start the server for the first time ./BeamMP-Server-linux

  9. Now create the screen so a start and a stop script

Create the start script with nano start.sh
in the nano editor that opens, enter the following: screen -AmdS BeamMPServer ./BeamMP-Server-linux


Exit the editoor by pressing [ctrl] + [x] then [y] and then [enter].

Create the stop script with nano stop.sh
in the nano editor that opens, enter the following: screen -r BeamMPServer -X quit


Exit the editoor by pressing [ctrl] + [x] then [y] and then [enter].

Now you have to give these scripen rights with chmod +x start.sh stop.sh

  1. Now you need an Auth-Key which you get from BeamMP Here: https://wiki.beammp.com/en/home there you have to click on Keymaster and log in with Discord. there under keys you can create one.

  2. Enter the key in the config with nano Server.cfg


    you can set even more there I go but not on it here

  3. Test if the server starts
    Start server: ./start.sh
    Console: screen -r
    If everything went well, it should look like this:

TADA