# Report (Calladmin)

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

{% hint style="info" %}
Report (Calladmin) is used to report the player to admins. There are several methods that players can use to report.

### Features:

* Admins can handle the reports as solved (Through Discord (Button) or ingame)
* If the player has already been reported and the report has been solved, this player will no longer be able to be reported (On currert map)
* Display a report message to connected admins on the server
* Report/Calladmin command cooldown
* Report Expiration
* Custom Reasons
* Unreportable flags
* Display Player Stats (Required: [player-stats](https://docs.sourcefactory.eu/discord-utilities/modules/player-stats "mention") module)
  {% endhint %}

<div align="left"><figure><img src="https://799349702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrczaiIR8LCIvnID1U1Ty%2Fuploads%2FJzRuCyaq6LCOBSSQXEey%2FReport_DiscordInfo.png?alt=media&#x26;token=c97e0540-6e62-45e9-a07e-9899b95842bc" alt=""><figcaption></figcaption></figure> <figure><img src="https://799349702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrczaiIR8LCIvnID1U1Ty%2Fuploads%2FHjFGCNwv2HHrENfJKr7V%2FReport_ServerInfo.png?alt=media&#x26;token=b24902ec-406c-4c5f-b8fb-5d5c4a2908e0" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://799349702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrczaiIR8LCIvnID1U1Ty%2Fuploads%2FNQ5x9A1dDfNYpq0Qzkpy%2FReport_DiscordSolved.png?alt=media&#x26;token=1a3f57a4-4674-4e9d-bf0f-fc8f46fea8ea" alt="" width="343"><figcaption></figcaption></figure></div>

<table><thead><tr><th width="195">Property</th><th width="542">Description</th></tr></thead><tbody><tr><td><strong>Report Commands</strong></td><td>What commands can players use to perform report</td></tr><tr><td><strong>Reports List Commands</strong></td><td>What commands can admins use to display all reports</td></tr><tr><td><strong>Blocked Words In Reason</strong></td><td>This means that if the blocked word is in a custom reason, the report will not be sent (Separate words by comma)</td></tr><tr><td><strong>Allow Ingame Reports List</strong></td><td>Enable/Disable to display all active reports in the game <mark style="color:green;"><code>true</code></mark> / <mark style="color:red;"><code>false</code></mark> </td></tr><tr><td><strong>Allow Self Report</strong></td><td><mark style="color:green;"><code>true</code></mark> / <mark style="color:red;"><code>false</code></mark> </td></tr><tr><td><strong>Report Expiration</strong></td><td>After how long, the reports are deleted (<mark style="color:blue;"><code>minutes</code></mark>)</td></tr><tr><td><strong>Anti Report Spam</strong></td><td>If a player has been reported and his report has been solved, it will not be possible to report him again on the current map (<mark style="color:green;"><code>true</code></mark> / <mark style="color:red;"><code>false</code></mark> )</td></tr><tr><td><strong>Send Message To Sender On Solved</strong></td><td>If a message will be sent to the player when his report is solved (<mark style="color:green;"><code>true</code></mark> / <mark style="color:red;"><code>false</code></mark> )</td></tr><tr><td><strong>Admin Flag</strong></td><td>Which admins get notified when a player is reported</td></tr><tr><td><strong>Unreportable Flag</strong></td><td>Which flag cannot be reported</td></tr><tr><td><strong>Report Cooldown</strong></td><td>After how long the player can use the report again (<mark style="color:blue;"><code>secs</code></mark>)</td></tr><tr><td><strong>Report Command Method</strong></td><td><mark style="color:green;">What method can players use the command</mark><br><mark style="color:blue;"><code>1</code></mark> - <code>/report</code> > This will open a menu, when player can select target and reason<br><br><mark style="color:blue;"><code>2</code></mark> - <code>/report &#x3C;player> &#x3C;reason></code> > The player must type the name of the target and the reason<br><br><mark style="color:blue;"><code>3</code></mark> - <code>/report &#x3C;reason></code> > The player only has to type the reason without the target name<br><br><mark style="color:blue;"><code>0</code></mark> - Methods 1 and 2 work simultaneously</td></tr><tr><td><strong>Report Reasons</strong></td><td>List of available reasons. If you want to allow a custom reason, add <code>#CUSTOMREASON</code> to the list</td></tr><tr><td><strong>Custom Reason Minimum Length</strong></td><td>Minimum number of characters for custom reason</td></tr><tr><td><strong>Cancel Report Command</strong></td><td>With which command can the player cancel the report for a custom reason</td></tr><tr><td><strong>Channel ID</strong></td><td>The Channel ID where the report will be sent</td></tr></tbody></table>

### Button Section Configuration

<table><thead><tr><th width="242">Property</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enabled</strong></td><td>If this feature will be available <mark style="color:green;"><code>true</code></mark> / <mark style="color:red;"><code>false</code></mark> </td></tr><tr><td><strong>Admin Roles ID</strong></td><td>List of roles that can mark a report as resolved (separate with a comma)</td></tr><tr><td><a href="../tutorials/buttons-settings"><strong>How to setup Buttons</strong></a> 🔗</td><td></td></tr></tbody></table>

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

> Available Variables for <mark style="color:red;">`Report Embed`</mark>

**•** [**Server**](https://docs.sourcefactory.eu/available-variables#server-variables) **and** [**Player**](https://docs.sourcefactory.eu/available-variables#player-variables) (For Target Varibles replace Player with Target, example: {Target.PlayerName})

**•** <mark style="color:blue;">{REASON}</mark> > Displays the reason

> Available Variables for <mark style="color:red;">`Discord Solved Report Embed`</mark>

**•** [**DiscordUser**](https://docs.sourcefactory.eu/available-variables#discord-user-variables)

> Available Variables for <mark style="color:red;">`Ingame Solved Report Embed`</mark>

**•** [**Server**](https://docs.sourcefactory.eu/available-variables#server-variables) **and** [**Player**](https://docs.sourcefactory.eu/available-variables#player-variables)

> Available Variables for <mark style="color:red;">`Expired Report Embed`</mark>

**•** [**Server**](https://docs.sourcefactory.eu/available-variables#server-variables)
{% endhint %}
