Skip to content

LorenzoCardinali/SandstormServers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages