Forge Server Extension

# Forge Server API Reference

The Forge server extension exposes domain-oriented commands through callExtension. Persistent data is stored through the configured SurrealDB connection and schema modules.

# Forge Server API Reference

The Forge server extension exposes domain-oriented commands through `callExtension`. Persistent data is stored through the configured SurrealDB connection and schema modules.

## Core Commands

    "forge_server" callExtension ["version", []];
    "forge_server" callExtension ["status", []];
    "forge_server" callExtension ["surreal:status", []];

`status` and `surreal:status` return `initializing`, `connected`, or `failed`.

## Domain Commands

Game systems should call the domain APIs instead of raw database operations:

- `actor:*`
- `bank:*`
- `garage:*`
- `locker:*`
- `org:*`
- `phone:*`
- `store:*`
- `task:*`
- `cad:*`
- `owned:garage:*`
- `owned:locker:*`
- `transport:*`

Large request and response payloads are routed through the transport layer when needed by `forge_server_addons_extension_fnc_extCall`.

## Module Guides

- Actor
- Bank
- CAD
- Garage
- Locker
- Organization
- Owned Storage
- Phone
- Store
- Task

Edit this page or Report an issue

Forge Server Extension

Forge Server is an arma-rs extension for Arma 3 server-side persistence and domain services. It exposes game-facing commands and stores durable state in SurrealDB.

Forge Server Usage Examples

These examples use the domain command surface exposed by the extension. Persistence is handled by the server through SurrealDB.