Skip to content
🧮 Is Lifetime with ZapX Pass worth it? Work it out for your own servers in 30 seconds. Open the Lifetime calculator →

Garry's Mod: RCON

Discover how to securely and efficiently manage your Garry's Mod game server remotely without logging into the game

3 December 20262 min read39 Views0 helpful

Don't have your own server yet? Host your Garry's Mod server with ZAP-Hosting from €4.99 / month.Or try 3 days from €0.90

Introduction

RCON (Remote Console) is a network protocol that lets you control game servers remotely. It provides access to the server console without requiring direct interaction with the server environment. This allows you to run administrative commands, adjust configuration parameters, or retrieve server status information.

In Garry's Mod, RCON is used to run server-side commands, such as managing players, changing gameplay settings, or retrieving diagnostic output. The connection is password-protected and uses a designated port that can be accessed through compatible RCON clients.

One major advantage of RCON is that you can manage the server without being connected to the game as a player. Server admins can conveniently monitor and control Garry's Mod using external tools, command lines, or web dashboards—perfect for flexible and convenient remote management.

Configuration

Before you can use RCON, you need to enable and configure it. To do this, edit the configuration file in the Configuration tab of your game server (raw text view). Add or update the following entry in the server.cfg file:

cfg
rcon_password "dein-passwort-hier"

Connecting via RCON

To connect to your Garry's Mod game server via RCON, use the rcon-cli command-line tool. You can download it from the official GitHub repository. After downloading and installing it on your computer, you can connect using the server's IP address, the RCON port, and the RCON password.

Garry's Mod uses the same port for RCON as it does for the game (TCP). You can find the IP address and port in your server's header next to Connect. The password and port must match the values in the panel or configuration file. Use the following command to connect and run a command immediately:

bash
rcon-cli -a <IP>:<PORT> -p <PASSWORD> command

RCON Commands

Once connected via RCON, you can run various administrative and diagnostic commands on your Garry's Mod game server. Available commands depend on the game engine, but typically include actions for managing players, checking status, and controlling the server.

CommandDescription
rcon_password <password>Authenticates you for RCON access
statusDisplays server and player information
changelevel <mapname>Switches to the specified map
mp_timelimit <min>Sets the time limit for each map
mp_roundtime <min>Sets the round time
sv_cheats 0/1Enables/disables cheat commands (admin only)
kick <playername>Kicks a player from the server
banid <duration> <SteamID>Bans a player for a specified duration
exec <file.cfg>Runs a configuration file
say <message>Sends a message to all players

Conclusion

RCON is an essential tool for remotely managing Garry's Mod game servers. It provides quick, direct access to administrative functions and uses password protection to help secure access. Correct and secure configuration is essential for maintaining server stability and preventing unauthorized access.

If you have any questions or need help, our support team is here for you every day! 🙂

Free tools

Garry's Mod Tools

View all

FAQ

Frequently asked questions

Add rcon_password "dein-passwort-hier" to the server.cfg file (Configuration tab, raw text view).
Use the rcon-cli command-line tool (available on GitHub at gorcon/rcon-cli) and connect with the server IP, RCON port, and RCON password using: rcon-cli -a <IP>:<PORT> -p <PASSWORD> command.
RCON uses the same port as the game (TCP). You can find the IP address and port in your game server's header next to Connect.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.