WHAT IS FIVEM-CHECKER?
FiveM Checker is a Resource that uses HTTPs Request to know if resources are outdated or not.
(They need to be compatible with fivem-checker, more info below)
List of already compatible resources
Some new features will be added soon: Command to check for updates (instead of having to restart the resource or the server), Auto-Updater, Update checker for non-compatible resources, etc
KNOWN BUG :
Don’t forget to this post if you liked this resource, it motivates me to keep coding for FiveM (But it’s mostly for my ego
)
HOW DOES IT WORK?? (Devs)
First step
You will need to add several Metadata into your fxmanifest.lua
files, tho, the Metadata fivem_checker
is required to make your resource compatible with this checker.
Manifest Metadata | Required/Optional | Description | Example |
---|---|---|---|
fivem_checker | Required | Without this metadata, the checker won’t be able to “see” your resource | fivem_checker 'yes' |
github | Required | Link to the GitHub repo of your resource | github 'https://github.com/clementinise/kc-test' |
version | Required | Version of your resource (You will need to change this everytime you release an update) | version '1.0' |
name | Optional | Name of your resource (You can also use color code) | identify '^2Test Script' |
Second step
You will also need to add a file labeled version
(An example can be found here) in your GitHub repo
This file have to respect certains syntax:
Syntax | Required/Non-obligatory | Description | Instance |
---|---|---|---|
<version-number> |
Required | The model must be in between angle brackets | <1.1> |
- Changelog |
Non-obligatory | Every line of the changelogs must be separated by a minus image | - This can be a check sentence |
Last step
There isn’t, only those 2 steps are required to make your resource compatible with this resource
INSTALLATION (Users)
Download the latest release.
Drag the folder into your <server-data>/sources
folder
Add this in your server.cfg
:
guarantee fivem-checker
Word: This must be added on the finish of your sources listing in server.cfg