How to Add a Patreon Key to a FiveM Server

🔑 Add Patreon Key to FiveM Server Keymaster → server.cfg → verify benefits Wise Development

How to Add a Patreon Key to a FiveM Server (Keymaster + server.cfg)

Generate a custom Cfx Keymaster license key (Patreon benefits attach to it), add it to your server.cfg/txAdmin, then verify it’s active with a clean owner checklist.

1) What “Patreon key” actually is

In FiveM owner language, “adding the Patreon key” usually means: you’re generating a custom Cfx.re license key (from Keymaster) that is tied to your account — and if your account has Patreon benefits, those benefits attach to that key. In other words, you’re not pasting some random Patreon token into a script. You’re registering your server in Keymaster and using the license key that comes out of it. That’s the key your server needs at boot.

Why people care: a custom key is how you enable Patreon-linked perks like OneSync tiers, colored server name, etc., and it also solves “provider key is invalid” situations. This is the exact flow shown in the referenced guide.

2) Before you start (accounts, IP, txAdmin)

  • Cfx.re account: You need a forum account because Keymaster uses that login.
  • Your server’s real IP: Keymaster expects the IP address without the port.
  • Know how you manage configs: txAdmin panel, a host panel (Zap, etc.), or self-hosted file access.
Owner tip (saves headaches): decide which box owns your config. If you use txAdmin, treat txAdmin’s CFG editor as the source of truth. If you edit via FTP too, you’ll eventually overwrite yourself and think the key “doesn’t work.”

Also: if you’re building your server and want to keep your asset pipeline clean (cars, packs, interiors), keep everything organized from day one. When your server starts growing, your resources folder turns into a landfill if you don’t keep standards. A clean asset base matters even for simple setup steps like this: FiveM-ready assets

3) Step-by-step: generate the key in Cfx Keymaster

Step 1 — Log in to Keymaster

Go to the Cfx.re Keymaster site and log in using your Cfx.re forum credentials. If you don’t have the account yet, create it first — Keymaster won’t let you skip this part.

Step 2 — Create a new server entry

In the left sidebar, hit New Server. This opens the key creation form.

Step 3 — Fill the server details correctly

  • Label: a name you’ll recognize later (don’t put “test123”, you’ll regret it).
  • Server IP address: your server IP without a port.
  • Server type: choose the type that matches your setup (rented provider vs self-host).

Step 4 — Generate and copy the license key

Click Generate. Your new key appears under your registered servers. Copy it exactly — don’t add spaces, don’t trim characters.

4) Add the key to your server (provider panel / txAdmin / self-host)

Option A — Host panel “Custom License Key” field

Some providers expose a field literally named “Custom License Key.” Paste your generated key there. That’s it — just make sure you didn’t paste a trailing space.

Option B — txAdmin (most common)

If you use txAdmin, add the key in your server.cfg under the license key line. In practice, you’ll see it written in two common ways; the important part is the value:

sv_licenseKey "YOUR_LICENSE_KEY_HERE"

Some guides write sv_licensekey (all lowercase). The config parser is typically forgiving, but sticking to sv_licenseKey avoids “why is my convar not detected?” rabbit holes.

Option C — Self-hosted server.cfg

Open your server folder, find server.cfg, and paste the line once (not multiple times). Example format is shown in the reference tutorial.

sv_licenseKey "abcdef1234567890abcdef1234567890"

Restart to apply

Restart the server after adding the key. Sometimes activation can take a short while, so don’t spam restarts back-to-back.

5) How to confirm it’s active

  • Check your server console for normal boot (no “invalid license key” style errors).
  • Verify the perks tied to your account (OneSync tier / cosmetic perks).
  • If you changed IP recently, double-check the IP in Keymaster matches the server’s real public IP.

6) Troubleshooting (common mistakes)

Problem: “Invalid license key” after adding it

  • Wrong IP in Keymaster: you entered IP:PORT instead of IP only.
  • Pasted a panel key, not the Keymaster key: always use the key generated under your Keymaster server entry.
  • Multiple license lines: if you have 2–3 sv_licenseKey lines, you can end up booting with the wrong one.

Problem: “It works but my benefits don’t show”

  • Give it a bit of time; benefits may not appear instantly.
  • Confirm the Keymaster account you used is the same Cfx account that has the Patreon tier attached.

Problem: Server suddenly broke after “fixing” the key

You probably edited the wrong config. If txAdmin is managing your CFG, and you edited a separate server.cfg via FTP, you might be changing a file that isn’t even used at boot.

7) FAQ

Do I really need a Patreon for this?

You can generate a custom key without being a patron, but “Patreon benefits included” only applies if your account has them. The key is still required as the proper server license key either way.

Where do I put the key if I use txAdmin?

In server.cfg under the sv_licenseKey line, via txAdmin’s config tools.

Why must the IP be without the port?

Keymaster asks for the server IP address, not the endpoint string. If you include a port, you’re not matching what Keymaster expects.

Back to blog