Game servers

Your license key

Every FiveM server needs a license key from Cfx.re. You make one yourself, for free, and paste it into your server's Variables tab.

Get a key #

  1. Go to portal.cfx.re and sign in with your Cfx.re account.
  2. Make a new server license key. It only asks for a name: a key is not tied to an address, so you do not need your server's address first.
  3. Copy the key. It starts with cfxk_.

Paste it in #

  1. Open your server's Variables tab.
  2. Press Change beside License key, paste the key and save.
  3. Press Start, then set up txAdmin.

The key is hidden on the page until you press Show.

How the key is used #

The license key in the Variables tab is used once, to fill in txAdmin's setup. When you finish that setup, txAdmin writes the key into your server's server.cfg as sv_licenseKey, and from then on that is the key the server uses.

So to change the key later, edit sv_licenseKey in server.cfg (in the Files tab, or over SFTP), or change it in txAdmin. Changing it in the Variables tab after the setup changes nothing.

A license key error #

If txAdmin or the console reports a license key error, the key in server.cfg is wrong or missing. Check that you copied the whole key, starting with cfxk_, then fix sv_licenseKey in server.cfg (Files tab) or in txAdmin, and restart.

The Steam Web API key #

The Variables tab has one other setting, Steam Web API key. It is optional: leave it as none unless a resource needs it.

Warning

Keep your license key private. It is not stored on this site, and our staff cannot see it or open server.cfg.