Documentation
FiveM Server Status Module
Show live FiveM server status in Discord: player count, map, hostname, and latency with an auto-updating Components V2 panel.
Overview
Lio queries your FiveM server on a schedule (info.json + players.json) and edits one status message in Discord.
When online, the panel can show hostname, map, players, optional resource list, latency, and a connect hint.
When offline or unreachable, the panel switches to an offline layout with the server address.
Requires HTTP access from the bot host to your FiveM server (default port 30120).
Setup
- Dashboard → Server → Modules → FiveM Server Status → Enable.
- Set Host: a cfx.re/join link (or join code) from servers.fivem.net, or a public IP:Port (e.g. from F8 → connect).
- Port defaults to 30120 when you use a raw IP without a port.
- Pick a Status channel for the live panel.
- Set Update interval (minutes, 1–30).
- Save: Lio posts the status message when a channel is set.
- Use Resend panel if the message was deleted.
Key settings
- Host: cfx.re join URL/code or public IP. Shown in the panel and used for HTTP polling.
- Port: FiveM HTTP port (default 30120) when using IP:Port.
- Show hostname / map / players / resources / latency / player sample: toggle panel fields.
- Status embed draft: optional CV2 customization with placeholders {status}, {online}, {players}, {maxPlayers}, {hostname}, {map}, {latency}.
Troubleshooting
- Always offline → firewall must allow HTTP from the bot host to the game server; check sv_requestParanoia / blocked probes.
- Join link fails → ensure the listing is public on servers.fivem.net or fall back to public IP:Port.
- Wrong player count → server may not expose players.json; info.json clients field is used as fallback.
- No panel → status channel set? Bot needs Send Messages in that channel.