This server does not have a license key specified
Your server has no Cfx licence key, and it will not start without one. The key is free.
Do this first
Get a free key from the Cfx portal and put it in server.cfg as sv_licenseKey.
What it means
FXServer refuses to start without a Cfx.re license key. The key is free, it is generated at the Cfx portal, and it identifies your server for the server list and for asset entitlements.
What causes it
Ordered by how often it is the answer.
- 1
sv_licenseKey is missing from server.cfg
The most common: a config copied from a tutorial with the line removed.
- 2
It is spelled wrong
The variable is exactly
sv_licenseKey, camelCase.sv_licensekeyproduces the identical "no key specified" message, which makes the typo hard to spot. - 3
Quotes or spaces came along with the paste
A leading space or a smart quote makes the value unusable.
- 4
Two sv_licenseKey lines
The later one wins, and if it is blank or wrong you get this even though a valid key is in the file.
- 5
The key is in the wrong file
Set in a config that is never
execd from the main server.cfg.
How to tell which one is yours
grep -n "sv_licenseKey" server.cfg
One line, exact case, no stray characters. If txAdmin manages the server, the key lives in its settings and can override the file.
Where to look
server.cfg, near the top.
How to fix it
sv_licenseKey "cfxk_XXXXXXXXXXXXXXXXXXXXX_XXXXX"
Generate one at the Cfx.re portal. It is free and takes a minute.
Still stuck on your own code?
This page is what this error usually means. Paste your console into Server Fixer and it will rank everything in it and tell you what to do first, and if you would rather not touch it, ORBIE can repair the script and hand the resource back ready to drop in.
bug_reportOpen Server Fixer