CFX code
Also called server code, join code, server ID
The short alphanumeric identifier Cfx.re assigns to a listed server, used in join links and in the server's list URL.
The CFX code is the short string, usually six characters, that identifies your server on the Cfx.re list. It appears at the end of the join link (cfx.re/join/5dg4mr) and in the detail URL on servers.fivem.net.
The code is generated by the platform once your server registers with the list using a valid licence key. You do not choose it, and in normal operation it stays the same across restarts, IP changes and host moves. Changing the licence key is the usual way to end up with a new one.
Anything that looks up your server from the outside uses this code: the in-client detail page, third-party trackers, our servers pages, and the order form on a promotion service. Because it is public by design, sharing it carries no risk. It is not a credential and nobody can administer your server with it.
To find it, open your server in the FiveM client's list and look at the address in the detail view, or search for your server name on the web version of the list and copy the last part of the URL.
If two different codes seem to point at your server, one of them is almost always an old listing from a previous key. Use the code that shows your current player count and hostname, and update any join links you published with the old one.
Related terms
Trying to get your server seen?
The live leaderboard shows what the numbers look like at the top of the list, and the upvote calculator turns a target server into a campaign size. The full glossary is here.