Skip to content

Latest commit

 

History

History
53 lines (51 loc) · 1.92 KB

README.md

File metadata and controls

53 lines (51 loc) · 1.92 KB

SandstormServers

Common files and script for Sandstorm servers used in SPL and ICL community

How to make a server from scratch (Debian 11)

  1. Install the needed packages:
sudo 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 lib32gcc-s1 lib32stdc++6 git htop distro-info libsdl2-2.0-0:i386; sudo apt autoremove
  1. Open ports needed for the server:
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
  1. Add a new user and login into it (optional):
sudo adduser <UserName>
su - <UserName>
  1. Make a folder for your server and get in it:
mkdir <ServerDirectory> && cd <ServerDirectory>
  1. Dowload makeServer.sh:
wget -O makeServer.sh https://raw.githubusercontent.com/LorenzoCardinali/SandstormServers/main/makeServer.sh && chmod +x makeServer.sh
  1. Execute makeServer.sh adding the wanted server name as parameter:
./makeServer.sh <MyServerName>
  1. Follow the installation
  2. Edit the following config files as needed:
  • %ServerDirectory%/serverfiles/Insurgency/Saved/Config/LinuxServer/Game.ini
  • %ServerDirectory%/lgsm/config-lgsm/inssserver/%MyServerName%.cfg
  1. Follow this guide to get a token for mods (https://insurgencysandstorm.mod.io/guides/server-admin-guide#read22)
  2. Start the server
./<MyServerName> start
  1. Done

How to update your server

  1. Install git in your machine:
sudo apt update && sudo apt install git wget
  1. Get in the main folder of the sandstorm server
  2. 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
  1. Done