A bash script which allows anyone to setup qb-core (or any FW) based FiveM server resource repository on GitHub with private forks of upstream repositories using a txAdmin recipe. This allows you to be up to date with the latest framework changes as well as any public updates for the resources that you’ve added to the server. The initial setup takes a bit of time but once you’re used to it, you’ll never want to go back to manually updating your resources
Features
- Creates a main GitHub repository for all your resources
- Automatically creates private forks of all the resources
- Supports pulling from all remotes at once using a single command
- Keeps local changes (remote pulls don’t override your changes)
- Supports any txAdmin recipe (Tested and provided qb-core recipe only)
- You can add any new resources
- You can remove resources if you don’t need them
Video Walkthrough: How to setup a GitHub subrepo for FiveM Server - YouTube
Supported Operating Systems
-
Linux (Ubuntu / CentOS / Fedora / Arch)
-
Windows (WSL / WSL2)
Pre-requisites
- jq
- yq
- git
- gh
- subrepo
- unzip
All the instructions on setting it up are available in the readme of the tool here: GitHub - iLLeniumStudios/fivem-subrepo: A bash script that builds up a subtree based Git repo from a txAdmin Recipe
Note: If you don’t have WSL on Windows then you can follow this article to set it up before using my tool: https://www.altisconsulting.com/uk/insights/installing-ubuntu-bash-for-windows-10-wsl2-setup/