FiveM Server License Key Authentication: Error

very time i try to start up the server, it comes up with this window, “this server does not have a license key specified. Please set the sv_licenseKey console variable to a key from https://keymaster.fivem.net/ . (for example, set sv_licenseKey "key" in the config, or +set sv_licenseKey key on the command line)”

this is what i have done
sv_licensekey “mykeyishere(i didnt say my key is here just dont want to give the key out)”

1 Like

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the FiveM community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

Did you start the server from the right directory? please show your server config, folder structure and run command



Create a file in your server directory named run.bat and put start run.cmd +exec server.cfg in it.

I don’t suggest putting your server.cfg and resources directly into your server files, create a seperate directory like server-data and put it in there. Then in that folder create a .bat file with the following content

..\run.cmd +exec server.cfg
1 Like

Thanks that worked :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.