Game server configs, launchers and downloaders for our LAN parties
- Install dependencies
sudo add-apt-repository multiverse -y
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install steamcmd \
unzip \
p7zip-full \
golang-go
go get -u github.com/tanaikech/goodls
- Clone the project
git clone https://github.com/zeropingheroes/game-servers.git
- Install the project
cd game-servers/linux
./game-servers self-install
$ ./game-servers
Usage:
game-servers self-install
game-servers self-update
game-servers install <game1> [<game2>...]
game-servers install all
game-servers update <game1> [<game2>...]
game-servers update all
game-servers remove <game1> [<game2>...]
game-servers remove all
game-servers launch <game> [<launcher>]
game-servers console <game> [<launcher>]
game-servers restart <game> [<launcher>]
game-servers stop <game> [<launcher>]
game-servers status
During installation, config files in each game server's configs
directory are symlinked into the game server's folder, so you can edit the files in the configs
directory, and the game server will pick up the changes, and the changes can be put into Git.
Any new files you create will need to be manually symlinked into the game server's folder.
- ChivalryMedievalWarfare
- CounterStrikeGlobalOffensive
- GarrysMod
- GoldeneyeSource
- HalfLife2Deathmatch
- JustCause2Multiplayer
- OpenTTD
- QuakeIIIArena
- TeamFortress2
- Teeworlds
- UT2004
-
Run
windows/SteamCMD/download.bat
to download SteamCMD in the default browser -
Extract
steamcmd.zip
intowindows/SteamCMD
In each of the game folders, if present, run the following batch files in this order:
-
install.bat
- Download and install the game files (some manual extraction may be required) -
copy-configs.bat
- Copy configuration files from theconfigs/
directory in that folder into the game server's directory -
launch.bat
- Launch the game server
All config files in the configs
directory are copied into the game server's folder, so if you update a config file, re-run copy-configs.bat
to allow the game server to pick up the new version of the file.
- HiddenSource
- TheShip
(basically because they won't run on Linux...)