- Updated fnc_defuseModule, fnc_deliveryModule, fnc_destroyModule, fnc_hostageModule, fnc_hvtModule to enhance parameter retrieval and logging. - Introduced error handling for missing task IDs across modules. - Consolidated task initialization logic into fnc_startTask for better maintainability. - Added fnc_cargoModule as a sync target for cargo entities in delivery tasks. - Improved logging to provide clearer insights into task parameters and synced entities.
Forge
Forge is a framework for Arma 3 persistent game servers. It combines SQF
addons, a Rust arma-rs extension, shared service crates, and web-based client
interfaces for player data, organizations, banking, garages, lockers, phones,
CAD, stores, and task workflows.
Storage
Durable persistence is backed by SurrealDB. The server extension loads schema modules at startup and routes domain repositories through the SurrealDB client.
[surreal]
endpoint = "127.0.0.1:8000"
namespace = "forge"
database = "main"
username = "root"
password = "root"
connect_timeout_ms = 5000
Workspace
arma/
client/ Client-side addons and browser UIs
server/ Server-side addons and extension crate
bin/
icom/ Interprocess communication helper
lib/
models/ Shared domain models
repositories/ Repository traits and in-memory test stores
services/ Domain business logic
shared/ Cross-crate helpers
tools/ Web UI build tooling
Common Commands
cargo test
npm run build:webui
.\build-arma.ps1
Documentation
Extension Status
"forge_server" callExtension ["status", []];
"forge_server" callExtension ["surreal:status", []];
Both commands report the persistence connection state.
Description
Languages
SQF
29.3%
JavaScript
27.8%
Rust
21.1%
cpp
8.7%
Pawn
5.8%
Other
7.1%