Garrys Mod

Game Resources

Garry's Mod Wiki

Server Tips

Autorefresh can lag the server when certain Lua files are edited. This happens when the refreshing cascades. This can be unwanted behaviour when editing the scripts of a large project on a live server.

To disable autorefresh, add -disableluarefresh to parms.

-disableluarefresh

Loading screens are added by defining a website with sv_loadingurl, which is in gmodserver.cfg by default. This file overrides other files.

Links should not have http:// or an ending/ .

Example:

sv_loadingurl "www.website.com/loading/screen"

Gamemode is changed by editing start parameters in the LinuxGSM config file.

Default gamemodes:
TTT gamemode="terrortown"
Sandbox gamemode="sandbox"

Other gamemodes like Zombie Survival can be found on the steam workshop.

Guides

Mounting Game Content To Garry's Mod Server

Install Sourcemod on Gmod Server