- Updated README.md files for extension, garage, locker, main, organization, phone, store, and task addons to provide clearer overviews, dependencies, main components, and usage notes. - Improved task module documentation to clarify timer semantics and server task flows, ensuring accurate usage of time limits. - Adjusted default values for task time limits and IED timers to enforce positive countdown requirements. - Added new CAD addon for dispatch coordination, including its overview, dependencies, main components, and event handling.
24 lines
888 B
Markdown
24 lines
888 B
Markdown
# Forge Server Common
|
|
|
|
## Overview
|
|
The common addon provides shared SQF utilities used by server-side Forge
|
|
addons. It contains lightweight helpers only; gameplay domain state belongs in
|
|
the specific domain addons or the Rust extension.
|
|
|
|
## Dependencies
|
|
- `forge_server_main`
|
|
|
|
## Main Components
|
|
- `fnc_baseStore.sqf` provides shared hash-map object behavior such as JSON
|
|
conversion.
|
|
- `fnc_log.sqf` standardizes server log messages.
|
|
- `fnc_getPlayer.sqf` resolves online players by UID.
|
|
- `fnc_formatNumber.sqf` formats numeric values for notifications and UI text.
|
|
- `fnc_generateHash.sqf` and `fnc_generateSecureData.sqf` provide hashing and
|
|
random data helpers.
|
|
- `fnc_timeToSeconds.sqf` converts time values into seconds.
|
|
|
|
## Notes
|
|
Keep this addon free of domain-specific behavior. If a helper needs actor,
|
|
bank, org, task, store, or CAD state, it belongs in that addon instead.
|