Introduction to Garry’s Mod Server Configuration
Properly configuring your Garry’s Mod server is essential for creating the best experience for your players. This guide walks you through the various configuration files and options available on the Wasabi Hosting Gamepanel.Core Configuration Files
Garry’s Mod uses several key configuration files:Configuration File Overview
Configuration File Overview
Basic Server.cfg Setup
Theserver.cfg file is the primary configuration file for your Garry’s Mod server. Here’s a basic template:
Workshop Configuration
To use Workshop content on your Wasabi Hosting server:- Create a workshop collection on Steam
- Add the collection ID to your Gamepanel startup parameters:
- Additionally, you can create a
workshop.vdffile in the/garrysmod/settings/directory:
Wasabi Hosting provides optimized networks for workshop downloads, but FastDL is still recommended for frequently used content.
FastDL Setup
FastDL allows players to download custom content much faster:1
Create a web server
Set up a web server with sufficient storage space
2
Compress content
Use bzip2 to compress resource files:
3
Upload compressed files
Upload the compressed files to your web server, maintaining the folder structure
4
Configure FastDL
Add to your server.cfg:
Gamemode Configuration
Each gamemode has its own configuration files and options:- DarkRP
- TTT (Trouble in Terrorist Town)
- Sandbox
DarkRP settings are managed in these files:
/garrysmod/addons/darkrpmodification/lua/darkrp_config/settings.lua- General settings/garrysmod/addons/darkrpmodification/lua/darkrp_config/disabled_defaults.lua- Features to disable/garrysmod/addons/darkrpmodification/lua/darkrp_customthings/jobs.lua- Custom jobs/garrysmod/addons/darkrpmodification/lua/darkrp_customthings/shipments.lua- Custom shipments/garrysmod/addons/darkrpmodification/lua/darkrp_customthings/entities.lua- Custom entities
Essential DarkRP Settings
Essential DarkRP Settings
Custom Jobs Configuration Example
Custom Jobs Configuration Example
Custom Shipments & Entities
Custom Shipments & Entities
MySQL Configuration
MySQL Configuration
If your server uses a MySQL database for DarkRP data, configure it in
/garrysmod/addons/darkrpmodification/lua/darkrp_config/mysql.lua:DarkRP Performance Optimization
DarkRP Performance Optimization
Admin Mod Configuration
ULX/ULib Configuration
ULX/ULib Configuration
ULX (Ulysses Admin Mod) settings are stored in multiple files:
/garrysmod/data/ulx/config.txt- Main ULX configuration/garrysmod/data/ulib/groups.txt- User groups and permissions/garrysmod/addons/ulx/lua/ulx/modules/sh/- Module configurations
- groups.txt example:
- Creating custom groups:
MySQL Configuration
Many addons (especially DarkRP) support MySQL databases:MySQL Setup
MySQL Setup
- Create a MySQL database on your hosting provider
- Configure your database details in the appropriate files:
Content Mounting
To use content from other Source games (CS:S, HL2, etc.), configure themount.cfg file:
Startup Parameters
Configure these in the Gamepanel’s Startup tab:Parameter Explanation
Parameter Explanation
RCON Configuration
Remote Console (RCON) allows you to administer your server remotely:-
Set a strong RCON password in server.cfg:
-
Connect to your server’s RCON using:
- An RCON tool like HLSW or SourceAdmin
- The in-game console with
rcon_passwordfollowed byrconcommands - Gamepanel’s built-in console
Map Rotation
Configure map rotation in your server.cfg:mapcycle.txt file in the /garrysmod/cfg/ directory:
Server Logging
Configure logging to track server activity:/garrysmod/logs/
Optimization Configurations
Use these settings for better server performance:DDoS Protection
Configure basic DDoS protection:Gamemode-Specific Configuration Examples
TTT Example Configuration (server.cfg)
TTT Example Configuration (server.cfg)
DarkRP Example Configuration (darkrp_config/settings.lua)
DarkRP Example Configuration (darkrp_config/settings.lua)
Source Engine Mounting (Optional)
Mount content from other Source games for additional assets:- Ensure the content is installed on your server On a Gamepanel, you’ll need to use the SteamCMD to download this content to your server first.
-
Configure mount points in
mount.cfg - Add these to your startup parameters
Server Monitoring
Monitor your server’s health using:- Console log analysis
- Third-party monitoring tools
- Resource utilization graphs
- Gamepanel’s built-in console
Get your own Garry's Mod server
Deploy a DDoS-protected Garry’s Mod server on AMD Ryzen hardware in about two minutes. Plans start at €12.50/month.

