This is a simple script that will automatically update your FiveM server artifact. I just write this for myself and I thought I would share it with you guys. It is compatible with linux and windows. To run it regularly add the start.bat to your scheduler (crontab etc.)
How to use
Please make sure you have NodeJS installed on your machine. You can download it from here. Do not update while the server is running. It will cause issues.
This is bad, not every artifact are good for servers. Lot of them can have issues. Yes it’s recommanded to “test” them for FiveM team be able to fix the issues, but not update them everytime.
I understand your skepticism behind it, no one forces you to update every day. For servers, I recommend to introduce an update day, which you then enter in crontab. Then you can test it, maybe even first on the test server and then on the liveserver.
Hello @Novel_Devolution,
I will add a version target in the next update so that you can return to specific versions, such as version or recommended / latest.
Hello,
we already had this discussion under this thread. Update to that time now there is now even a backup system and a target function. Always updating to the latest version is very risky but FiveM divides the versions into latest and recommended. Recommended are the releases that are already tested by their site and the community.
I find this statement unfair to the people who are a big fan of it, especially on GitHub. Everyone should get the chance to test the tool, it is free and open source.
But I also respect your criticism and thank you for your contribution.