Skip to content
CyberNex Logo
Back to Tutorials
FiveM3 min readJuly 15, 2026

How to enter the FiveM license code

Ganidu Sathishka
Support Engineer at CyberNex | 4+ years customer technical support

Overview

A FiveM license (registration key) is required to start your server. Generate it on the CFX Keymaster.

Step-by-Step Instructions

<ol><li>Log in with your CFX account on portal.cfx.re.</li><li>In the top menu click Servers.</li><li>Press GENERATE KEY, enter a name and click GENERATE.</li><li>Under Actions, click Copy registration key.</li><li>Game server: paste the key into the Startup section of your panel. VPS/dedicated: add the line below to server.cfg.</li></ol>

Code / Configuration

<pre><code>set sv_licenseKey "xxxxxxxxxxxxxxxxxxxx"</code></pre>

Success

You are done when the console shows "Server license key authentication succeeded".

Warning

A free key supports 32 slots and no EUP. Paid keys unlock more slots, EUP and colored names.

Related Hosting Services

Was this guide helpful?

Join our Discord for more guides and direct help from our engineering team.

How to enter the FiveM license code | CyberNex