Install ServerStats on FiveM and RedM (Qbox, QBCore, ESX, VORP/RSG)

Install the ServerStats resource on a FiveM or RedM server: server.cfg lines, claim code, convars, framework detection for Qbox, QBCore, ESX, VORP and RSG.

SetupBy the ServerStats teamUpdated 7 min read

Questions

Which frameworks does the ServerStats resource support?

On FiveM: Qbox, QBCore and ESX Legacy, plus ox_inventory, txAdmin and baseevents. On RedM: VORP and RSG. It also runs on standalone servers; you just get fewer framework metrics. Frameworks are detected automatically.

Do players need to download anything?

No. The resource is server-side only. It has no client script and sends nothing to players' games.

Why must the claim convar use set and not sets or setr?

sets publishes the value to the server list and setr replicates it to every client. set keeps it on the server. The code is single use anyway, but there's no reason to publish it.

Can I delete the claim line after the server is connected?

Yes. Once the server shows up in the dashboard, remove the serverstats_claim line. The agent never sends a used code again.

Can my FiveM or RedM resource send its own events?

Yes. Call exports.serverstats:track from a server resource. Version 1.2.2 records the calling resource name with the event, so Custom tracking can filter a chart by resource.

Add your FiveM or RedM server

Free for one server, no card. About five minutes to install.