Garrys Mod

Game Resources

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.
1
-disableluarefresh
Copied!
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:
1
sv_loadingurl "www.website.com/loading/screen"
Copied!
Gamemode is changed by editing start parameters in the LinuxGSM config file.
1
Default gamemodes:
2
3
TTT gamemode="terrortown"
4
Sandbox gamemode="sandbox"
Copied!
Other gamemodes like Zombie Survival can be found on the steam workshop.

Guides

Last modified 1yr ago
Export as PDF
Copy link