Game servers

Getting your FiveM licence key (portal.cfx.re)

Keymaster is gone: keys are created in the Cfx.re Portal, they are free and no longer tied to an IP. Where to put it and what to do if it errors.

1 min readUpdated on 6 October 2026FiveM

Every FiveM server needs a licence key. It is free and you get it with your Cfx.re account. If you have read old guides mentioning Keymaster (keymaster.fivem.net): it has been retired and everything now lives in the Cfx.re Portal.

Creating the key

  1. Go to https://portal.cfx.re and log in with your Cfx.re account (the same as the forum and FiveM).
  2. Go to Servers → Registration Keys (portal.cfx.re/servers/registration-keys) and click Generate Key +.
  3. It only asks for a name to recognise the server. You no longer enter its IP.
  4. Click Generate and copy the key. It looks like cfxk_ followed by letters and numbers.

If you already had keys in Keymaster, they are in the Portal when you log in with the same account.

Where it goes

  • With txAdmin: it asks for it when deploying the recipe. To change it later, edit the line in your server.cfg (txAdmin has an editor under CFG Editor) and restart the server.
  • By hand in server.cfg:
sv_licenseKey "cfxk_YOUR_KEY"

Since it is no longer tied to an IP

If you move VPS or change IP, you do not need a new one: copy the same key to the new server. But treat it like a password: do not publish it on GitHub or share it.

If the console complains about the key

  • Check it is complete, with no spaces before or after, and in quotes.
  • Check in the Portal that it is still active; if you deleted or regenerated it (Regenerate button), the old one stops working. Regenerating is exactly what to do if it has leaked.
  • With a bad key the server may start but not appear in the public list. More causes in my server does not show up.

Related articles

Back to the help centre

Can’t find what you need?

Open a ticket from your panel and we will answer in under 5 minutes.