# james-the-coding-gamer/rsg_removeanyped architecture

> Architecture diagram of the GitHub repository james-the-coding-gamer/rsg_removeanyped, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/james-the-coding-gamer/rsg_removeanyped
- Repository: https://github.com/james-the-coding-gamer/rsg_removeanyped

## Overview

Remove Any Peds is a small FiveM resource that removes configured ped types within configured coordinate radii while preserving dead peds by default, with configurable dead-ped exemptions and an optional radius visualization. The workflow is configuration to in-game cleanup; the README documents the behavior, but no source excerpts were provided, so internal calls and runtime details cannot be verified.

Main entry points: [`config.lua`](https://github.com/james-the-coding-gamer/rsg_removeanyped/blob/main/config.lua) (Cleanup settings), [`client.lua`](https://github.com/james-the-coding-gamer/rsg_removeanyped/blob/main/client.lua) (Ped cleanup)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_operator(("Server operator"))
node_settings["Cleanup settings<br/>[config.lua]"]
node_cleanup["Ped cleanup<br/>[client.lua]"]
node_gameworld["Game peds"]

node_operator -->|"configures"| node_settings
node_settings -->|"controls"| node_cleanup
node_cleanup -->|"removes matching peds"| node_gameworld

click node_settings "https://github.com/james-the-coding-gamer/rsg_removeanyped/blob/main/config.lua"
click node_cleanup "https://github.com/james-the-coding-gamer/rsg_removeanyped/blob/main/client.lua"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_operator toneMint
class node_settings,node_cleanup toneTeal
class node_gameworld toneIndigo
```

## Components

### Other components

- **Server operator**
- [Cleanup settings](https://github.com/james-the-coding-gamer/rsg_removeanyped/blob/main/config.lua): `config.lua`
- [Ped cleanup](https://github.com/james-the-coding-gamer/rsg_removeanyped/blob/main/client.lua): `client.lua`
- **Game peds**

## Connections

- Server operator → Cleanup settings: configures (evidence: `README.md`)
- Cleanup settings → Ped cleanup: controls (evidence: `README.md`)
- Ped cleanup → Game peds: removes matching peds (evidence: `README.md`)
