Created
September 5, 2022 01:24
-
-
Save lebanni/47dfdf43b06a0adc58f79fe78c923db0 to your computer and use it in GitHub Desktop.
Start BeamMP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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