# ozneeee/ozne_fjob architecture

> Architecture diagram of the GitHub repository ozneeee/ozne_fjob, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ozneeee/ozne_fjob
- Repository: https://github.com/ozneeee/ozne_fjob

## Overview

Ozne_fjob is a small ESX-compatible FiveM job resource. The documented setup workflow is to import its SQL data and start the resource; the README also identifies ESX as a dependency. The tree shows client, server, configuration, and locale modules, but no source excerpts were available to establish their runtime call paths, so those connections are omitted.

Main entry points: [`Ozne_fjob`](https://github.com/ozneeee/ozne_fjob/tree/main/Ozne_fjob) (Job resource), [`Ozne_fjob/ferailleur.sql`](https://github.com/ozneeee/ozne_fjob/blob/main/Ozne_fjob/ferailleur.sql) (Job SQL data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Job runtime"]
  node_resource["Job resource"]
  node_client["Client logic<br/>[main.lua]"]
  node_server["Server logic<br/>[main.lua]"]
end

subgraph group_support["Resource support"]
  node_config["Job configuration<br/>[config.lua]"]
  node_locale["French locale<br/>[fr.lua]"]
  node_sql["Job SQL data<br/>[ferailleur.sql]"]
end

node_admin(("Server operator"))
node_esx["ESX framework"]
node_database[("SQL database")]

node_admin -->|"starts"| node_resource
node_resource -->|"works with"| node_esx
node_admin -->|"imports"| node_sql
node_sql -->|"loads into"| node_database

click node_resource "https://github.com/ozneeee/ozne_fjob/tree/main/Ozne_fjob"
click node_client "https://github.com/ozneeee/ozne_fjob/blob/main/Ozne_fjob/client/main.lua"
click node_server "https://github.com/ozneeee/ozne_fjob/blob/main/Ozne_fjob/server/main.lua"
click node_config "https://github.com/ozneeee/ozne_fjob/blob/main/Ozne_fjob/config.lua"
click node_locale "https://github.com/ozneeee/ozne_fjob/blob/main/Ozne_fjob/locales/fr.lua"
click node_sql "https://github.com/ozneeee/ozne_fjob/blob/main/Ozne_fjob/ferailleur.sql"

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_resource,node_client,node_server toneBlue
class node_config,node_locale,node_sql,node_database toneAmber
class node_admin toneMint
class node_esx toneIndigo
```

## Components

### Job runtime

- [Job resource](https://github.com/ozneeee/ozne_fjob/tree/main/Ozne_fjob): `Ozne_fjob`
- [Client logic](https://github.com/ozneeee/ozne_fjob/blob/main/Ozne_fjob/client/main.lua): `Ozne_fjob/client/main.lua`
- [Server logic](https://github.com/ozneeee/ozne_fjob/blob/main/Ozne_fjob/server/main.lua): `Ozne_fjob/server/main.lua`

### Resource support

- [Job configuration](https://github.com/ozneeee/ozne_fjob/blob/main/Ozne_fjob/config.lua): `Ozne_fjob/config.lua`
- [French locale](https://github.com/ozneeee/ozne_fjob/blob/main/Ozne_fjob/locales/fr.lua): `Ozne_fjob/locales/fr.lua`
- [Job SQL data](https://github.com/ozneeee/ozne_fjob/blob/main/Ozne_fjob/ferailleur.sql): `Ozne_fjob/ferailleur.sql`

### Other components

- **Server operator**
- **ESX framework**
- **SQL database**

## Connections

- Server operator → Job resource: starts (evidence: `README.md`)
- Job resource → ESX framework: works with (evidence: `README.md`)
- Server operator → Job SQL data: imports (evidence: `README.md`)
- Job SQL data → SQL database: loads into (evidence: `README.md`)
