[HELP] Server specified an invalid game build enforcement

Hi guys, once again I am sorry for the noob question.
I’ve had a memory issue for a while now where restarting my resource eventually leads to FiveM crashing, but whatever this isnt about that, it has just lead me to think that maybe it’s just down to my server being out of date. Problem is whenever I change the server build in server.cfg it tells me it is invalid.

I have tried this a few times in the past and always had the same issue, and just always reverted back to 2545 as I never actually had any issue so was fine using an old build, but now that I do have an issue I would really like to update my server to rule out the issue being due to an outdated server while trying to fault find my resource that has issues.

I know that I am just being dumb, and doing something wrong, can anyone please explain.

I download the latest build, drag it into my server files and replace, then change
sv_enforceGameBuild to whatever number the latest verion that I just downloaded from FiveM Builds.
Am I suppost to put that number? I’m sure I have seen people put a string as their build, but I dont know, I don’t know much about setting up servers, when i first started I just set up the serve, began LUA coding and never looked back.
Thanks.

Server version and client version are 2 different things. It’s the latter, which version of GTA 5 you want, not your server. i.e.:

    Build 2060 Los Santos Summer Special
    Build 2189 Cayo Perico
    Build 2372 Tuner DLC
    Build 2545 The Contract

(source: Enable DLC Content · ZAP-Hosting Docs)
using sv_enforceGameBuild 2189 would enable the DLC of Cayo Perico etc.

Full list of versions: Server Commands - Cfx.re Docs

5 Likes

Haha thanks dude, I knew I was just being dumb xD