Garry's Mod · More guides

Garry's Mod gamemodes: Sandbox, TTT, DarkRP and more

Pick and set up a gamemode on your Garry's Mod server, from built-in Sandbox and TTT to DarkRP, Prop Hunt and Murder from the Workshop.

By Last reviewed 4 min read

Your Garry’s Mod server runs one gamemode at a time. Sandbox and Trouble in Terrorist Town come with the game. DarkRP, Prop Hunt and Murder come from the Steam Workshop. Set the gamemode and a map that suits it in Settings, and restart.

The gamemodes at a glance

Gamemode Folder name Where it comes from Maps Our plan guide
Sandbox sandbox Built in gm_construct and gm_flatgrass are built in. More gm_ maps on the Workshop 2 GB and up
Trouble in Terrorist Town terrortown Built in ttt_ maps from the Workshop 4 GB
DarkRP darkrp Workshop or GitHub Usually rp_ maps from the Workshop 6 to 8 GB
Prop Hunt Often prop_hunt Workshop, in several versions Usually ph_ maps 4 GB
Murder Often murder Workshop Maps its author supports 4 GB

The server uses the folder name, not the title you see in menus. For Workshop gamemodes, the folder name is usually in the item’s description. If it isn’t, ask the author.

How to set the gamemode and map

In Settings

  1. Install the gamemode from Mods if it isn’t built in.
  2. Add at least one map for it, from Mods or your Workshop collection.
  3. In Settings, pick the gamemode and the map.
  4. Restart the server.

In the Console

Switch without a full restart. Type the gamemode’s folder name, then change the map:

gamemode terrortown
changelevel ttt_mapname

The gamemode switches when the new map loads. To make it stick after restarts, set it in Settings too. The change map button in the Console works for maps.

As startup options

Under the hood, Settings writes these startup options:

+gamemode darkrp +map rp_mapname +maxplayers 32

Sandbox

The classic. Players spawn props, build with the Physics Gun and Tool Gun, and make whatever they like.

  • Built in, with two maps: gm_construct and gm_flatgrass.
  • Limits: props, NPCs, vehicles and more are limited per player with the sbox_max settings. See the sandbox limits.
  • Good addons: an admin addon like ULX, and building tools from the Workshop.
  • Lag: big builds mean heavy physics. Read the performance guide before raising limits.

Trouble in Terrorist Town

A round-based murder mystery. A few players are secretly traitors, detectives hunt them, and everyone else tries to survive.

  • Built in as terrortown, but it needs ttt_ maps from the Workshop. Add them to your server, and they download to players when they join.
  • Many TTT maps use Counter-Strike: Source textures. Players without it see purple squares. Pick maps that don’t need it, or tell players.
  • Useful settings for server.cfg:
Key Default What it does
ttt_roundtime_minutes 10 Length of a round
ttt_preptime_seconds 30 Time before each round starts
ttt_traitor_pct 0.25 Share of players who are traitors
ttt_detective_pct 0.13 Share of players who are detectives
ttt_detective_min_players 8 Players needed before there are detectives
ttt_minimum_players 2 Players needed to start a round
ttt_round_limit 6 Rounds per map before it changes
ttt_time_limit_minutes 75 Minutes per map before it changes
ttt_karma 1 Karma, which lowers the damage of players who kill teammates

DarkRP

A roleplay gamemode: players pick jobs, earn money, buy property and roleplay a city.

  • From the Workshop (item 248302805) or DarkRP’s GitHub page. Install it from Mods. Players download it on joining.
  • Customise it with darkrpmodification. DarkRP’s developers say never to edit DarkRP’s own files. Jobs, shops and settings go in the separate darkrpmodification addon, uploaded to garrysmod/addons/.
  • Data: money and jobs are saved in the server’s database, garrysmod/sv.db, which your backups include.
  • Maps usually start with rp_, and many need Counter-Strike: Source textures.
  • RAM: DarkRP servers tend to collect many addons. Start at 6 GB.

Prop Hunt

Hide and seek: props disguise themselves as objects on the map, and hunters search for them.

  • From the Workshop. Several versions exist, so read the descriptions and pick one that’s kept up to date.
  • Maps usually start with ph_, and some versions work on other maps too.
  • Check the folder name in the description, often prop_hunt.

Murder

One player is the murderer, one has a gun, and everyone else collects clues and tries to survive.

  • From the Workshop. Check the folder name in the description, often murder.
  • Murder needs maps its author supports, because it places loot and clues on each map. The Workshop page lists them.

Switching gamemodes keeps your stuff

Changing the gamemode doesn’t delete anything. Addons, sv.db and your configs stay. Some addons only work in one gamemode, though, and throw Lua errors in others. If you run several gamemodes, keep a separate save for each in Games, so each has only the addons it needs.

Questions

How do I change the gamemode on my Garry's Mod server?

Pick a gamemode and a map that suits it in Settings, then restart. Or type gamemode followed by the gamemode's folder name in the Console, then changelevel and a map name.

Is TTT built into Garry's Mod?

Yes. Trouble in Terrorist Town comes with Garry's Mod, as the terrortown gamemode. Its maps start with ttt_ and come from the Steam Workshop.

Where do I get DarkRP for my server?

From the Steam Workshop (item 248302805) or DarkRP's GitHub page. Install it from the Mods tab, then add the darkrpmodification addon to change jobs and shops safely.

Why is the gamemode name different from what I see in the menu?

The server uses the gamemode's folder name, like terrortown for Trouble in Terrorist Town. Workshop gamemodes usually give their folder name in the description.

Sources we checked

  1. Downloading and Hosting a Dedicated ServerFacepunch Studios
  2. Workshop for Dedicated ServersFacepunch Studios
  3. Trouble in Terrorist Town settings (terrortown.txt)Facepunch Studios
  4. DarkRPDarkRP developers

Run your Garry's Mod server on Wilderack

Daily backups, DDoS protection and free game swaps come with every plan. Wakes the moment you join.

Wait! Get 25% off your server

Don’t miss the best Garry's Mod hosting.

Date of birth

We keep only your email and where you signed up, to send you launch news and your code. Your birth month and year are checked, never stored. Every email has an unsubscribe link, or write to privacy@wilderack.com. Your data, in plain words.

25% off your first payment, for new customers. Your code arrives by email. Then the normal price; cancel any time.