Skip to content Nodecraft
Support / Garry's Mod / Setting a Password on a Garry's Mod server
Garry's Mod Logogram
Create a Garry's Mod Server today!
Start Free Trial

Setting a Password on a Garry's Mod server

Setting a Password on a Garry's Mod Server

Setting a password for your Garry's Mod server is done by editing the server.cfg file, which is located in the folder garrysmod/cfg

Click on file manager on the left side of the Nodecraft server control panel, click on the the folder garrysmod, and then on the folder cfg.

Locate the file server.cfg, click the blue box to the left of the file name, and then click the button edit that appears at the top of the file manager window.

A view of the file manager for a garry's mod server, showing the location of the file

After you select the server.cfg file, and click edit, you will see the following.

Normally this file is "empty" (with only three numbered lines on the left side), with no settings visible (unless you have already added some).

A view of a stock garrys mod server.cfg file, which is normally found empty

On the first empty line, add the following text:

sv_password "PASSWORD"

replace PASSWORD with the password you want to set for your server. The text must be between quotes.

Click save in the upper right corner of the file manager, and restart the server for these changes to take place.

Chat blocked!

Nodecraft is an ad-free website! Disable adblock if you have any questions.