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

# Unturned RCON

> A step by step setup guide to send commands to your Unturned server over RCON from your site.

## 1) Prerequisites

* A working **Unturned Dedicated Server**.
* **RCON** enabled with a defined password.

## 2) Configure RCON on the Unturned server

1. Open or create the following file:\
   `Servers/<ServerName>/Server/Commands.dat`
2. Add or update these RCON settings:

```
RCON Enabled true
RCON Port 27015
RCON Password YOUR_PASSWORD
```

* `RCON Password`: Must match the **RCON Password** you enter in the panel.
* `RCON Port`: Usually the same as the game port (most often **27015**). If you use a different port, enter that same value in the panel.

3. Restart the server so the settings take effect.
4. On the firewall or cloud firewall, open the corresponding port (for example **27015**) and allow the **panel server IP**.

<Tip>
  Ensure the RCON port you use is **publicly accessible** and allowed in your hosting provider’s firewall settings.
</Tip>

## 3) Create a server record in the panel

1. Go to the **Servers** page.
2. Click **Add Server**.
3. Fill in the fields:
   * **Plugin**: `RCON`
   * **Server IP Address**: The server IP or an accessible domain
   * **RCON Port**: From `Commands.dat` → `RCON Port` (for example **27015**)
   * **RCON Password**: From `Commands.dat` → `RCON Password`
4. Click **Check Plugin Connection**.
5. If successful, click **Publish** to save.

<Warning>
  The **RCON Password** in the panel must exactly match the `RCON Password` in `Commands.dat`.
</Warning>

## 4) Troubleshooting

* **Connection failed or timed out**
  * Are IP and port correct? Did you allow the port in OS and provider firewalls?
  * Can the server be reached (ping, tracert)?
* **Unauthorized or wrong password**
  * Do `RCON Password` and the panel **RCON Password** match?
  * After too many failed attempts, a temporary block may occur. Wait briefly, then try again.
* **Settings not applying**
  * Is `Commands.dat` in the correct directory?
  * Did you restart the server after editing?

## 5) Security tips

* Use a strong, long, and **unique** `RCON Password`.
* Open the port only to the **panel IP**.
* Log failed attempts and rotate the password regularly.
* Serve your panel over **HTTPS**.

## 6) FAQ

**What is the default RCON port?**\
Usually **27015**. If you defined a different port, enter the same value in the panel.

**Can I use a domain instead of an IP?**\
Yes. You can use any domain the panel can access.

**Can I add more than one Unturned server?**\
Yes. Create a separate record for each server and enter the correct IP, port, and password.

**How should I write commands?**\
Do not use a leading slash in the panel. For example `say Hello`, `save`, `kick SteamID`, `ban SteamID 60 cheating`.
