Garry's Mod Server Guide
Configure your Garry's Mod server, mount Steam Workshop collections, switch gamemodes or 64-bit branch, and link MySQL databases on Rogue Wave Hosting.
On this page 5
Your Garry’s Mod server on Rogue Wave Hosting runs the Source dedicated server (Steam App 4020) with native Steam Workshop collection mounting, full gamemode support (sandbox, terrortown, darkrp, and more), and an optional 64-bit (x86-64) branch for heavy addon lists.
Overview & Quick Specs
| Spec | Panel Default / Behavior |
|---|---|
| Server Software | Garry’s Mod Source Dedicated Server (Steam App 4020) |
| Primary Port | Auto-assigned in 25000–25999 (check Network or the dashboard header) |
| Additional Ports | None required |
| Architecture | 32-bit default, or switch to x86-64 via Branch in Startup |
| Updates | Automatic via SteamCMD on every start while Auto Update is 1 |
First-Time Setup & Connecting
-
Generate a Steam Game Server Login Token (GSLT)
To list your server publicly in the Garry’s Mod browser, visit steamcommunity.com/dev/managegameservers, create a token for App ID
4000(Garry’s Mod), and paste it into Game Server Login Token (STEAM_TOKEN) in Startup. -
Choose your Gamemode, Map, and Workshop Collection
In Startup, set Server Name, Gamemode (e.g.
sandbox,terrortown,darkrp), Map (e.g.gm_construct,gm_flatgrass, or a Workshop map name), and paste your Workshop Collection ID (WORKSHOP_ID) if you use Workshop addons. -
Start the server
Open Console and click Start. If you configured a Workshop Collection, the first boot downloads and mounts all addons in the collection before opening the map.
-
Connect in Garry's Mod
Find your server by name in Find Multiplayer Game, or open the developer console (
~) in Garry’s Mod and run:connect 203.0.113.10:25000Replace
203.0.113.10:25000with your server’s actual address from the Network tab.
Key Startup Settings
| Panel Setting | Variable | Default | What it controls |
|---|---|---|---|
| Server Name | SERVER_NAME |
Garry's Mod Server |
Name shown in the server browser (no double quotes "). |
| Map | SRCDS_MAP |
gm_construct |
Starting map name (e.g. gm_construct, gm_flatgrass, ttt_minecraft_b5). |
| Gamemode | GAMEMODE |
sandbox |
Gamemode folder name (sandbox, terrortown, darkrp, prop_hunt). |
| Max Players | MAX_PLAYERS |
32 |
Maximum player slots. |
| Workshop Collection | WORKSHOP_ID |
(empty) | Numeric Steam Workshop collection ID to download and mount automatically. |
| Game Server Login Token | STEAM_TOKEN |
(empty) | Steam GSLT (App ID 4000). Required to appear in the public server list. |
| Server Password | SERVER_PASSWORD |
(empty) | Optional join password (no double quotes "). |
| RCON Password | RCON_PASSWORD |
(empty) | Remote console password; leave blank to disable RCON (no double quotes "). |
| Loading Screen URL | LOADING_URL |
(empty) | Custom HTML loading screen URL (sv_loadingurl). |
| Tickrate | TICKRATE |
22 |
Server simulation ticks per second. Higher values (33, 66) require more CPU. |
| Lua Refresh | LUA_REFRESH |
0 |
1 auto-reloads edited Lua files (useful during dev; disable in production for performance). |
| Extra Arguments | EXTRA_ARGS |
(empty) | Additional launch flags or convars (e.g. +sv_allowcslua 1). |
| Auto Update | AUTO_UPDATE |
1 |
1 updates via SteamCMD on every start; 0 disables auto-updates. |
| Branch | SRCDS_BETAID |
(empty) | Leave empty for 32-bit stable, or set x86-64 for 64-bit (more memory for large servers). Reinstall after changing. |
Workshop Collections, Gamemodes & Databases
- Mounting Steam Workshop Addons — Create a Steam Workshop Collection for Garry’s Mod, set its visibility to Public or Unlisted, copy the numeric ID from the collection URL (
?id=1234567890), and paste it into Workshop Collection (WORKSHOP_ID). To force players to download specific Workshop content on join, addresource.AddWorkshop("<addon_id>")entries insidegarrysmod/lua/autorun/server/workshop.lua. - Manual Addons & Configs — Upload extracted addon folders to
garrysmod/addons/via Files or SFTP, and put server convars (sbox_maxprops,ttt_round_limit, etc.) ingarrysmod/cfg/server.cfg. - Switching to the 64-bit Build — Heavily modded DarkRP or Sandbox servers can hit the 32-bit memory ceiling. Set Branch (
SRCDS_BETAID) tox86-64in Startup, take a backup first, and click Reinstall under Settings. - MySQL for DarkRP, Pointshop & Admin Suites — Addons like DarkRP (with
mysqloo), SAM, ULX logs, and Pointshop 2 benefit from an external MySQL database. Create a free off-disk MySQL database using Managing Databases.
Common Tips & Troubleshooting
- Missing textures / purple-black checkerboards — Players and servers need matching map/content packs in the Workshop Collection (or mounted game content).
- Lua errors or server lag after adding an addon — Check the Console log for repeating Lua stack traces, keep Lua Refresh (
LUA_REFRESH) at0on live servers, and keep Tickrate at22–33for prop-heavy Sandbox/DarkRP servers. - Snapshot before major addon changes — Always back up
garrysmod/data/and your configs before swapping gamemodes or upgrading addons; see Using Backups.