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.
sv_password "YOUR_JOIN_PASSWORD"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.
Troubleshooting checks
| What you see | What to check |
|---|---|
| Server never asks for the new password | Check the active garrysmod/cfg/server.cfg, restart and test a fresh connection. Look for addons overriding join checks. |
| You meant to grant moderation access | sv_password only controls joining. It does not grant ULX, RCON or panel access. |
Official reference: Facepunch’s sv_password reference, GMod’s join password behaviour.
Your feedback helps us improve our guides.


