> For the complete documentation index, see [llms.txt](https://docs.rainmad.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rainmad.com/resources/server-crash-finder-and-anti-dupe.md).

# Server Crash Finder & Anti-Dupe

* [Server Crash Finder & Anti-Dupe](broken://pages/461381ff6ac8815c7f98bd541a6769c365e5695d)
  * [Installation](/resources/server-crash-finder-and-anti-dupe/getting-started/installation.md)
  * [The panel](/resources/server-crash-finder-and-anti-dupe/getting-started/panel.md)
  * [Crash Finder](/resources/server-crash-finder-and-anti-dupe/features/crash-finder.md)
  * [Map Doctor](/resources/server-crash-finder-and-anti-dupe/features/map-doctor.md)
  * [Economy](/resources/server-crash-finder-and-anti-dupe/features/economy.md)
  * [Anti-Dupe](/resources/server-crash-finder-and-anti-dupe/features/anti-dupe.md)
  * [Framework hooks](/resources/server-crash-finder-and-anti-dupe/features/hooks.md)
  * [cfg.lua](/resources/server-crash-finder-and-anti-dupe/configuration.md)
  * [FAQ](/resources/server-crash-finder-and-anti-dupe/faq.md)

<figure><img src="https://content.gitbook.com/content/a5Ce4DSFKExllozwopRT/blobs/A121QQzQsuuagcbSdhVt/.gitbook%2Fassets%2Frm_guard-logo.png" alt="Server Crash Finder &#x26; Anti-Dupe logo" width="180"><figcaption></figcaption></figure>

{% hint style="warning" %}
**Support**

If something does not work after the installation steps, read [FAQ](/resources/server-crash-finder-and-anti-dupe/faq.md) first, then open a ticket in our [Discord](https://discord.gg/rainmad) with your server console output.
{% endhint %}

Server Crash Finder & Anti-Dupe (resource name `rm_guard`) answers the questions every server owner ends up asking:

1. **Why do my players crash, and what causes it?** Every crash is grouped by what crashed, put on the map, and compared with normal play to find the model, interior, vehicle, area or resource that crashes keep happening around.
2. **Is something wrong with my map files?** Two resources streaming the same file, two interiors on the same spot, a map installed twice: the Map Doctor reads every map file you stream and lists the clashes, with the crashes near each one.
3. **Where does the money come from, and is my economy inflating?** Every money and item change is logged with the resource that made it. You see which job pays what per hour played, the money supply against your active players, and how fast new characters get rich.
4. **Is somebody duping?** The server's books are checked: money no script paid out, items that appear from nowhere, the same weapon serial in two places, money pooled from many characters into one. You get an alert and freeze the character with one click.

FiveM and RedM in one resource. Qbox, QBCore, ESX, VORP and RSG for the economy part; the crash finder and the map doctor need no framework at all.

## Features

* **Crash Finder:** crash groups with what usually causes them (a graphics driver, a client script, the game itself), a crash map, the files named in the crash text traced to the resource that streams them, a ranked list of suspects, and the crash rate before and after every resource update.
* **Map Doctor:** file name clashes (with or without identical contents), models and interiors defined by two resources, interiors on top of each other or on a game interior, objects placed twice, maps over the same area.
* **Economy:** money made, removed and moved per day; every money source per hour played; payouts that grow with the number of players online; money supply and money per active player; net worth by time played; the richest characters; owned vehicles; day 1 and day 7 return of new players; items made per resource.
* **Anti-Dupe:** money changed with no logged reason, money changed while offline, payouts far over a job's usual, new money sources, money pooled into one character, large transfers to brand new characters, copied weapon serials, items growing faster than they are made.
* **Response:** alerts in the panel and on Discord, one click freeze (every gain is reversed while frozen), snapshots of every character, restore a snapshot, take back an amount, take back every duped item of a wave, download a character's evidence as CSV.
* **A web panel** on your own server port, and the same panel in game (`/guard`).
* **Demo data** to try everything before your server has real data.

## What it does not do

* It does not stop a crash from happening. It tells you what the crashes have in common so you can remove or fix the cause.
* It does not ban anyone on its own. Freezing is reversible, and automatic freezing is off unless you turn it on.
* It cannot see money a script writes straight into the database without the framework, until that character logs in again (then it is caught as changed while offline).
