Skip to content
Black Friday · −50 % off your first invoice on Xeon VPS with code BF50XEON, −30 % off our other services with BF30 · domain names and dedicated servers excluded See our plans
CloudFive
Log in

01

What the key is for

Cfx.re is the publisher of FiveM and RedM. Every server must identify itself to Cfx.re with a licence key: without it, the server stops at start-up. The key links the server to your Cfx.re account.

The same platform is used for RedM: a key is created the same way for a Red Dead Redemption 2 server (see the creating a RedM server guide).

02

Creating your key on the Cfx.re portal

  1. Sign in to the Cfx.re portal with your Cfx.re account (the same one as the FiveM forum); create it if you don't have one.
  2. Open the section dedicated to server keys and request a new key.
  3. Give it a name you will recognise (the server name, for example) and enter the server's IP address if you are asked for it.
  4. Copy the generated key. It is personal: don't publish it or share it on Discord.

One key per server: if you have a test server and a public server, create two.

03

Adding it to server.cfg

The key is declared in the server.cfg file with the sv_licenseKey variable:

sv_licenseKey "your_key_here"

If you install the server with txAdmin, the first-time setup wizard asks for the key and writes it for you. The txAdmin guide details this step, and the creating a FiveM server guide covers the other lines of the file.

04

The 48-player limit and Patreon

With a free key, a FiveM server welcomes up to 48 players. Beyond that, Cfx.re requires a key tied to a Patreon subscription, paid every month. The number of slots is set with sv_maxclients, and OneSync mode (set onesync on) must be enabled to welcome a lot of players.

On our FiveM plans, the licence key is set up when the server is created, and the Patreon-linked key is provided and managed by us beyond 48 players, at no extra cost. Under our terms, these keys do not list the server in FiveM's public server list: players connect with the server address or your Discord.

05

Licence key errors

  • The server stops at start-up reporting a missing or invalid key: check the sv_licenseKey line, with no extra space or missing quote, and that it appears only once in server.cfg.
  • The key is rejected after moving the server: if an IP address was linked to the key, it no longer matches. Create a new key for the new machine.
  • The same key on two servers: one of them ends up rejected. One key per server.
  • A key published by mistake on GitHub or Discord: delete it on the Cfx.re portal and create another one.

When the server starts but players can't connect, the problem is more likely the ports: the game server ports guide covers them.

06

Nothing to manage, at CloudFive

On a FiveM plan, the server is ready about 30 seconds after payment, with the licence key already set up and txAdmin installed. ESX, QBCore or Qbox install in one click with the MariaDB database, and Anti-DDoS Premium protects the server from delivery, on Ryzen 9 9950X and NVMe.

07

Frequently asked questions

Where do I create a FiveM licence key?

On the portal of Cfx.re, FiveM's publisher, signed in with your Cfx.re account (the FiveM forum one). The basic key is free.

Where do I put the FiveM licence key?

In the server.cfg file, with the sv_licenseKey line followed by the key. With txAdmin, the first-time setup wizard asks for it and writes it for you.

Do I have to pay for more than 48 players on FiveM?

Yes: beyond 48 players, Cfx.re requires a key tied to a Patreon subscription. On our FiveM plans, it is provided and managed at no extra cost.

Why is my FiveM key invalid?

The sv_licenseKey line is misspelled or duplicated, the key is used on another server, or the server changed IP address. In that last case, create a new key.

Our plans

Going further.

The plans covered in this guide, hosted in France and protected by our anti-DDoS, with no commitment.

Support CloudFive AI

An answer right away, a real team behind it.

CloudFive AI answers you at any hour, in seconds. When it doesn’t know, or as soon as you ask, the team that runs the machines takes over. No offshore call centre.

  • TicketThe team replies in under 2 hours, 7 days a week.
  • CloudFive AIAt any hour, on ia.cloudfive.fr, Discord and in your customer area.
  • DiscordThe team, the AI and other customers, in the help channel.
  • Your data stays with usAI runs on our servers in France; e-mails, IPs and passwords are masked.
A ticket in the customer area: a customer’s question about a Minecraft plugin, and the CloudFive team’s reply
A real ticket in the customer area, answered by the team (demo account; shown in French).
CUSTOMER AREA · APP

Your servers.
At your fingertips.

Restart a server, watch its resources live, pay an invoice or open a ticket — and get an alert when something goes wrong.

  • The status of all your services at a glance
  • Blocked attacks, filtered traffic, monthly peak
  • A notification when a server goes down or an invoice is due

App coming soon · in the meantime, everything works in your browser at manager.cloudfive.fr

The CloudFive app: the list of your services, with their status
The CloudFive app: the home screen, your services’ status, blocked attacks and an invoice to pay