Skip to content

Enshrouded 1.0 is out! 🎉 Get 25% OFF your next Enshrouded Server today!

Garry's ModSettings & Admin

GMod Server Console Commands

The Garry's Mod console commands worth knowing on a hosted server for players, bans, maps and settings, and how to keep a change after a restart.

Updated 4 min read

The Console tab runs any command a Garry's Mod server understands. This is a short list of the ones that are useful on a hosted server, what each does, and which settings you should change in the panel and not with a command. Descriptions come from the Facepunch Garry's Mod wiki's console variable list.

Send a command

  1. Open the Console tab. The server needs to be Running.
  2. Click the Send a command box at the bottom of the log.
  3. Type the command without a leading slash and press Enter or Send. Your command shows in the log after a >, followed by the server's reply.

You can also look commands up from there. help <command> will "Find help about a convar/concommand", and find <text> will "Find concommands with the specified string in their name/help text." The wiki points out that cvarlist prints every command and variable, but the console's line limit often cuts the top off. find searches for one word instead.

Players and bans

CommandWhat it does
status"Display map and connection status." It lists each player with a userid, name and SteamID.
kick <name>"Kick a player by name."
kickid <userid>"Kick a player by userid or uniqueid, with a message."
kickall"Kicks everybody connected with a message."
banid 0 <SteamID> kickThe form the Players tab uses to ban. banid will "Add a user ID to the ban list."
removeid <SteamID>"Remove a user ID from the ban list."
listid"Lists banned users."
writeid"Writes a list of permanently-banned user IDs to banned_user.cfg." Run it after banid or removeid.

Ban players on your GMod server explains these in order, and ULX admin commands covers the in-game admin menu.

Maps and chat

CommandWhat it does
changelevel <map>"Change server to the specified map". Use the map file name without .bsp.
maps"Displays list of maps."
say <message>"Display player message".

The map and gamemode the server starts with are set in the Startup tab, so a map you change with changelevel goes back to the Map value when the server restarts.

Server settings

CommandWhat it does
hostname "<name>""Hostname for server."
sv_password "<password>""Server password for entry into multiplayer games".
sv_cheats 1"Allow cheats on server". See Enable cheats on your GMod server.
sv_gravity <number>"World gravity."
sv_alltalk 1"Players can hear all other players, no team restrictions".
sbox_maxprops <number>"Maximum props a single player can create".
sbox_godmode 1"If enabled, all players will be invincible".
sbox_noclip 1"If enabled, players will be able to use noclip".
sbox_playershurtplayers 0Turns off players hurting each other. The wiki says: "If enabled, players will be able to hurt each other".

The server.cfg we install already sets many of the sbox_ settings, such as sbox_maxprops 100.

Keep a change after a restart

A setting you send from the Console lasts until the server restarts. To keep it, save it in garrysmod/cfg/server.cfg:

  1. Stop the server.
  2. Open garrysmod/cfg/server.cfg in the File Manager and add the command on its own line below // Add custom lines under here. Use the same form as the console, for example sbox_maxprops 150. If the file already has a line for that setting, edit that line instead.
  3. Save and Start the server.

Leave the map, gamemode, player slots, tickrate and Workshop collection to the Startup and Workshop tabs. The server is launched with those values. The Loading screen tab manages sv_loadingurl for you.

What about RCON?

Garry's Mod servers here have no RCON setting on the Startup tab, and the server.cfg we install asks you not to set RCON in it. The Console tab does the same job for the server's own commands, so there is nothing to set up.

Warning

Commands you send from the Console run with the full power of the server. Avoid kickall unless you mean it, because it removes everyone connected.

Checked against the Facepunch Garry's Mod wiki and our panel, October 2026.

Ready to launch your Garry's Mod server?

Aussie hardware, NVMe disks and DDoS protection, with the version and mod loader yours to change whenever you like.

See Garry's Mod plans