Get a machine that stays on
A dedicated server is only up while the machine running it is on and online. Your own computer works for a test (section 10), but for a server people can join at any time, rent a machine from a hosting company:
- VPS (virtual private server): a share of a bigger machine, the cheapest choice and enough for one or two servers. The official servers run on VPSs.
- Dedicated server: a whole machine for you. Costs more; worth it for several servers or a large one.
- Game server host: only if it offers s&box and lets you change the command line and the server files
(
config/users.json,data/).
What one server needs, measured on the official servers (64 slots, 32 bots):
| Minimum | Comfortable | |
|---|---|---|
| Memory | 4 GB | 8 GB (one server uses about 3 GB) |
| Processor | 2 cores | 4 cores (one server uses 1 to 1.5 cores) |
| Disk | 20 GB | 40 GB (the s&box server download is about 7 GB) |
For two servers on one machine, double the memory and the cores; the official EU pair shares 6 cores and 12 GB. Linux (Ubuntu or Debian) or Windows both work; Linux VPSs are usually cheaper because Windows needs a licence. Pick a location close to your players for a low ping. Players connect through Steam’s relay, so you do not need to open ports (section 3).