# unsloth/hfcraft architecture

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

- Interactive diagram: https://gitdiagram.com/unsloth/hfcraft
- Repository: https://github.com/unsloth/hfcraft

## Overview

The repository appears to bundle a Purpur Minecraft server, panel-related files, a world-download script, and plugins. The README provides no product or workflow documentation, and no source excerpts were supplied, so the connections between these parts cannot be verified. The graph shows the identifiable runtime components without assuming how the panel launches the server or how the downloader and plugins are wired.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_panel["Panel"]
  node_panel_html["Panel interface<br/>[panel.html]"]
  node_panel_py["Panel service<br/>[panel.py]"]
  node_ogpanel["OG panel<br/>[OGpanel.py]"]
end

subgraph group_server["Minecraft server"]
  node_purpur["Purpur server<br/>[purpur.jar]"]
  node_server_config["Server settings<br/>[server.properties]"]
  node_ops["Operator list<br/>[ops.json]"]
end

subgraph group_extensions["Worlds and plugins"]
  node_world_download["World downloader<br/>[download_world.py]"]
  node_drive_backup["Drive backup plugin<br/>[DriveBackupV2.jar]"]
  node_connect_plugin["Connect plugin<br/>[connect-spigot.jar]"]
  node_connect_config["Connect settings<br/>[config.yml]"]
  node_connect_token["Connect token<br/>[token.json]"]
end

node_user(("User"))

click node_panel_html "https://github.com/unsloth/hfcraft/blob/main/panel.html"
click node_panel_py "https://github.com/unsloth/hfcraft/blob/main/panel.py"
click node_ogpanel "https://github.com/unsloth/hfcraft/blob/main/OGpanel.py"
click node_purpur "https://github.com/unsloth/hfcraft/blob/main/purpur.jar"
click node_server_config "https://github.com/unsloth/hfcraft/blob/main/server.properties"
click node_ops "https://github.com/unsloth/hfcraft/blob/main/ops.json"
click node_world_download "https://github.com/unsloth/hfcraft/blob/main/download_world.py"
click node_drive_backup "https://github.com/unsloth/hfcraft/blob/main/plugins/DriveBackupV2.jar"
click node_connect_plugin "https://github.com/unsloth/hfcraft/blob/main/plugins/connect-spigot.jar"
click node_connect_config "https://github.com/unsloth/hfcraft/blob/main/plugins/connect/config.yml"
click node_connect_token "https://github.com/unsloth/hfcraft/blob/main/plugins/connect/token.json"

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_panel_html,node_panel_py,node_ogpanel,node_user toneBlue
class node_purpur,node_server_config,node_ops toneAmber
class node_world_download,node_drive_backup,node_connect_plugin,node_connect_config,node_connect_token toneMint
```

## Components

### Panel

- [Panel interface](https://github.com/unsloth/hfcraft/blob/main/panel.html): `panel.html`
- [Panel service](https://github.com/unsloth/hfcraft/blob/main/panel.py): `panel.py`
- [OG panel](https://github.com/unsloth/hfcraft/blob/main/OGpanel.py): `OGpanel.py`

### Minecraft server

- [Purpur server](https://github.com/unsloth/hfcraft/blob/main/purpur.jar): `purpur.jar`
- [Server settings](https://github.com/unsloth/hfcraft/blob/main/server.properties): `server.properties`
- [Operator list](https://github.com/unsloth/hfcraft/blob/main/ops.json): `ops.json`

### Worlds and plugins

- [World downloader](https://github.com/unsloth/hfcraft/blob/main/download_world.py): `download_world.py`
- [Drive backup plugin](https://github.com/unsloth/hfcraft/blob/main/plugins/DriveBackupV2.jar): `plugins/DriveBackupV2.jar`
- [Connect plugin](https://github.com/unsloth/hfcraft/blob/main/plugins/connect-spigot.jar): `plugins/connect-spigot.jar`
- [Connect settings](https://github.com/unsloth/hfcraft/blob/main/plugins/connect/config.yml): `plugins/connect/config.yml`
- [Connect token](https://github.com/unsloth/hfcraft/blob/main/plugins/connect/token.json): `plugins/connect/token.json`

### Other components

- **User**
