=== Edit version 07/06/2024 ### First, as root, install the dependancies: dpkg --add-architecture i386; sudo apt update; sudo apt install curl wget file tar bzip2 gzip unzip bsdmainutils python3 util-linux ca-certificates binutils bc jq tmux netcat lib32gcc1 lib32stdc++6 libsdl2-2.0-0:i386 steamcmd ### Create the sampowner account: adduser sampowner su - sampowner ### Download the game: wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh sampserver ./sampserver install ### Edit the config vi /home/sampowner/serverfiles/samp03/server.cfg >>>Set it like this: echo Executing Server Config... lanmode 0 rcon_password somerealpassword maxplayers 25 port 7777 hostname Some Host Name gamemode0 grandlarc 1 filterscripts base gl_actions gl_property gl_realtime announce 1 query 1 weburl someweburl.com maxnpc 4 onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 <<< ### Start the server ./sampserver start ### Edit the crontab file crontab -e # add these lines: @reboot /home/sampowner/sampserver start */5 * * * * /home/sampowner/sampserver monitor 5 5 * * * /home/sampowner/sampserver backup