4.5 KiB
Forge Documentation
Forge is split into a shared Arma addon, Arma client addons, Arma server addons, a Rust server extension, shared Rust domain crates, and web UI build tooling. This directory collects framework-level documentation for those pieces.
Arma Addon Layout
Forge now ships three Arma addon packages:
@forge_mod: shared client/server config classes required by Forge missions. It owns shared definitions such as Forge task Eden modules and the custom body bag vehicle config.@forge_client: client-side UX, browser UIs, keybinds, and local player integrations. It depends on@forge_mod.@forge_server: server-only runtime systems, extension bridge code, and authoritative mission/task execution. It depends on@forge_modbut should not be required by clients.
Mission requiredAddons should reference shared mission-facing classes through
forge_mod_* addons, not forge_server_*, so clients can load and edit
missions without installing the server-only mod.
Launch Prerequisites
Before starting a Forge-enabled dedicated server or local multiplayer test, server owners and developers must:
- Start SurrealDB.
- Place
config.tomlbesideforge_server_x64.dll. - Keep the
config.tomlSurrealDB endpoint, namespace, database, username, and password aligned with the running database. - Load
@forge_modwith the server's normal mod list and@forge_serveras a server-only mod.
Mission designers and players do not need to run SurrealDB unless they are
hosting locally, but they do need @forge_mod for Forge mission config classes.
Players also load @forge_client for player-facing UI. See
SurrealDB Setup for the full setup path.
Start Here
- Framework Architecture: how SQF, web UIs, Rust services, repositories, and SurrealDB fit together.
- Module Reference: module inventory for gameplay domains, extension command groups, client addons, server addons, and Rust crates.
- Development Guide: how to add or change a module without breaking the framework boundaries.
- Mission Designer Guide: how to place Eden objects, garage markers, and CAD-compatible task modules for playable missions.
- Custom Mission Generators: how communities and mission developers can create CAD-visible custom generated missions on top of Forge.
- Player Guide: how players use CAD, phone, bank, store, locker, garage, and economy services during missions.
- SurrealDB Setup: where to get SurrealDB or Surrealist and how to connect Forge to it for local or live use.
Server and Extension Usage Guides
- Actor Usage Guide
- Bank Usage Guide
- CAD Usage Guide
- Custom Mission Generators
- Economy Usage Guide
- Garage Usage Guide
- ICOM Usage Guide
- Locker Usage Guide
- Organization Usage Guide
- Owned Storage Usage Guide
- Phone Usage Guide
- Store Usage Guide
- Task Usage Guide
Client Usage Guides
- Client Usage Guide
- Client Main Usage Guide
- Client Common Usage Guide
- Client Actor Usage Guide
- Client Bank Usage Guide
- Client CAD Usage Guide
- Client Garage Usage Guide
- Client Locker Usage Guide
- Client Notifications Usage Guide
- Client Organization Usage Guide
- Client Phone Usage Guide
- Client Store Usage Guide