FiveM Server Status Module
Polls a FiveM server over HTTP and keeps a live Components V2 status message in Discord with player count, map, hostname, and latency.
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 / IP and Port (default 30120).
- 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 / IP — shown in the panel and used for HTTP polling.
- Port — FiveM HTTP port (default 30120).
- 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 server to the game host.
- 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.