# How To Use RCON on Your Squad Server (/docs/squad/rcon)



import { Step, Steps } from 'fumadocs-ui/components/steps';

RCON (Remote Console) allows you to send commands to your Squad server remotely. This is useful for managing the server without being connected in-game.

Setting Up RCON [#setting-up-rcon]

<div className="fd-steps">
  <div className="fd-step">
    Set the RCON Password [#1-set-the-rcon-password]

    Log in to the [XGamingServer Panel](https://panel.xgamingserver.com) and select your Squad server. In the sidebar, click **Files** and navigate to `SquadGame/ServerConfig/`. Open `Server.cfg` and set the RCON password:

    ```
    RconPassword="yoursecurepassword"
    ```
  </div>

  <div className="fd-step">
    Note the RCON Port [#2-note-the-rcon-port]

    The RCON port is typically your game port + 1. You can find the exact port on your panel **Dashboard** under the network allocation.
  </div>

  <div className="fd-step">
    Restart Your Server [#3-restart-your-server]

    Restart the server to apply the RCON password.
  </div>
</div>

Connecting with an RCON Client [#connecting-with-an-rcon-client]

<div className="fd-steps">
  <div className="fd-step">
    Download an RCON Client [#1-download-an-rcon-client]

    Download a Squad-compatible RCON client such as:

    * [SquadRCON](https://github.com/bravesentry/SquadRCON)
    * [BattleMetrics](https://www.battlemetrics.com/) (web-based)
  </div>

  <div className="fd-step">
    Connect to Your Server [#2-connect-to-your-server]

    Enter your server's IP, RCON port, and RCON password in the client.
  </div>
</div>

Common RCON Commands [#common-rcon-commands]

| Command                                  | Description                      |
| ---------------------------------------- | -------------------------------- |
| `AdminBroadcast [message]`               | Send a message to all players    |
| `AdminChangeMap [layer]`                 | Change to a specific map layer   |
| `AdminSetNextMap [layer]`                | Set the next map in rotation     |
| `AdminRestartMatch`                      | Restart the current match        |
| `AdminEndMatch`                          | End the current match            |
| `AdminKick [name] [reason]`              | Kick a player                    |
| `AdminBan [steamid] [duration] [reason]` | Ban a player                     |
| `AdminSlomo [speed]`                     | Change game speed (1.0 = normal) |
| `ListPlayers`                            | List all connected players       |
| `ListSquads`                             | List all squads                  |
| `ShowCurrentMap`                         | Show current map and layer       |
| `ShowNextMap`                            | Show next map in rotation        |

> ⚠️ **Warning:** Keep your RCON password secure and do not share it with untrusted players. RCON provides full server control.

> 📝 **Note:** You can also use the panel **Console** to send commands directly to the server without an external RCON client.
