Introduction
Without a valid Cfx.re license key, your FiveM server refuses connections. The key is free but limited: 1 server per key. It authenticates your server with Cfx.re master servers and gives access to features like OneSync.
Prerequisites
- A Cfx.re account (free, linked to your FiveM Forum account)
- A FiveM server at VeryCloud
- Access to Startup in Wisp
Step 1: Create a Cfx.re account
Go to https://portal.cfx.re/
Click Sign in → use Discord or create an account. The Cfx.re portal manages licenses, Patreon deals, and bans.
Step 2: Generate a license key
- Signed into the portal, click Server Keys
- Generate New Key
- Fill:
- IP:
0.0.0.0(any IP allowed) or your fixed VeryCloud IP for more security - Server Name: free, for your reference
- IP:
- Click Generate
You get a key like:
cfxk_AbCdEfGhIjKlMnOpQrStUvWxYz_xyz123
Never share it publicly.
Step 3: Recommended: IP-locked or Any-IP
| Option | Pro | Con |
|---|---|---|
| Any-IP (0.0.0.0) | Works anywhere, simple | If the key leaks, usable anywhere |
| IP-locked | More secure | Only works from your server IP. If VeryCloud changes your IP, must regenerate |
For a stable server at VeryCloud, IP-locked is recommended. IP is in Wisp → Network.
Step 4: Configure the key in Wisp
In Wisp → Startup:
- Find the
SV_LICENSEKEYvariable or similar - Paste your
cfxk_...key - Save
Otherwise (if Wisp doesn't expose it), edit /server.cfg directly:
sv_licenseKey cfxk_AbCdEfGhIjKlMnOpQrStUvWxYz_xyz123
Step 5: Restart and verify
Restart from console. Expected logs:
[FXServer] Connecting to keymaster.fivem.net...
[FXServer] License key validated
[FXServer] Server registered as <hostname>
License key invalid or Authentication failed = bad key or revoked.
Step 6: Verify list appearance
Launch FiveM client, server browser, search for your hostname. With a valid key, your server appears in 30 seconds.
If not visible:
- Check
sv_endpointPrivacy falseinserver.cfg(if you want public) - Check
sv_master1 ""is NOT disabled
Step 7: Manage multiple servers
One key = one server. With multiple FiveM servers (prod + staging), generate one key per server.
The Cfx.re portal shows active keys with their IPs. You can: delete unused keys, regenerate if compromised, change associated IP.
Step 8: Link Cfx.re Patreon (optional)
If you're a Cfx.re Patreon (ElementClub Argentum / Aurum), link the boost to a specific server:
- Portal → Server Keys → your key → Element Club
- Select tier
- Your key now gets OneSync Infinity, more slots, queue priority, etc.
💡 Boost follows the key. Server change = transfer the boost (one click in the portal).
Step 9: Regenerate a compromised key
If you suspect leak (Git commit accident, Discord share):
- Portal → your key → Delete or Regenerate
- Update Wisp/server.cfg with the new one
- Restart
The old key is immediately invalidated on Cfx.re side.
Step 10: Cfx.re bans and appeals
If your server is banned by Cfx.re (ToS violation: illegal content, leaks, spam), you get an email with the reason.
- Read the ToS carefully: https://forum.cfx.re/tos
- Appeal possible via the forum, adminship section
- No guarantee of return — avoid
Troubleshooting
License key invalid at boot — recopy without space or newline. Check it's active on the portal (not revoked).
License key IP mismatch — IP-locked on the wrong IP. Change IP on portal, or regenerate as "any IP".
Server not in list but key OK — sv_endpointPrivacy true hides the server. Check sv_master1 "" isn't disabled.
Multiple servers with same key = only one works — normal, one key per server. Generate separate keys.
Useful commands
# Verify key in server.cfg
grep sv_licenseKey /server.cfg
# View keymaster request (FXServer console at boot)
# Wisp Logs / Console
Conclusion
Cfx.re license key = mandatory, free, easy to generate. IP-lock recommended for a stable server. One key per server. Regenerate without hesitation if you suspect a leak.
Going further: ElementClub Patreon for OneSync Infinity, multi-server management, rotation automation.


















