DarkRP, gamemodes and Workshop maps
Install DarkRP in one click
- In the panel, open your server, then Game → Mods.
- On the DarkRP row, click Install.
- Restart the server.
The install downloads the gamemode from the official repository (FPtje/DarkRP) into garrysmod/gamemodes/darkrp and automatically sets the Gamemode to darkrp. Nothing to upload, nothing to change in server.cfg.
Uninstalling sets the gamemode back to sandbox and deletes the gamemodes/darkrp folder. Reinstalling updates DarkRP (the repository files are replaced).
If DarkRP doesn't show up in Game → Mods, open a ticket: support will enable it for your server.
Customize DarkRP (jobs, entities, config)
Don't edit the files in gamemodes/darkrp: they are overwritten on every reinstall. Customization goes through the official darkrpmodification addon (FPtje/darkrpmodification):
- Download the repository archive.
- Put the folder in
garrysmod/addons/(via Files or SFTP), for examplegarrysmod/addons/darkrpmodification/. - Edit the files in
lua/darkrp_customthings/(jobs, shipments, entities…) andlua/darkrp_config/. - Restart.
The install button deliberately doesn't add it: a reinstall would overwrite your configuration.
Change the gamemode
The gamemode is set in Game → Configuration, Startup section, Gamemode field. The value is the folder name in garrysmod/gamemodes/: sandbox, terrortown (TTT), darkrp…
The server runs on Linux: DarkRP and darkrp are two different names. If the folder doesn't exist, Garry's Mod silently starts in sandbox.
The gamemode and map lines in server.cfg are not used: the panel passes the gamemode and map at launch.
Add a Workshop map or addons
The recommended method is a Steam Workshop collection: the server downloads its content itself on every start, and players receive it automatically when they join. No files to transfer.
1. Create the collection
- On Steam, open the Garry's Mod Workshop → Browse → Collections → Create Collection.
- Make it public (a private or friends-only collection can't be downloaded by the server).
- Add the map (for example the latest version of Rockford) and your other addons: weapons, vehicles, models…
- Note the collection ID: the number at the end of its URL,
…/sharedfiles/filedetails/?id=1234567890.
2. Configure the server
In Game → Configuration, Startup section:
| Field | Value |
|---|---|
| Workshop collection | the collection ID |
| Startup map | the map file name, without .bsp (e.g. rp_rockford_v2b) |
There is nothing to upload over FTP/SFTP: the collection is enough. A manual copy of the map would duplicate the Workshop version.
The title shown on the Workshop page ("Rockford") isn't always the file name (rp_rockford_v2b). To get the exact name:
- Set only Workshop collection first and restart.
- In the panel console, type
maps rp_(ormaps *to list everything). - Copy the name shown, without
.bsp, into Startup map, then restart.
3. Restart
On startup, the console shows the collection items being downloaded, then the map loading. The first start can take several minutes with a heavy map.
To add an addon later, just add it to the collection and restart: the server also fetches updates of existing items.
Steam server token
Set a token (Steam Account Token field in Startup) so the server is listed properly and doesn't run in anonymous mode:
- Open steamcommunity.com/dev/managegameservers.
- App ID:
4000(Garry's Mod), any memo. - Copy the generated token into the panel, then restart.
A token can only be used by one server at a time.
Troubleshooting
| Symptom | Likely cause |
|---|---|
| The server stays in sandbox | Gamemode doesn't match any folder in garrysmod/gamemodes/ (typo, case) or DarkRP isn't installed |
| The map doesn't load | Wrong Startup map, or map missing from the collection |
| The collection isn't downloaded | Private collection, or the ID of a single item instead of the collection |
X derived from non existant SWEP Y in the console | A weapon addon depends on a base (e.g. weapon_cs_base2) that is missing: add the base to the collection or remove the addon. Unrelated to the gamemode |
| Players see purple textures / ERROR | Content isn't sent to clients: make sure it comes from the Workshop collection |
Choosing addons and resolving conflicts between them is up to their authors; support makes sure the gamemode, collection and map load.