Skip to content

Garry's Mod: RCON

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

12 November 20262 min read33 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 allows you to control game servers remotely. It provides access to the server console without needing to interact directly with the server environment. This lets you execute administrative commands, adjust configuration settings, 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 fetching diagnostic output. The connection is password-protected and operates over a designated port accessible via compatible RCON clients.

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

Configuration

Before you can use RCON, it must be enabled and configured. You do this by editing the configuration file in the Configuration tab of your game server (raw text view). In the server.cfg file, add or adjust the following entry:

cfg
rcon_password "your-password-here"

Connecting via RCON

To connect to your Garry's Mod game server via RCON, use the command-line tool rcon-cli. 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.

You can find the assigned port under More ports in the Server Details section on the Overview page of your game server panel. The password and port must match the values in the panel or configuration file. Use the following command to connect and execute a command directly:

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

RCON Commands

Once connected via RCON, you can execute various administrative and diagnostic commands on your Garry's Mod game server. Available commands depend on the game engine but typically include player management, status queries, and server control.

CommandDescription
rcon_password <password>Authenticates for RCON access
statusDisplays server and player information
changelevel <mapname>Changes to the specified map
mp_timelimit <min>Sets the time limit per 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>Executes 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 and direct access to administrative functions and offers secure access control through password protection. Proper and secure configuration is crucial to ensure server stability and prevent unauthorized access.

If you have questions or need assistance, our support team is available daily to help! 🙂

Free tools

Garry's Mod Tools

View all

FAQ

Frequently asked questions

Add the line rcon_password "your-password-here" in the server.cfg file (Configuration tab, raw text view).
Use the command-line tool rcon-cli (available on GitHub at gorcon/rcon-cli), connecting with the server IP, RCON port, and password using: rcon-cli -a <IP>:<PORT> -p <PASSWORD> command.
Under More ports in the Server Details on the Overview page of your game server panel.

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.