Summary
BetterNetworking: a server-authoritative, message-based RPC layer for Arma Reforger with handshakes, routing, middleware, and Workbench dev tools. Reusable mod library.
Description
message-based networking layer for Arma Reforger built on top of Enfusion RPCs (RplRpc). It adds session handshakes, request/response messaging, opcode routing, middleware, permissions, rate limiting, and dev tooling without relying on entity replication for gameplay logic.
What it does
- Establishes a session handshake and queues messages until ready
- Routes messages by opcode (no giant switch statements)
- Validates traffic through middleware (session, replay guard, rate limit, permissions)
- Provides request/response helpers and server-authoritative sender context
- Includes Workbench-only tools: trace, record/replay, loopback tests
Advantages
- Server authoritative: clients are untrusted by default
- Clean handler-based API for modular features
- Built-in safeguards (replay guard, rate limiting, permissions)
- Dev tools for tracing and debugging in Workbench
- No dependency on entity replication for gameplay logic
Disadvantages / Limitations
- Not a gameplay mod by itself; it is a library for other mods
- Payloads are strings (JSON recommended), so you manage serialization
- Mods that also override SCR_PlayerController / SCR_BaseGameMode may conflict
- Dev tools are Workbench-only (no effect in live builds)
What you might use it for
- Economy systems and shop/purchase flows
- UI-driven server requests (admin tools, loadouts, permissions)
- Custom gameplay actions with strict server validation
- Logging, telemetry, or mod interoperability RPCs
- Any mod that needs reliable request/response messaging
Notes
- Add as a dependency in your addon.gproj and compile in the Game module.
- Admin/Moderator permissions are denied by default unless you install a custom provider.
License
Arma Public License Share Alike (APL-SA)