Skip to content
GMod Reference

DarkRP server.cfg: annotated

Every cvar we run on ZerosRP, explained. Copy it as a starting point, but read the comments first so you understand what you're changing.

Tested on GMod build 2024.10.02 · DarkRP 2.9.x · tickrate 66

garrysmod/cfg/server.cfg
// Generated by Zeros Host. Copy, adapt, and understand each cvar before use.
// Tested on GMod build 2024.10.02 (tickrate 66, DarkRP 2.9.x).
hostname"ZerosRP | DarkRP | Custom Weapons | Prestige | 24/7"
// Shown in the server browser. Put your hook here: mode, key features, uptime.
sv_password""
// Empty = public. Set a password only for private/beta phases.
sv_region3
// 3 = Europe. Controls server-browser geographic filter.
maxplayers128
// Hard slot ceiling (set at launch, not changeable at runtime). Keep headroom for staff.
sv_visiblemaxplayers64
// The number shown in the server browser. Set lower than maxplayers to hide reserve slots.
sv_minrate10000
// Minimum client send rate (bytes/s). Prevents dial-up-era clients from starving everyone.
sv_maxrate100000
// Maximum client send rate. 100 KB/s is safe for 66-tick DarkRP; raise to 150000+ for 100-tick.
sv_minupdaterate20
// Minimum client update rate (packets/s). 20 = acceptable floor.
sv_maxupdaterate66
// Caps cl_updaterate. Match your tickrate; there is no benefit going higher.
sv_mincmdrate20
// Minimum cl_cmdrate (user-command packets/s). Prevents laggy inputs.
sv_maxcmdrate66
// Caps cl_cmdrate. Match tickrate.
net_splitpacket_maxrate100000
// Limit on split-packet bursts. 100000 is stable for large HL2 data payloads.
fps_max500
// Server-side FPS cap. 500 is standard; go lower (300) only if CPU is bottlenecked.
host_sleep0
// 0 = no artificial sleep between ticks. Only raise this on shared/cheap hardware to reduce CPU.
sv_parallel_packentities1
// Enables multi-threaded entity packet building. Always on for modern hardware.
sv_alternateticks0
// Alternate tick optimisation: OFF for game servers (it was designed for listen servers).
sv_downloadurl"http://203.0.113.10:27050"
// FastDL root. Clients pull workshop/custom content from here instead of the game server.
sv_allowdownload1
// 1 = allow legacy direct-download fallback if FastDL is unreachable.
sv_allowupload0
// 0 = block clients from uploading sprays/decals. Reduces bandwidth and griefing surface.
sv_loadingurl"https://zerosrp.co.uk/loading.html?steamid=%s"
// %s is replaced with the connecting player's SteamID64. Use it to personalise the screen.
sbox_maxprops75
// Props per player. DarkRP players rarely need more than 75; lower reduces prop-spam griefing.
sbox_maxvehicles4
// Vehicles per player. Vehicles are expensive; cap tight on busy servers.
sbox_maxnpcs0
// 0 blocks regular NPC spawning (DarkRP addons spawn their own managed NPCs instead).
sbox_maxragdolls4
// Ragdoll cap per player. Ragdolls persist in the world and accumulate quickly.
sv_voiceenable1
// Enable voice chat. Essential for RP; disable only if you have external VOIP (TeamSpeak etc).
sv_alltalk0
// 0 = proximity-only voice (RP-correct). 1 = global voice (breaks roleplay immersion).
logon
// Enable server-side logging. Required by most admin mods (ULX, SAM) to function correctly.
sv_logbans1
// Log ban events to the server log. Essential for moderation audit trails.
sv_logecho0
// 0 = don't echo log lines to the console (reduces noise; they still go to the file).
sv_logsecret0
// Log secret for SRCDS-format remote log receivers. 0 = disabled.
sv_cheats0
// 0 = cheats disabled. NEVER set to 1 on a public server.
sv_lan0
// 0 = internet-visible. 1 = LAN-only (invisible in public browser). Always 0 for public servers.
sv_timeout90
// Seconds before the server drops a silent client. 90 handles brief internet hiccups.
sv_kick_ban_duration0
// 0 = permanent bans by default. Your ban mod (SAM/ULX) will override this per-action.
// NOTE: RCON password must NOT appear in this file.
// Set rcon_password in your panel startup parameters (env var), never in a config
// that could be accidentally committed to a public repository.
maprp_downtown_v4c_v2
// Initial map. rp_downtown_v4c_v2 is the DarkRP community standard, widely known by players.

Running your own DarkRP server? Zeros Host handles the hardware, DDoS mitigation, and one-click GMod egg deployment. Your config goes in, the server comes up. See our GMod hosting plans →