My key is not being accepted!?

Hey!

For some reason I get this popup error when I try to run my server. Even though my key is set there… what is wrong? How can I fix the issue?

What is your launch command?

@echo off
%~dp0\FXServer +set citizen_dir %~dp0\citizen\ %*

Don’t open run.cmd directly, open command prompt in your server-data directory and then do

path/to/server/run.cmd +exec server.cfg

Still same error when I have

C:/FXServer/run.cmd +exec server-data/server.cfg

It says it can not find that config file…

Don’t specify path to server-data, cd to your server-data folder and then execute server.cfg otherwise it won’t see your resources

Also make sure server.cfg is in that folder and not called server.cfg.txt or something

Now it has error on checking server license key ?? Even though the key is same as the one in the https://keymaster.fivem.net

in config.cfg the line is even

# License key for your server (https://keymaster.fivem.net)
sv_licenseKey mykeyhereButCensored