> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zonely.gen.tr/llms.txt
> Use this file to discover all available pages before exploring further.

# Garry’s Mod RCON

> 将远程设置与服务器注册匹配 。

您可以用 Garry 的 Mod 发送商店命令到游戏服务器的控制台 RCON 连接。在服务器、远程控制台之前,然后准备面板上的注册。

## 编辑服务器文件

停止并停止服务器 **g/server.cfg/server.cfg** 打开文件。在可用的相关区域使用下列设置:

```text title="garrysmod/cfg/server.cfg" theme={"theme":"css-variables"}
rcon_password "YOUR_LONG_UNIQUE_RCON_PASSWORD"
```

准备命令用于游戏模式或游戏模式等附加 ULX 与插件的控制台格式相连接。重新启动服务器。如果永久设置面板重现文件,请从它编辑您的主机面板。

## 添加面板记录

管理小组 **存储 \~ 服务器** 打开该部分。添加新服务器或编辑相应的记录。注册您的游戏 **RCON** 选择链接。

| Panel area | Their |
| - | - |
| Server address | The game server address accessed from the web server. |
| RCON Port | External TCP port of RCON service. |
| RCON Password | rcon\_password value. |

[![Server IP Address, RCON Port, RCON Password](https://mintcdn.com/zonely-a8cd49e7/tFlz7qlecL526yOP/images/panel/payments-connections-site-guide-20261027/conn-rcon-zh-CN.png?fit=max\&auto=format\&n=tFlz7qlecL526yOP\&q=85\&s=b5a89d5eaf0157661d1ae3037cf6776f)](https://docs.zonely.gen.tr/images/panel/payments-connections-site-guide-20261027/conn-rcon-zh-CN.png)

> [card] 1. 服务器IP地址
>
> 在服务器配置中输入计数器。

> [card] 2. RCON港口
>
> 在服务器配置中输入计数器。

> [card] 3. RCON密码
>
> 在服务器配置中输入计数器。

准备 RCON TCP 访问方式 UDP 游戏连接的端口. 27015是一个常用端口实例; 输入您自己的服务器的外部端口.

## 将产品连接到服务器

在产品注册中选择此送出服务器。 根据游戏控制台语法输入命令。 提供玩家ID和命令的模式/ 插件也应该正确 。

检查超时地址中活动控制台密码, TCP 访问; 校验错误。 如果连接不工作且无法交付, 请检查产品的命令 。

[服务器源](https://wiki.facepunch.com/gmod/ConVars_In_Garrysmod) · [常见的 RCON 字段](https://docs.zonely.gen.tr/zh-CN/guides/servers.md#rcon) · [连接和工具](https://docs.zonely.gen.tr/zh-CN/integrations/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.