Agency Docs
Standalone

Agency-Admin Exports & API

Admin panel for FiveM in the Agency design with a full web panel on your PC.

v1.10.0Paid7 Pages

01Server Exports

ExportDescription
Announce(text: string, sender?: string)Shows the Agency Admin announcement banner to every player, plus a chat line when Config.Announcements allows it.

02Events

NameSideDescription
agency-admin:client:refreshStaffRanksClientTriggers the client to re-pull staff ranks data.
agency-admin:client:freezeTimeClientFreezes / unfreezes the world time on the client at the given hour/minute.
agency-admin:client:dashboardValueClientPushes a single dashboard card value (e.g. live counter) to the panel UI.
agency-admin:client:teleportToCoordsClientTeleports the caller to the supplied world coordinates.
agency-admin:client:announceClientDisplays a server-wide announcement banner from the named sender.
agency-admin:client:notifyClientServer-driven notification with title, body, type and duration.
agency-admin:client:freezeClientFreezes or unfreezes the local player ped.
agency-admin:client:healClientFully heals the local player ped.
agency-admin:client:reviveClientRevives the local player ped.
agency-admin:client:teleportClientTeleports the local player to the supplied coords vector.
agency-admin:client:openMenuClientServer-driven trigger to open the main admin panel UI.
agency-admin:client:openToolsMenuClientServer-driven trigger to open the admin tools sub-menu.
agency-admin:client:closeMenuClientServer-driven trigger to close the admin panel UI.
agency-admin:client:openClothingMenuClientServer-driven trigger to open the in-game clothing menu for the player.
agency-admin:server:requestPlayersServerRequests the current online players list for the admin panel.
agency-admin:server:requestPanelPermissionsServerRequests the panel permission table for the rank editor.
agency-admin:server:requestStaffRanksServerRequests the staff ranks dataset for the panel.
agency-admin:server:createRankServerCreates a new staff rank with metadata and permissions.
agency-admin:server:requestMyPermissionsServerCaller requests their own resolved panel permission set.
agency-admin:server:requestSyncServerCaller asks the server to push the standard sync payload (duty/perms/etc.).
agency-admin:server:requestDutyRankServerCaller requests their current admin-duty rank info.
agency-admin:server:requestSpawnedObjectsServerCaller requests the list of admin-spawned world objects.

Still stuck after this page? Our support team takes it from here.