Garry's Mod and DarkRP Server Hosting 2026: Complete Setup Guide

Published on | Updated

How to host a Garry's Mod DarkRP server in 2026. Covers SRCDS installation, DarkRP configuration, addon loading, MySQL setup, and performance optimization.

Garry's Mod player models, a stack of props and a flying car in a blue tint

Garry's Mod is one of the most enduring games in multiplayer history. Launched in 2006, it is still actively played in 2026, largely thanks to the endless creativity of its community and the depth of the DarkRP game mode. If you want to run your own DarkRP server (the roleplay game mode where players become criminals, police, drug manufacturers, and more), this guide walks you through the full setup.

Why DarkRP Is Still Thriving in 2026

DarkRP succeeds because it is genuinely fun, accessible to new players, and has an enormous addon ecosystem on the Steam Workshop and gmod.store. Players can:

  • Run businesses and manage in-game economies
  • Engage in PvP with meaningful stakes (in-game money, property)
  • Build custom bases using Garry's Mod's physics system
  • Participate in server events and roleplay scenarios

The social aspect is core: a well-run DarkRP server with an active community and fair moderation is as engaging as any modern game.

Hardware Requirements

Garry's Mod is older Source engine software and has relatively modest requirements. Our Garry's Mod plans come in four sizes, and this is the kind of server each one suits:

ServerRAM
Sandbox or Prop Hunt with a light addon list2 GB
DarkRP with a real Workshop collection4 GB
Heavier addon lists and busier player counts6 GB
Large Workshop collections, busy DarkRP economies, several gamemodes10 GB

Memory above 4 GB mostly pays off on a server that runs the 64-bit build, because one 32-bit srcds process can address at most 4 GB, however much RAM the machine has. Facepunch's September 2026 update brought 64-bit builds of the Windows dedicated server to every branch. For Linux, the notes do not say the default branch went 64-bit, and the wiki still lists the x86-64 beta branch for 64-bit modules. Type lua_run print(jit.os, jit.arch) in the server console to see what yours runs: x86 is 32-bit, x64 is 64-bit. Our Garry's Mod 64-bit server update guide covers the switch and the binary modules it affects.

CPU matters for Lua script execution. A server with hundreds of custom addons running hundreds of Lua hooks has non-trivial CPU cost, and on DarkRP that cost grows with the player count: with an economy, jobs and entity spawning, a server starts to feel it past 40 to 50 players, regardless of how much memory you add. Modern processors handle this well but budget hosting on very old hardware will suffer.

Installing the Garry's Mod Server (SRCDS)

steamcmd +login anonymous +force_install_dir /opt/gmodserver +app_update 4020 validate +quit

# Start the server (replace YOUR_TOKEN with your Game Server Login Token)
/opt/gmodserver/srcds_run -game garrysmod -port 27015 +maxplayers 64 +map gm_flatgrass +gamemode darkrp +sv_setsteamaccount YOUR_TOKEN

The Game Server Login Token comes from Steam's game server account page. The Garry's Mod wiki's dedicated server guide calls it mandatory and says a server without one is penalized in ranking.

Installing DarkRP

DarkRP's readme asks you to install it with git or from the Steam Workshop. With git:

cd /opt/gmodserver/garrysmod/gamemodes
git clone https://github.com/FPtje/DarkRP.git darkrp

The Workshop version is DarkRP, item 248302805: add it to the Workshop collection your server loads. A manual download works too, but the readme does not recommend it.

Then install the darkrpmodification addon: download it and put its contents into a folder in garrysmod/addons. Your settings, jobs and entities go into that addon, never into DarkRP's core files, so a DarkRP update does not overwrite them.

Essential DarkRP Configuration

Edit lua/darkrp_config/settings.lua in the darkrpmodification addon:

  • Set your currency symbol (GM.Config.currency) and whether custom spawn points are used (GM.Config.customspawns)
  • Configure starting money (GM.Config.startingmoney), maximum pocket slots (GM.Config.pocketitems) and paychecks (GM.Config.normalsalary for new players, GM.Config.paydelay for how often they are paid)

Edit lua/darkrp_customthings/jobs.lua to define your custom jobs (citizen, police, criminal, etc.) with their models, weapons, and salary. To change one of DarkRP's default jobs, disable it in lua/darkrp_config/disabled_defaults.lua first, then copy it into jobs.lua and edit it there.

MySQL for DarkRP

Out of the box DarkRP stores its data in Garry's Mod's built-in SQLite database, the file garrysmod/sv.db, which persists across restarts like any other file on the server. An external MySQL database is the step up when the data has to live outside the game server, for example when a second server or a website needs the same data. Switch it on in lua/darkrp_config/mysql.lua in the darkrpmodification addon:

-- lua/darkrp_config/mysql.lua in darkrpmodification
RP_MySQLConfig.EnableMySQL = true
RP_MySQLConfig.Host = "127.0.0.1"
RP_MySQLConfig.Username = "darkrp_user"
RP_MySQLConfig.Password = "securepassword"
RP_MySQLConfig.Database_name = "darkrp"
RP_MySQLConfig.Database_port = 3306
RP_MySQLConfig.Preferred_module = "mysqloo"

As the file itself warns, everyone with FTP access to the server can read that password, so be careful who gets FTP access.

DarkRP reaches MySQL through MySQLOO, a binary module, and a Workshop addon cannot install one: Garry's Mod only loads binary modules that sit directly in garrysmod/lua/bin/, never from inside an addon, which the wiki page for require calls a safety measure because modules can harm the system. Download the file for your server from the MySQLOO releases: gmsv_mysqloo_linux.dll or gmsv_mysqloo_linux64.dll for a 32-bit or 64-bit Linux server, gmsv_mysqloo_win32.dll or gmsv_mysqloo_win64.dll on Windows. The lua_run line from the hardware section tells you which one you need. Put the file in garrysmod/lua/bin/, create the bin folder if it does not exist, and restart the server. On 25 October 2026 the latest stable release is 9.7.6, and on Windows MySQLOO's readme also asks for the matching Microsoft Visual C++ redistributable.

Addon Management

The Workshop is your primary source for DarkRP addons. Key categories:

  • Admin systems (ULX/ULib: essential, see our ULX and ULib install guide)
  • Weapon bases (DarkRP default, ArcCW, M9K)
  • Economy addons (ATMs, heist systems)
  • Vehicle systems
  • Custom entities (printers, drugs, etc.)

Keep your addon count reasonable. A server with 500 addons and poor optimization will be unplayable. 50-100 high-quality addons is better than 500 mediocre ones.

Hosting Garry's Mod at Space-Node

Our Garry's Mod plans are Small (2 GB), Medium (4 GB), Large (6 GB) and Extreme (10 GB), from €2.20 a month including VAT. For DarkRP with a real Workshop collection, start on Medium: 4 GB is the comfortable size for that, and it is also all the memory one 32-bit srcds process can use. Large and Extreme are for heavier addon lists and busier servers, and their extra memory pays off once the server runs the 64-bit build. The CPU is shared on every plan: a Ryzen 9 3900X-class in Europe, Canada and India, a Ryzen 9 7950X3D in the USA and a Ryzen 9 5950X in Singapore and Australia. Our nine regions, from the Netherlands, Germany and Poland to Canada and two USA locations, give good coverage for both European and North American Garry's Mod communities.


If you would rather not run the machine yourself, our Garry's Mod hosting plans cover the setup described above.

Related: Garry's Mod Workshop Collections And FastDL