New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Change the Gamemode of Your Garry's Mod Server
Garry's ModGarry's ModChange Gamemode

How to Change the Gamemode of Your Garry's Mod Server

Change the gamemode on a Garry's Mod server

5 min read
Oct 1, 2026

The gamemode determines what is played on your server – for example Sandbox, Trouble in Terrorist Town (TTT) or DarkRP. You select it in the dashboard with the Gamemode field. What goes into that field is always the folder name of the gamemode, not its display name.

Included gamemodes

A freshly installed server only comes with these gamemodes:

Gamemode Folder name Description
Sandbox sandbox Default gamemode of your server
Trouble in Terrorist Town terrortown TTT – Innocents versus Traitors

Find the correct folder name

In the Gamemode field you enter the folder name – not the title from the Workshop. "Trouble in Terrorist Town", for example, becomes terrortown, and "Prop Hunt: Enhanced" becomes prop_hunt.

  • Uploaded via SFTP: The folder name is the name of the folder in /garrysmod/gamemodes/ that contains the .txt file of the same name.
  • From the Workshop: The folder name is usually given in the description of the Workshop item. If you cannot find it there, ask the author of the gamemode.
  • From GitHub: The folder name matches the name of the gamemode's .txt file, for example darkrp.txt for darkrp. If the extracted folder has a different name (e.g. DarkRP-master), rename it accordingly, in this case to darkrp.

An overview of some well-known gamemodes:

Gamemode Folder name Workshop ID Matching maps
Sandbox sandbox included gm_…
Trouble in Terrorist Town terrortown included ttt_…
DarkRP darkrp 248302805 rp_…
Prop Hunt: Enhanced prop_hunt 1758906555 ph_…
Murder murder 187073946 md_…, mu_…, murder_…

Install a gamemode via the Workshop

The easiest way to install a gamemode is through your server's Workshop collection.

  1. Add the gamemode to the collection
    Add the gamemode in the Steam Workshop for Garry's Mod to the collection your server loads. How to create a collection and enter it in the Workshop ID field is explained in Add mods.

  2. Find the folder name
    Find out the folder name of the gamemode as described in Find the correct folder name.

  3. Enter the gamemode
    Then enter the folder name as described in Set the gamemode in the settings.

Upload a gamemode via SFTP

You upload gamemodes that do not come from the Workshop (for example from GitHub) yourself.

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Upload the gamemode
    Upload the extracted gamemode folder to the following directory:

    /garrysmod/gamemodes/
    
  4. Check the folder structure
    Directly inside the gamemode folder there has to be a .txt file with the same name as the folder and the subfolder gamemode/. For a gamemode with the folder name examplemode it looks like this:

    /garrysmod/gamemodes/examplemode/examplemode.txt
    /garrysmod/gamemodes/examplemode/gamemode/
    
  5. Enter the gamemode
    Enter the folder name as described in Set the gamemode in the settings.

Set the gamemode in the settings

  1. Open the dashboard
    Open the dashboard of your server.

  2. Open the settings
    Navigate to the Settings.

  3. Enter the gamemode
    Enter the folder name of the gamemode in the Gamemode field, for example terrortown. The server then starts with the parameter:

    +gamemode terrortown
    
  4. Enter a matching map
    Enter a map that matches the gamemode in the Map field. The default map gm_flatgrass is meant for Sandbox. How to enter a different map is explained in Change map.

  5. Restart the server
    Save the setting and restart your server.

Star Wars RP and DarkRP

There is no official "Star Wars RP" gamemode. A Star Wars RP server is a DarkRP server with additional Star Wars content such as jobs, weapons, models and maps. Complete Star Wars RP gamemodes are mostly only available as paid third-party products. So you do not simply switch from sandbox to Star Wars RP – you install DarkRP first.

Gamemodes with content from other games

Some gamemodes require content from Counter-Strike: Source, for example Murder. Since the July 2025 update Garry's Mod already includes most of the content from Counter-Strike: Source and Half-Life 2 Episodic. For most gamemodes you therefore do not have to do anything else.

Maps, voice-over and music are excluded. So enter a map that matches your gamemode, for example from the Workshop, as described in Change map. How to mount additional content from other games is explained in Add mods.

Written byEmeraldHost Team
Last updated on Oct 1, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
Garry's Mod

Ready to get started?

Rent your Garry's Mod Server now

Join our Discord community 1257 members online right now