[Tool] Automatically update your Server Artifacts

image

Update: Now not just PHP but also PowerShell and Shell. See the github repo: GitHub - VIRUXE/cfx-artifacts-updater: A bundle of scripts to easily update your Cfx.re (FiveM/RedM) server artifacts.

Just made this tiny script and thought the rest of the community would benefit from it.
Using this PHP script you automatically update your server artifacts with a single console command or even a double-click.

You can place the script outside your “artifacts” directory (the one that has the server binary inside) if you’re running Windows or inside it if you’re running Linux.
image

Usage syntax: php artifacts.php ('recommended'/'optional'/'latest'/'critical')
If you don’t specify a build type, it will update to the ‘latest’ build.

If you don’t have PHP added to your Path in Windows and don’t feel like adding it then just set PHP files to open with php.exe, wherever it might be installed.
image

Download: Update your FiveM/Cfx.re Server Artifacts · GitHub

1 Like

Updated the post a bit to make it a bit more intuitive.

How do you guys like the script?

1 Like

Update: Added PowerShell and Shell alternatives.

Hey, thanks for this mate! Saved a lot of time of mine :slight_smile:

1 Like