# RCON

{% hint style="warning" %} <mark style="color:red;">**configs/plugins/DU\_Rcon/DU\_Rcon.json**</mark>
{% endhint %}

{% hint style="info" %}
Send commands from your Discord server to your CS2 server using the Rcon Slash Command.
{% endhint %}

<div align="left"><figure><img src="/files/X37iURLEHYvtt4s0QCmH" alt="" width="364"><figcaption></figcaption></figure></div>

<table><thead><tr><th width="351">Property</th><th>Description</th></tr></thead><tbody><tr><td><strong>Servers List</strong></td><td><p>List the names of all your CS2 servers (if you use multiple servers) </p><p>This is so that when the RCON command is used, the command is sent to the correct server.</p></td></tr><tr><td><strong>Server</strong></td><td>The current server from your <code>Server List</code>, so for example set this server to Public and your other server to Only Mirage.</td></tr><tr><td><strong>Admin Roles ID</strong></td><td>List of roles that can use discord rcon slash command (separate with a comma)</td></tr><tr><td><strong>Discord Rcon Command</strong></td><td>What Slash Command will be created on your discord server</td></tr><tr><td><strong>Discord Rcon Command Description</strong></td><td>Description of the Slash command</td></tr><tr><td><strong>Discord Server Option Name</strong></td><td>The name of the value, to select the server</td></tr><tr><td><strong>Discord Server Option Description</strong></td><td>Description of the select the server option</td></tr><tr><td><strong>Discord Command Option Name</strong></td><td>The name of the value, to write the command</td></tr><tr><td><strong>Discord Command Option Description</strong></td><td>Description of the command name value</td></tr></tbody></table>

{% hint style="success" %}
**To edit the embed, follow the instructions:** [**Custom Embeds Format**](/discord-utilities/tutorials/custom-embeds-format.md)<br>

> Available Variables

**•** <mark style="color:blue;">{COMMAND}</mark> > Displays the executed command\
\&#xNAN;**•** <mark style="color:blue;">{SERVER}</mark> > Display to which server the command was sent
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sourcefactory.eu/discord-utilities/modules/rcon.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
