How to create a server key:
A server registration key is required to use the Cfx.re platform server. Generating a server key is easy via the Portal.
Below are the detailed steps on how to create a registration key:
1. Go to the Servers page on Portal.
2. Once on this page, click on the Generate Key button.
3. A pop-up window will appear for you to create your server key. Enter the display name for your server and click Generate to generate your key.
4. After pressing Generate your new server key should show up in the list of registration keys.
Your key has been created and is now ready to be used!
How to set server key in server.cfg file:
1. Find your specific server folder in either the FXServer or txData Folder’s (Typically named FiveMBasicServerCFXDefault_XXXXXX.base if set up through txAdmin)

![]()
2. Scroll down till you see: server.cfg and double click on file ![]()
3. Near the bottom (or the top, or middle, or the left) find where it says:
# License key for your server (https://keymaster.fivem.net)
sv_licenseKey changeme
4. Where it says "changeme" copy your server key and paste there. Make sure to keep the quotes (")
5. SAVE THE FILE
BOOM!
Done!
That was easy, yeah? Hopefully this clears things up! ![]()

