You set the map your server starts with in your server's settings. By default it is gm_flatgrass. Besides the included maps gm_flatgrass and gm_construct you can use maps from the Steam Workshop or upload your own maps via SFTP.
Set the start map in the settings
-
Open the dashboard
Open the dashboard of your server. -
Open the settings
Navigate to the Settings. -
Enter the map
Enter the name of the map in the Map field, for examplegm_construct. The server then starts with the parameter:+map gm_construct -
Restart the server
Save the setting and restart your server.
Change the map while the server is running
You can change the map without a restart directly through the console.
-
Open the dashboard
Open the dashboard of your server. -
Enter the command
Enter the following command in your server's console:changelevel <map>Replace
<map>with the name of the map, for examplechangelevel gm_construct.
Use a map from the Steam Workshop
The server downloads Workshop maps through your Workshop collection. A Workshop map that is not in the collection is neither downloaded by the server nor distributed to the players.
-
Add the map to the collection
In the Steam Workshop for Garry's Mod, add the map to the collection whose ID is entered in the Workshop ID field. To learn how to set up a collection, see Add mods. -
Find the map name
Find out the.bspname of the map (see the next section). -
Enter the map
Enter the.bspname in the Map field in the Settings. -
Restart the server
Save the setting and restart your server. The server downloads the collection on startup and then starts with the map.
Find the .bsp name of a Workshop map
The title in the Steam Workshop often differs from the actual map name. This is how you find the exact name:
-
Check the Workshop description
Open the map's page in the Steam Workshop for Garry's Mod. Many creators state the map name in the description. If you find it there, you can skip the following steps. -
Extract the addon file
If the name is not in the description, extract the map's addon file. Workshop addons usually come as a.gmafile. You extract a.gmafile withgmad.exefrom your local game installation under…\GarrysMod\bin\:gmad.exe extract -file "<path to file>.gma" -
Find the map file
In the extracted folder you will find the map in themaps/subfolder. The file name without the.bspextension is the name you enter in the Map field or use withchangelevel.
Upload your own map via SFTP
Maps that do not come from the Workshop are uploaded to the server as a .bsp file.
-
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP. -
Upload the map
Upload the.bspfile to the following directory:/garrysmod/maps/Example:
/garrysmod/maps/gm_examplemap.bsp -
Enter the map
Enter the file name without.bspin the Map field in the Settings, in this examplegm_examplemap. -
Start the server
Save the setting and start your server.
Choose a map that matches the gamemode
Many gamemodes are designed for specific maps. The prefix of the map name tells you which gamemode a map is intended for:
| Prefix | Gamemode |
|---|---|
gm_ |
Sandbox |
rp_ |
Roleplay, e.g. DarkRP |
ttt_ |
Trouble in Terrorist Town |
ph_ |
Prop Hunt |
The prefixes are a convention, not a fixed rule. A gamemode will still start on an unsuitable map, but it will lack things like spawn points or weapon placements there. The default map gm_flatgrass is only suitable for Sandbox. When you change the gamemode, adjust the Map field as well.
