GitHub pipes every external image through camo, which strips it out of its original context. A webfont reference would silently fall back, a script would never run, a CSS variable would resolve to nothing. So the SVG carries no references at all, and every piece of text has its width measured on our server and written into the file as a textLength. Same pixels in a README, a Jira ticket and a PDF.
FREE TOOL · SERVER
FiveM server status badge generator
A badge is the cheapest piece of proof a server has. It sits at the top of a README or a store page and says, without anybody having to click anything, that there are twenty-seven people on right now. Build one here, copy the Markdown, done — and the image you paste is the live endpoint, not a screenshot of it.
A cfx.re join code is the better choice: it keeps working when your IP changes.
Leave it empty for a badge with no label at all.
34/100, amber when the server is full
The same three shapes shields.io draws, so it sits level with your other badges.
Paste this straight into README.md. GitHub refetches it through its own image proxy, which is why the badge carries no fonts and no scripts.
[](https://cfx.re/join/y4lg95)Set a height if your stylesheet stretches images; the SVG itself is 20 pixels tall.
<a href="https://cfx.re/join/y4lg95"><img src="https://fam-tools.com/api/server-status-badge?q=y4lg95" alt="fivem server status"></a>Discord unfurls it as an image. Our route sends a long Cache-Control, so an embed that goes round a big server does not turn into traffic at your game server.
https://fam-tools.com/api/server-status-badge?q=y4lg95HOW TO USE IT
From the box to your README
Four steps, and the only one that takes any thought is the first.
- Put your join code in. y4lg95 rather than an IP, so the badge keeps working the day you move host. An IP and port works too if the server is unlisted.
- Pick what it says. Player count is the one people actually read. Online-or-offline is the plainest. Server name, map and game build are there for a docs page where the badge is labelling something rather than bragging.
- Match your other badges. If the README already has shields.io badges, pick the same style — flat is shields' default, so that is ours too.
- Copy the Markdown and paste it under your title. Leave the link checkbox on and the badge becomes a join link, which is the whole point of putting it where people can see it.
The endpoint is /api/server-status-badge and it takes four parameters. Nothing is signed and nothing needs an account.
- q
- Required. A join code, an ip:port, a hostname, or a whole cfx.re/join/… link.
- label
- The grey left-hand half. Defaults to fivem. Pass it empty for a badge with no label.
- show
- players (default), status, name, map or build.
- style
- flat (default), flat-square or plastic.
WHY IT LOOKS LIKE THIS
Built for the proxy, not for our own page
A badge that only renders on the site that generated it is a demo. These are the constraints that make it render everywhere.
A bad address, a rate-limited request, a dead upstream — every one of those still answers 200 with a grey "unknown" badge. The alternative is a 404 or a 500, which caches as a broken image and keeps looking broken long after the problem is fixed.
We hold each server's answer for ninety seconds and serve the badge with a several-minute Cache-Control. Fresh checks are also rate limited per visitor. The number you see is a couple of minutes old at worst, and your game server never notices the README exists.
Addresses are resolved before anything is fetched, and private, loopback, link-local, carrier-NAT and reserved ranges are refused outright, as is any port below 1024. A public endpoint that fetches whatever a stranger types is a request-forgery hole, and this one is closed.
QUESTIONS
About the status badge
Will the badge work in a GitHub README?
How fresh is the number on the badge?
What happens to the badge when my server goes down?
Should I use the join code or the IP?
Can I change the colours or the label?
MORE
The rest of the server tools
The full version of the same check: player list, game build, resources and every raw field your server publishes.
Cfx blacklist checkWhether anything public suggests your server is banned or blocked, and an honest account of what that proves.
All the free toolsEverything else we keep online for free, from reference tables to calculators.