Agency Docs
Standalone

Agency-Admin Web Panel

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

v1.7.0Paid6 Pages

1 The web panel in Agency Companion

Agency-Admin has a full admin panel for your PC: companion.agencyg.de/app/admin. It runs inside Agency Companion in your browser and reaches your server through the encrypted Agency relay, like the phone app. There is no port to open and nothing is hosted on your game server.

PageWhat you can do
DashboardPlayers online, tick time, uptime, resources, money in the city, recent actions
PlayersEvery admin action from the game panel, messages and warnings, live view of a player's screen
Live consoleThe full server console, and commands run as the server console
ResourcesStart, stop and restart any resource, rescan the resource list
ConfigsThe config files of every resource on your server, edited as settings or as code
FilesFile manager with editor for the server folder
Bans, action log, team & ranks, server controlOffline bans, the history of every admin action, restart or stop the server with a countdown

The web panel is made for a PC. On a phone or tablet use the Agency Companion app, it has the admin module built in.

2 Connect

In game, open the admin menu, go to Web Panel and click Open in browser, or type /webpanel. The browser opens the panel and signs you in right away.

On another PC, open companion.agencyg.de/app/admin and type the 6-digit code from the Web Panel page. A code is valid for 5 minutes.

You can connect as many servers as you manage and switch between them in the panel. Every connection is a paired device, you can log it out in game under Settings > Companion.

3 Permissions and security

The browser holds a device token like the app. Every click is checked live on your server against the admin's rank and permissions, with the same rate limit and action log as in game.

PermissionUnlocksInherited
companion_consoleLive console and resourcesyes
server_powerRestart and stop the serverno, only the top rank and ranks you tick
web_filesFiles and Configsno, only the top rank and ranks you tick

The console, rescanning resources and the server restart run as console commands. They need one line in server.cfg:

add_ace resource.Agency-Admin command allow

4 Configs of every resource

The Configs page lists the config files of every resource on your server, from any author, found on their own: config.lua, shared/config.lua, config/*.lua, settings.lua, config.json and every config file a resource's fxmanifest.lua names. No resource has to register anything.

ViewWhat it shows
SettingsEvery simple value (true or false, numbers, texts) as a switch or field, with the comment from the file next to it, grouped by section. Editing a value changes only that one line, formatting and comments stay.
CodeThe whole file with syntax colours.

Saving checks the syntax on the server first, so a broken config.lua is never written. The old version is kept before every save (the last 15 per file, in Agency-Admin/config_backups). Save and restart restarts the resource right away, Earlier versions brings an old version back.

Configs encrypted with FiveM Escrow are shown with a lock and cannot be edited.

5 Newer FXServer builds: one line per resource

FXServer builds from about 25770 on sandbox the file system: a resource may only write into another resource when server.cfg allows it before the server starts. A running server ignores these lines. Add one line for every resource whose config you want to save from the panel, then restart the server once:

add_filesystem_permission Agency-Admin write qb-core
add_filesystem_permission Agency-Admin write Agency-Housing

When a line is missing, the panel says so when you save and shows the exact lines to copy, for that resource or for all resources with a config at once. In txAdmin you paste them in the CFG Editor.

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