# splt5k/docker-lc architecture

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

- Interactive diagram: https://gitdiagram.com/splt5k/docker-lc
- Repository: https://github.com/splt5k/docker-lc

## Overview

This repository packages a LastChaos game-server environment. The documented user workflow begins with a client supplying login credentials; LoginServer authenticates them and creates an account automatically if it does not exist. The deployment also includes the main game server and supporting connection, guild, messaging, and cash services, plus a MySQL/MariaDB database. The README describes isolated Docker networking and automatic recovery, but no source excerpts or service-specific wiring are available, so the graph omits undocumented service-to-service and database calls.

Main entry points: [`Server/ServerRun/LoginServer`](https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/LoginServer) (LoginServer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Player access"]
  node_login["LoginServer"]
end

subgraph group_runtime["Game services"]
  node_connector["Connector"]
  node_game["GameServer"]
  node_helper["Helper"]
  node_messenger["Messenger"]
  node_cash["CashServer"]
end

subgraph group_storage["Persistence"]
  node_database[("MySQL/MariaDB")]
end

node_client(("LastChaos client"))

node_client -->|"submits credentials"| node_login

click node_login "https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/LoginServer"
click node_connector "https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/Connector"
click node_game "https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/GameServer"
click node_helper "https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/Helper"
click node_messenger "https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/Messenger"
click node_cash "https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/CashServer"
click node_database "https://github.com/splt5k/docker-lc/tree/main/Server/DB"

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_login,node_client toneBlue
class node_connector,node_game,node_helper,node_messenger,node_cash toneAmber
class node_database toneMint
```

## Components

### Player access

- [LoginServer](https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/LoginServer): `Server/ServerRun/LoginServer`

### Game services

- [Connector](https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/Connector): `Server/ServerRun/Connector`
- [GameServer](https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/GameServer): `Server/ServerRun/GameServer`
- [Helper](https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/Helper): `Server/ServerRun/Helper`
- [Messenger](https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/Messenger): `Server/ServerRun/Messenger`
- [CashServer](https://github.com/splt5k/docker-lc/tree/main/Server/ServerRun/CashServer): `Server/ServerRun/CashServer`

### Persistence

- [MySQL/MariaDB](https://github.com/splt5k/docker-lc/tree/main/Server/DB): `Server/DB`

### Other components

- **LastChaos client**

## Connections

- LastChaos client → LoginServer: submits credentials
