FiveM server license key
Generate a free server registration key in Cfx Portal and set it in the panel so your FiveM server can start.
Without a license key, also called a registration key, a FiveM server won't start. You generate one for free in Cfx Portal, which replaced the old Keymaster (keymaster.fivem.net).
Before you start
You need a Cfx.re account. If you don't have one, create it when you first sign in to the portal.
Generating the key
Open Cfx Portal
Go to portal.cfx.re (opens in a new tab), sign in with your Cfx.re account and click CREATE A KEY.
Fill in the server details
Four fields are required. These details show in the FiveM server list:
- NAME: the server name, up to 40 characters,
- TAGLINE: a short line under the name, up to 120 characters,
- DESCRIPTION: the server description, up to 250 characters,
- LANGUAGE: the server's language.
Optionally, add up to five tags, a Discord link, a banner (at least 1865×200 px) and a server icon (at least 512×512 px, PNG or JPG). The icon and banner show in the server list. You can change all of it later with the EDIT SERVER DETAILS button.
Generate the key
At the bottom of the form, click GENERATE KEY.
Copy the key
The key appears in the Server Registration Key section with the ACTIVE status. Click Copy Key.
Setting the key in the panel
The client panel is available in Polish only, so its labels are given in Polish with a translation. In the client panel, go to the Parametry startowe (Startup parameters) tab, paste the key into the Licencja FiveM (FiveM license) field and restart the server.
If server.cfg has a set sv_licenseKey line, put the same key in it or remove it. Otherwise the server may use an old key from the file.
set sv_licenseKey "<your-key>"Common problems
The server won't start and the console mentions the license key
Check that the whole key is pasted, with no spaces at the start or end, and that the set sv_licenseKey line in server.cfg doesn't contain a different key. If the server runs a
txAdmin pack, the right server.cfg is in the txData folder, as described in Setting FiveM
server endpoints.
The key doesn't have the ACTIVE status
The key has been deactivated. Open the server in the portal's Servers tab, generate a new key with REGENERATE KEY, then paste it into the panel.