FiveDash Agent
Install the agent on the server's machine to start, stop, restart and watch FXServer from the panel, without txAdmin and without opening ports.
Install the agent on the server's machine to start, stop, restart and watch FXServer from the panel, without txAdmin and without opening ports.
The FiveDash Agent is a Windows service that lives on the FiveM server’s machine. It starts FXServer, reads the console, restarts the city if it crashes or hangs, downloads artifacts from Cfx.re and edits server.cfg, all at the panel’s request. It’s what makes the Console, Resources and Deploy pages of the Server module work.
server.cfg is (for example, C:\FXServer\server-data).If the city is open through server.bat or txAdmin, close it first. After installing, the agent is what starts FXServer.
On the server’s machine, right-click Windows PowerShell and choose Run as administrator.
In Server → Agent, type the full path of the folder that has server.cfg.
Click Generate command, copy the line and paste it into PowerShell. The command downloads the agent from FiveDash, checks the file, installs the FiveDash Agent service and connects it to this server.
The page goes from Waiting for the agent to connect… to Connected by itself. Open Server → Console and click Start.
The command works once and for 30 minutes. Don’t send it to anyone: whoever runs it connects a machine to this server on FiveDash. If it expires, click Generate another command.
If the server folder already has FXServer (for example in artifacts\FXServer.exe, as in the usual server.bat), the agent uses that one until you pick an artifact in Server → Resources → Artifacts.
| What | How |
|---|---|
| Start, stop and restart | When asked on the Console, and at the times in Resources → Restarts |
| Come back after a crash or hang | Starts it again by itself, waiting a bit longer each try. It also restarts the server when it stops answering |
| Start with the machine | If the server was running when the machine shut down, it starts it again |
| Artifacts | Downloads straight from Cfx.re and goes back to the previous one if the new one crashes 3 times in 10 minutes. See Artifacts and configuration |
| server.cfg | Reads and writes the .cfg files in the server folder, keeping a copy of the previous one |
| Update itself | When a new version comes out, it downloads it, checks it and switches while the server is stopped or restarting |
sv_licenseKey, steam_webApiKey, mysql_connection_string, passwords and keys show as ******** on the panel and never leave the machine.NT SERVICE\FiveDashAgent, with access only to the server folder and the agent’s folder, not as an administrator.| To | Do |
|---|---|
| Install on another machine | Install on another machine generates a new command. Once the new agent connects, the old one stops working |
| Disconnect from FiveDash | Remove agent. It stops taking commands right away and FXServer stays as it is |
| Take the service off the machine | Run the same install command with -Uninstall at the end. The agent’s folder in C:\ProgramData\FiveDash\Agent is deleted only if you confirm |
Server → Agent → History shows what was asked of the agent lately: who started, stopped, restarted, switched artifacts or saved a .cfg, and whether it worked.
Check that the machine is on and that the FiveDash Agent service is running (in Windows Services, or Get-Service FiveDashAgent in PowerShell). The agent reconnects by itself when the internet comes back.
Not at the same time. Two programs starting the same server fight over the port. Once the agent is installed, close txAdmin and use FiveDash’s Console.
No. The fivedash resource still handles what happens inside the game (whitelist, store, logs). The agent handles the server program. See Install the resource.