This guide covers everything you need to build a fully working GMOD server from scratch:
Installing SteamCMD
Setting up DarkRP or Sandbox
Linking workshop addons
Configuring server.cfg
Opening required ports
Optimizing the server
Fixing common errors
Works on Windows and Linux.
Requirements
Install SteamCMD
Download GMOD server files
Install DarkRP
Configure server.cfg
Add workshop addons
Port forwarding (Windows + Linux)
Start the server
Optimization tips
Common errors and fixes
Recommended hosting
You need:
✔ A VPS/dedicated server (minimum specs):
2 vCPU (high clock speed recommended)
4 GB RAM
NVMe SSD
Windows Server 2019/2022 or Ubuntu 22.04
✔ SteamCMD
✔ SRCDS (GMOD server)
Download SteamCMD:
https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
Extract anywhere
Run steamcmd.exe
Open SteamCMD and run:
Your server files will be ready.
DarkRP is the most popular GMOD mode.
Download from GitHub:
https://github.com/FPtje/DarkRP
Place it in:/gmodserver/garrysmod/gamemodes/
Download:
https://github.com/FPtje/darkrpmodification
Place it in:/garrysmod/addons/darkrpmodification
This folder controls jobs, money system, F4 menu, NPCs, entities, etc.
Edit:
gmodserver/garrysmod/cfg/server.cfg
Use optimized settings:
The best way to manage addons is using a Workshop Collection.
Create a workshop collection
Add all addons
Get the collection ID (example: 3234567890)
Add to autoexec.cfg:
Copy .gma files into:/garrysmod/addons/
27015 UDP
27005 UDP
27020 UDP
27016 TCP/UDP (optional)
GMOD is single-core heavy → high clock speed is critical.
Best CPUs:
Ryzen 9 7950X
Ryzen 9 5950x
Intel i9 14900K
Best for DarkRP and Sandbox.
Avoid 100+ addons
Remove unused content monthly
Useful for players who fail to sync workshop content.
Workshop not linked
FastDL incorrect
Map mismatch
Broken addon
Corrupted DarkRP modification
Ports closed
Firewall blocking
Wrong server.cfg
ISP dynamic IP issues
GMOD requires high clock speed and fast NVMe storage.
Ultra-low ping
Very high FPS
1 Gbit network
Full DDoS protection
NVMe Gen4 SSD
Perfect for DarkRP, Sandbox, TTT, MilitaryRP and more.
Check out the GMOD-optimized VDS options:
https://serverturk.net/