# james-the-coding-gamer/rsg_fireeffect architecture

> Architecture diagram of the GitHub repository james-the-coding-gamer/rsg_fireeffect, 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_fireeffect
- Repository: https://github.com/james-the-coding-gamer/rsg_fireeffect

## Overview

RSG_fireEffect is a standalone RedM resource that displays a fire effect when a player is on fire, with nearby players also seeing it. The README does not describe how client, server, or configuration code cooperate, and no source excerpts were provided, so those relationships are left unspecified; the TxAdmin mention describes an implementation inspiration, not a documented integration.

Main entry points: [`client.lua`](https://github.com/james-the-coding-gamer/rsg_fireeffect/blob/main/client.lua) (Fire effect)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_player(("On-fire player"))
node_fire_effect["Fire effect<br/>[client.lua]"]
node_nearby_players(("Nearby players"))
node_server_logic["Server logic<br/>[server.lua]"]
node_configuration["Configuration<br/>[config.lua]"]

node_player -->|"triggers when on fire"| node_fire_effect
node_fire_effect -->|"visible to"| node_nearby_players

click node_fire_effect "https://github.com/james-the-coding-gamer/rsg_fireeffect/blob/main/client.lua"
click node_server_logic "https://github.com/james-the-coding-gamer/rsg_fireeffect/blob/main/server.lua"
click node_configuration "https://github.com/james-the-coding-gamer/rsg_fireeffect/blob/main/config.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_player,node_nearby_players toneIndigo
class node_fire_effect,node_configuration toneTeal
class node_server_logic toneMint
```

## Components

### Other components

- **On-fire player**
- [Fire effect](https://github.com/james-the-coding-gamer/rsg_fireeffect/blob/main/client.lua): `client.lua`
- **Nearby players**
- [Server logic](https://github.com/james-the-coding-gamer/rsg_fireeffect/blob/main/server.lua): `server.lua`
- [Configuration](https://github.com/james-the-coding-gamer/rsg_fireeffect/blob/main/config.lua): `config.lua`

## Connections

- On-fire player → Fire effect: triggers when on fire (evidence: `README.md`)
- Fire effect → Nearby players: visible to (evidence: `README.md`)
