Common files and script for Sandstorm servers used in SPL and SandstormItalia community
- Install required dependencies
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install bc binutils bsdmainutils bzip2 ca-certificates cpio curl distro-info file gzip hostname jq lib32gcc-s1 lib32stdc++6 libsdl2-2.0-0:i386 netcat-openbsd pigz python3 tar tmux git unzip util-linux uuid-runtime wget xz-utils -y
sudo apt autoremove -y
- Open ports needed for the server (optional step)
sudo ufw enable && sudo ufw allow ssh && sudo ufw allow 27102:27105/udp && sudo ufw allow 27131:27134/udp && sudo ufw allow 27015:27018/tcp
- Add a new user and login into it
sudo adduser <UserName>
su - <UserName>
- Make a folder for your server and get in it:
mkdir <ServerDirectory> && cd <ServerDirectory>
- Download makeServer.sh
wget -O makeServer.sh https://raw.githubusercontent.com/LorenzoCardinali/SandstormServers/main/makeServer.sh && chmod +x makeServer.sh
- Execute makeServer.sh adding the wanted server name as parameter
bash makeServer.sh <MyServerName>
- Follow the installation
- Edit the following config files as needed
- /serverfiles/Insurgency/Saved/Config/LinuxServer/Game.ini
- /lgsm/config-lgsm/inssserver/.cfg
- Follow this guide to get a token for mods
- Start the server
./<MyServerName> start
- Install git in your machine
sudo apt update && sudo apt install git wget
- Get in the main folder of the sandstorm server
- Download updateFiles.sh and execute it
wget -O updateFiles.sh https://raw.githubusercontent.com/LorenzoCardinali/SandstormServers/main/updateFiles.sh && chmod +x updateFiles.sh && ./updateFiles.sh