I need help with my server! Please Help!

Hello, I have a problem, I tried to do a own server, and did all right, (in the server.cfg too) but it says that the server key was not found when I try to run the server (This server does not have a license key specified. Please set the sv_licenseKey console variable to a key from https://keymaster.fivem.net/120. (for example, set sv_licenseKey “key” in the config, or +set sv_licenseKey key on the command line)

I have nearly tried every soluton to fix this, but should the server.cfg look like this?

you probably don’t want to change these!

only change them if you’re using a server with multiple network interfaces

endpoint_add_tcp “0.0.0.0:30120”
endpoint_add_udp “0.0.0.0:30120”

start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start scoreboard
start playernames

sv_scriptHookAllowed 1

change this

#rcon_password yay

a comma-separated list of tags for your server

for example: sets tags “drifting, cars, racing” or sets tags “roleplay, military, tanks”

sets tags “default”

sv_hostname “My new FXServer!”

nested configs!

#exec server_internal.cfg

loading a server icon (96x96 PNG file)

#load_server_icon myLogo.png

convars for use from script

set temp_convar “hey world!”

disable announcing? clear out the master by uncommenting this

#sv_master1 “”

want to only allow players authenticated with a third-party provider like Steam?

#sv_authMaxVariance 1
#sv_authMinTrust 5

add system admins

add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don’t allow quit
add_principal identifier.steam:110000112345678 group.admin # add the admin to the group

remove the # to hide player endpoints in external log output

sv_endpointprivacy true

server slots limit (must be between 1 and 31)

sv_maxclients 30

license key for server (https://keymaster.fivem.net/)

sv_licenseKey myserverkey

I am very thankful for help :slight_smile:

upload a screenshot of your server console.

You’re not starting the server.cfg properly. Also, make sure you have the “resources” folder from the server-data repo which contains the resources such as “sessionmanager”.

1 Like

hello, how do I start server.cfg properly? :slight_smile: This is very strange because I have the rsources file,

but I am very thankful that you guys are trying to help me :slight_smile:

By the looks of it, you have saved the files as text documents (the file types should be “Batch file” and “CFG file” not “Text document”).

To save as a different extension, make sure you click “Save as” to save the file then, make sure you click “All files” in the drop down menu for the type before you save.

hello, should it look like this?

I tried to launch the server, but it came up the same message :frowning:

Probably a silly question but have you got a key from: https://keymaster.fivem.net/

yes I have :slight_smile:

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