Logo

Get and configure your Cfx.re license for FiveM

Get and configure your Cfx.re license for FiveM

Every FiveM server needs a Cfx.re **license key** (format `cfxk_...`). Complete guide to generating it, configuring it in Wisp/server.cfg, and handling revocation or change.

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

  1. Signed into the portal, click Server Keys
  2. Generate New Key
  3. Fill:
    • IP: 0.0.0.0 (any IP allowed) or your fixed VeryCloud IP for more security
    • Server Name: free, for your reference
  4. Click Generate

You get a key like:

cfxk_AbCdEfGhIjKlMnOpQrStUvWxYz_xyz123

Never share it publicly.

OptionProCon
Any-IP (0.0.0.0)Works anywhere, simpleIf the key leaks, usable anywhere
IP-lockedMore secureOnly 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:

  1. Find the SV_LICENSEKEY variable or similar
  2. Paste your cfxk_... key
  3. 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 false in server.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.

If you're a Cfx.re Patreon (ElementClub Argentum / Aurum), link the boost to a specific server:

  1. Portal → Server Keys → your key → Element Club
  2. Select tier
  3. 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):

  1. Portal → your key → Delete or Regenerate
  2. Update Wisp/server.cfg with the new one
  3. 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 OKsv_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.

Resources

Join our Discord community server

For any questions, suggestions, or just to chat with the community, join us on Discord!

900+Members