- Add missing forge_server_actor runtime dependency to phone module (critical) - Clarify that garage and locker are event bus listeners, not emitters - Document economy runtime-only dependencies (bank, org) - Add TaskStore public API documentation (27 methods organized by category) - Update task module event emissions and hooks documentation All documentation now aligns with actual implementation verified against codebase.
1.6 KiB
1.6 KiB
Forge Server Organization
Overview
The organization addon is the server-side bridge for player organizations, membership, treasury funds, reputation, credit lines, shared assets, fleet entries, and invitations.
Organization hot state is owned by the extension. SQF coordinates Arma-facing events, UI payloads, membership syncs, and integration with actor, bank, store, and task flows.
Dependencies
forge_server_mainforge_server_commonforge_server_extensionat runtime for organization extension callsforge_server_actorat runtime for organization membership lookupsforge_client_organdforge_client_notificationsfor response RPCs
Main Components
fnc_initOrgStore.sqfinitializesOrgModelandOrgStore.fnc_initPayloadBuilder.sqfbuilds portal, organization, member, asset, and fleet payloads.
Supported Operations
- initialize and hydrate organization portal data
- register, leave, and disband organizations
- invite, accept, and decline members
- assign and repay credit lines
- update funds and reputation
- grant assets and fleet vehicles
- save organization hot state
Runtime Notes
The addon ensures the default organization exists during store creation.
Task rewards and store checkout both rely on OrgStore for authoritative
organization-owned state.
Organization syncs and notifications route through the event bus:
org.sync.requested- client-facing organization patch and member updatesnotification.requested- alerts about funds, reputation, and membership changes
These events are emitted and listened to by the notifications addon.