2021-12-25 21:57:38 -06:00
|
|
|
# 7 Days To Die Game Server Linux Scripts
|
|
|
|
A set of opinionated scripts used to manage 7 days to die.
|
|
|
|
|
|
|
|
# Table of Contents
|
2021-12-25 22:02:04 -06:00
|
|
|
[TOC]
|
2021-12-25 21:57:38 -06:00
|
|
|
|
|
|
|
# Requirements
|
|
|
|
- Required
|
|
|
|
- [tmux](https://github.com/tmux/tmux)
|
|
|
|
- Used to run servers in detached sessions
|
|
|
|
- [steamcmd](https://developer.valvesoftware.com/wiki/SteamCMD)
|
|
|
|
- Used to install 7 days to die game servers
|
2021-12-25 22:39:55 -06:00
|
|
|
- Important, this MUST be in your PATH variable.
|
2021-12-25 22:40:59 -06:00
|
|
|
This script calls the [general](https://gitlab.orion-technologies.io/game-servers/general)
|
|
|
|
installer script which configures steamcmd to be in `/usr/local/bin`.
|
|
|
|
If this is not in your path, the deployed scripts will ***NOT*** work.
|
2021-12-25 21:57:38 -06:00
|
|
|
|
|
|
|
- Optional
|
|
|
|
- [pv](https://github.com/icetee/pv)
|
|
|
|
- Used to show progress for backup operations
|
|
|
|
|
|
|
|
# Automatic Installation
|
2021-12-25 22:57:47 -06:00
|
|
|
Must be ran as `root` or a user with access to `sudo su`
|
2021-12-25 21:57:38 -06:00
|
|
|
|
|
|
|
```bash
|
2021-12-25 21:58:32 -06:00
|
|
|
bash -c "$(curl https://gitlab.orion-technologies.io/game-servers/7-days-to-die/-/raw/Development/install.bash)"
|
2021-12-25 21:57:38 -06:00
|
|
|
```
|
2021-12-25 22:00:02 -06:00
|
|
|
|
2021-12-26 00:40:43 -06:00
|
|
|
# Defaults
|
|
|
|
By default all servers start at an offset of 50000 + server id. For instance, if you were to start `Server-1`,
|
|
|
|
the server id would be 1. As such the port `Server-1` would run on is 50001, `Server-2` would be 50002, and so on.
|
|
|
|
|
|
|
|
By default the base directory for all servers to be installed to is `~/7-Days-To-Die`.
|
|
|
|
|
2021-12-25 22:00:02 -06:00
|
|
|
# Usage
|
|
|
|
|
|
|
|
See the [wiki](https://gitlab.orion-technologies.io/game-servers/7-days-to-die/-/wikis/home) for details.
|