To make a Garry’s Mod server, pick Garry’s Mod, choose a gamemode, pick a plan and start it. It’s usually ready in under a minute. Then add your Steam server token so it ranks well in the server list, make yourself admin and share the address on Overview.
What you need
- Garry’s Mod on Steam for every player, on Windows, Mac or Linux. There is no console or phone version.
- A plan with enough RAM (the server’s memory). Our guide:
| Your server | Plan |
|---|---|
| Sandbox with a few friends | 2 GB |
| Trouble in Terrorist Town, Prop Hunt or Murder, or Sandbox with addons | 4 GB |
| DarkRP, or big Workshop collections | 6 to 8 GB |
- A Steam account that can make a game server token. Optional, but it helps people find your server. See below.
Create your server
- Pick Garry’s Mod from the game list.
- Pick a starting gamemode: Sandbox, DarkRP, Trouble in Terrorist Town or Prop Hunt. You can change it any time. The gamemodes guide explains each one.
- Pick a plan from the table above.
- Pick the region closest to most of your players: EU or US East.
- Choose a name. It becomes your address, like
physgun.play.wilderack.com. Names use 3 to 32 characters: lowercase letters, numbers and hyphens.
The first start
The game files install from Steam (the Garry’s Mod dedicated server, Steam app 4020). We never ship them ourselves.
A plain server starts in about 15 seconds. If you added a big Workshop collection, the first start takes longer, up to a few minutes, while the server downloads it from Steam. It’s ready when the Console prints VAC secure mode is activated.
Set the basics
Open Settings to change the main things in plain words: server name, password, max players, map, gamemode, Workshop collection and loading screen. Everything else is in server.cfg, explained in the config reference.
Add your Steam game server token
A Steam game server login token (GSLT) gives your server its own Steam identity. Facepunch says servers without one get a severe penalty in the server list ranking, so add one if you want people to find you.
- Sign in to Steam’s game server account page.
- For App ID of the base game, enter
4000. That’s Garry’s Mod itself, not the server’s app number. - For Memo, write something to recognise it, like
physgun. - Create the token and copy it.
- Paste it into the server token field in Settings, then restart. The panel shows that a token is set, but never shows it again.
Use one token per server. Changing your Steam password cancels all your tokens, and a cancelled or wrong token stops the server from starting. Make a new token on the same Steam page and paste it in.
Make yourself admin
Garry’s Mod servers use an admin addon. ULX, with its library ULib, is the most common one.
- Open Mods, search for ULX and install it. ULib comes with it.
- Restart the server. ULX needs a full restart; a map change isn’t enough.
- Join your server.
- In the panel’s Console, type
ulx adduser "YourName" superadminwith your in-game name. - In game, type
!menuin chat to open the ULX menu.
More admin details are in the config reference.
Invite friends to play
Send your friends the address and port from the address card on Overview, like physgun.play.wilderack.com:24816. They can type connect and the address in the game’s console, or add it as a favourite. All the ways are in how to connect.
Invite friends to help run it
Open Friends and create an invite link with a role, such as Admin to help run the server, Builder to add addons and edit files, or Moderator to restart it and use the console. Panel roles don’t give in-game powers; give those with ULX.
What sleeping means for Garry’s Mod
Your server naps when nobody’s playing, so you aren’t paying for an empty server to sit awake. It wakes when someone joins by address or from their favourites, usually in a couple of seconds.
While it sleeps, your server still shows in friends’ favourites and history, but not in the public server list. If you want strangers to find it in the list, set it to stay awake in Settings > Sleep.
Facepunch’s rules for server owners
Facepunch’s server guidelines apply to Garry’s Mod too: never call your server official, and keep content right for its players. Garry’s Mod also has its own server operator rules. Servers that fake their player count or location, harm players’ games or files, or break the content rules get blacklisted from the server list.
What to read next
- How to connect to your Garry’s Mod server
- Garry’s Mod gamemodes: Sandbox, TTT, DarkRP, Prop Hunt and Murder
- Garry’s Mod addons and Workshop collections
Questions
How much RAM does a Garry's Mod server need?
2 GB is enough for Sandbox with a few friends. Plan 4 GB for TTT, Prop Hunt or Sandbox with addons, and 6 to 8 GB for DarkRP or big Workshop collections.
Do I need a Steam game server token for Garry's Mod?
It isn't needed to play, but Facepunch says servers without one get a severe penalty in the server list ranking. Make one for app ID 4000 and paste it in Settings.
How do I make myself admin on my Garry's Mod server?
Install ULX and ULib from the Mods tab, restart the server, join it, then type ulx adduser followed by your name in quotes and superadmin in the panel's Console.
Can I change the gamemode later?
Yes. Pick another gamemode and map in Settings and restart. Your addons and data stay on the server.
Sources we checked
- Downloading and Hosting a Dedicated ServerFacepunch Studios
- Steam Game Server AccountsFacepunch Studios
- Server Operator RulesFacepunch Studios
- ULXTeam Ulysses
