sv_password sets the password players need to join. It is separate from the panel login and RCON password.
Set the password
- Open garrysmod/cfg/server.cfg. Create server.cfg in that folder if it is missing.
- Add sv_password "YOUR_JOIN_PASSWORD", replacing the example password. If the line already exists, edit it.
- Save the file and restart the server.
Test it
Reconnect and check that the correct password works and an incorrect one is rejected. If not, check the configuration and addons that change join checks.
Remove the password
Set sv_password "" in server.cfg, save and restart. Check that you can join without a password.
For panel access, see inviting a subuser. For general editing, see editing server files. View Garry’s Mod server hosting.
Official reference: Facepunch’s sv_password reference, GMod’s join password behaviour.
Your feedback helps us improve our guides.


