FXServer Integration
FXServer Integration
Learn how to connect and synchronize FXServer resources with fxManager.
When using the provided fxManager resource, it will expose a variety of exports that allow you to interact with the fxManager API. We also support txAdmin events automatically. If your current scripts use txAdmin, they will work with fxManager right away, no code changes required.
Supported Target Shapes:
number: Implicitly treated as an activeserverId.{ serverId: number }: Explicit inline server slot ID.{ playerId: number }: Centralized panel dashboard Database ID.{ identifiers: { license: string } }: Direct lookup using Rockstar license hashes.
Response Architecture
All data-fetching exports return a unified Result Wrapper Object. This design patterns allows you to cleanly check the success state of an internal API or database call before processing payloads.
type Result<T> =
| { ok: true; data: T }
| { ok: false; error: string };