I need help with this-

To receive support, please fill out the following template, and remove this top text.

So I was creating a server and ran into a issue. I recently discovered fivem needed a key. do you know how to make one, (I know where) but how. What information goes in all the boxes?

Go here: https://keymaster.fivem.net/

Login and register your server. A license key will be produced. Then go to to your server.cfg file and go to the bottom where it says:

sv_licensekey "changeme"

You’d place your key where it says changeme

If it does not say the code above, please copy and paste it in the bottom of your server.cfg file

Then try running your server :mascot:

1 Like

It said i have no keys. I clicked register where it says “You can always register one” In the boxes, it asks for label, ip, and some host thing. What do I fill in? Thats the part which i dont understand.

I made a key using a label which i typed the name of my server, for the IP i put my computer ip and for the host i did home hosted. pasted the key like you said to do above, still doesnt work. please help me with my error.

Try using set sv_licensekey “changeme”

1 Like

Just litteraly set sv_licensekey “changeme” or do I change it with a key, sorry if this sounds like a troll Im new to this.

Replace changeme with your key. Put your key inside the "

2 Likes

If you read the above posts, I need help on making the key. For the ip, is the ip your IP? and the label is just a name?

Even with the “Key” that i think i made wrong, still shows up the same error… Is it because im opening it through command prompt?

Maybe these can help you help me:

those are what they look like right now. if you spot an error please notify

So when starting in command prompt, this time instead of writing my c drive then Fivemserver>run.cmd + exec server.cfg I removed the space between the + and exec so it was Fivemserver>run.cmd +exec server.cfg… It seemed to have pop up more lines, asked for windows firewall, I hit “allow” but this time popped up a different error message. instead of the one i have posted above, here is what the new one looked like…

This time instead of doing just set sv_licensekey “my key” I added a + at the beginning. was that error good or no? Fivem should clear this topic up, very confusing

It’s honestly not that confusing… You just seem to be having issues for some reason? Nonetheless:


This is what it should look like in your server.cfg file:

sv_licensekey "changeme"

You said you weren’t sure if you made the key correctly? Instructions for making a key below:

  1. Go here:
    step1

  2. Click sign in
    step 2

  3. Click on New in the top left corner
    step 3

  4. Fill out the form

  5. Copy generated key and paste it inside your server.cfg file (Inside your FiveM Server Folder)


If you’re confused about the server types please see below:


[RANDOM NOTE:] I suggest uncommenting this:

# hide player endpoints in external log output
#sv_endpointprivacy true

As far as running your server, please follow the directions in the wiki: https://wiki.fivem.net/wiki/Running_FXServer
Specifically where it says:

Run the server from the server-data folder. (cd /d D:\FXServer\server-data)
D:\FXServer\run.cmd +exec server.cfg (from a new cmd window)

Im starting from my C:\ drive. ill try and give you a response

aftert the sv_maxclients 32 press enter twice

you should have something like this right at the end of ur server cfg

sv_licensekey balah blah blah u can find the key right here https://keymaster.fivem.net

Good luck

I cannot find my mistake! I did all you said, here is the error: Could not authenticate server license key

All the lines seemed to be going smooth and good, all of a sudden bam. I am so sorry for making this more complex than it has to be, I cant just seem to figure out the problem

Dam. cant figure it out. did all that everyone said, keeps giving errors

u need to register urself first on https://keymaster.fivem.net

then the key u get is very active so ur good

I did bro, all logged in and says “key has been activated”