How to add custom startup parameters to a Garry's Mod server


Summary
Garry's Mod servers have custom startup parameters that can be applied to the server.cfg file within the config directory. These startup parameters can help maintain what type of content is seen on the server; with most parameter settings, it is required to run them at the server start, making the server.cfg an ideal place to execute the parameters. This can apply to users who want to turn off Lua refreshes to help reduce server lag or for players who wish to test server settings without adding addons or Steam Workshop files.

Note Make any backups locally before editing the server.cfg files to avoid losing necessary data.


How to Add Custom Startup Parameters to a Garry's Mod Server
1. Log in to the BisectHosting Games panel.

2. Stop the server


3. Go to the Files tab.


4. Find the following directory: /home/container/garrysmod/cfg .


5. Open the server.cfg file.


6. Add any custom startup parameters to the bottom of the file. Below are listed some standard parameters for Garry's Mod servers.


7. Once finished editing, choose the Save Content button.


8. Start the server.


Parameter
Description
noaddons=true Prevents loading of addons from the server addons folder.
noworkshop=true Disables Steam Workshop integration and disallows any workshop addons from being installed on the server.
disableluarefresh=true Disables automatic .lua script file refreshing while the server is running.
nochromium=true Disables Chromium integration for users playing on the Chromium Steam beta.


Was this answer helpful?

1
« Back