Skip to content

LorenzoCardinali/SandstormServers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SandstormServers

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

How to make a server from scratch (Debian)

  1. 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
  1. 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
  1. Add a new user and login into it
sudo adduser <UserName>
su - <UserName>
  1. Make a folder for your server and get in it:
mkdir <ServerDirectory> && cd <ServerDirectory>
  1. Download 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
bash makeServer.sh <MyServerName>
  1. Follow the installation
  2. Edit the following config files as needed
  • /serverfiles/Insurgency/Saved/Config/LinuxServer/Game.ini
  • /lgsm/config-lgsm/inssserver/.cfg
  1. Follow this guide to get a token for mods
  2. Start the server
./<MyServerName> start

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages