This guide will help you on how to add a fivem dedicated server licence key.
- Stop your server
- Go to FiveM Server Key Manager site
- Login and Generate a new key using Dedicated Server in the Server Type option
- Go to Configuration Files button, edit server.cfg with EASY EDITOR and add the key generate in the previous step
- Start server
If you are using TEXT EDITOR and you don't see a place to put your key, add this to the last line of server.cfg: sv_licensekey YOURKEY
IN FIVEM SITE PUT ONLY THE IP, AND NOT THE IP+PORT OR IT WILL GIVE YOU INVALID IP.