Skip to content

Instantly share code, notes, and snippets.

@lebanni
Created September 5, 2022 01:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lebanni/47dfdf43b06a0adc58f79fe78c923db0 to your computer and use it in GitHub Desktop.
Save lebanni/47dfdf43b06a0adc58f79fe78c923db0 to your computer and use it in GitHub Desktop.
Start BeamMP
#!/bin/bash
if [ "$#" -eq 1 ]; then
if [ -e "ServerConfig.$1.toml" ]
then
echo "Demarrage de Beam..."
screen -mS Beam ./BeamMP-Server-linux --config=ServerConfig."$1".toml
else echo "La map $1 n'existe pas"
fi
else
echo "Usage : $0 nom_de_la_map"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment