20% Welcome Discount Code: F82EII
Learn More

How to Create a GMOD Server? 2025 DarkRP + Sandbox Setup Guide

How to Create a GMOD Server? (2025 DarkRP + Sandbox Setup Guide)

How to Create a GMOD Server? (2025 DarkRP + Sandbox Setup Guide)

Summary (Quick Info Box)

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.


Table of Contents

  1. Requirements

  2. Install SteamCMD

  3. Download GMOD server files

  4. Install DarkRP

  5. Configure server.cfg

  6. Add workshop addons

  7. Port forwarding (Windows + Linux)

  8. Start the server

  9. Optimization tips

  10. Common errors and fixes

  11. Recommended hosting


1) Requirements

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)


2) Install SteamCMD

Windows

  1. Download SteamCMD:
    https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip

  2. Extract anywhere

  3. Run steamcmd.exe

Linux

 
sudo apt update sudo apt install lib32gcc-s1 steamcmd -y

3) Download GMOD Server Files

Open SteamCMD and run:

 
login anonymous force_install_dir ./gmodserver app_update 4020 validate quit

Your server files will be ready.


4) Install DarkRP

DarkRP is the most popular GMOD mode.

DarkRP Installation

Download from GitHub:
https://github.com/FPtje/DarkRP

Place it in:
/gmodserver/garrysmod/gamemodes/

DarkRP Modification (Required)

Download:
https://github.com/FPtje/darkrpmodification

Place it in:
/garrysmod/addons/darkrpmodification

This folder controls jobs, money system, F4 menu, NPCs, entities, etc.


5) Configure server.cfg

Edit:

gmodserver/garrysmod/cfg/server.cfg

Use optimized settings:

 
hostname "Server Name | DarkRP" sv_lan 0 sv_password "" sv_region 255 sv_loadingurl "https://serverturk.net/loading-screen" sv_minrate 100000 sv_maxrate 0 sv_maxcmdrate 66 sv_mincmdrate 33 sv_maxupdaterate 66 sv_minupdaterate 33 net_splitpacket_maxrate 30000

6) Add Workshop Addons

The best way to manage addons is using a Workshop Collection.

Steps:

  1. Create a workshop collection

  2. Add all addons

  3. Get the collection ID (example: 3234567890)

  4. Add to autoexec.cfg:

 
workshop_collection_id 3234567890

Manual addon installation

Copy .gma files into:
/garrysmod/addons/


7) Port Forwarding (Windows + Linux)

Required Ports

  • 27015 UDP

  • 27005 UDP

  • 27020 UDP

  • 27016 TCP/UDP (optional)

Windows PowerShell

 
New-NetFirewallRule -DisplayName "GMOD" -Direction Inbound -Protocol UDP -LocalPort 27015,27005,27020 -Action Allow

Linux (iptables)

 
iptables -A INPUT -p udp --dport 27015 -j ACCEPT iptables -A INPUT -p udp --dport 27005 -j ACCEPT iptables -A INPUT -p udp --dport 27020 -j ACCEPT

8) Start the Server

Windows

 
srcds.exe -console -game garrysmod +maxplayers 32 +map rp_downtown_v4c

Linux

 
./srcds_run -game garrysmod +maxplayers 32 +map gm_construct

9) Performance Optimization (2025 Updated)

CPU Optimization

GMOD is single-core heavy → high clock speed is critical.

Best CPUs:

  • Ryzen 9 7950X

  • Ryzen 9 5950x

  • Intel i9 14900K

Tickrate

 
-tickrate 66

Best for DarkRP and Sandbox.

Addon Clean-up

  • Avoid 100+ addons

  • Remove unused content monthly

Optional: FastDL

Useful for players who fail to sync workshop content.


10) Common Errors & Fixes

Missing Map

  • Workshop not linked

  • FastDL incorrect

  • Map mismatch

Lua Panic

  • Broken addon

  • Corrupted DarkRP modification

Server Not Responding

  • Ports closed

  • Firewall blocking

  • Wrong server.cfg

  • ISP dynamic IP issues


 11) Recommended Professional Hosting (Conversion Section)

GMOD requires high clock speed and fast NVMe storage.

✔ ServerTurk R9 7950X Infrastructure

  • 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/

0850 308 15 09 908503081509