{"id":22832949,"url":"https://github.com/brycecanyoncounty/bcc-versioner","last_synced_at":"2026-05-18T09:08:40.202Z","repository":{"id":99002436,"uuid":"550673032","full_name":"BryceCanyonCounty/bcc-versioner","owner":"BryceCanyonCounty","description":"A RedM standalone Github Version Checker API for your custom scripts!","archived":false,"fork":false,"pushed_at":"2023-09-26T23:52:48.000Z","size":21,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T07:23:33.053Z","etag":null,"topics":["cfx","fivem","github","redm","vorp","vorpcore"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BryceCanyonCounty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-13T06:24:37.000Z","updated_at":"2022-12-28T19:07:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"f08cf001-6c72-4f61-a755-262267eb4477","html_url":"https://github.com/BryceCanyonCounty/bcc-versioner","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BryceCanyonCounty%2Fbcc-versioner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BryceCanyonCounty%2Fbcc-versioner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BryceCanyonCounty%2Fbcc-versioner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BryceCanyonCounty%2Fbcc-versioner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BryceCanyonCounty","download_url":"https://codeload.github.com/BryceCanyonCounty/bcc-versioner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246403927,"owners_count":20771537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cfx","fivem","github","redm","vorp","vorpcore"],"created_at":"2024-12-12T21:11:10.116Z","updated_at":"2026-05-18T09:08:35.156Z","avatar_url":"https://github.com/BryceCanyonCounty.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BCC Versioner\n\u003e A RedM standalone Github Version Checker API for your custom scripts!\n\nTopics\ngithub fivem cfx redm vorp\n\n## Features\n- Resource Version Check export APIs\n  - Github Release(tag) based check\n  - Github Version file based check\n\n## How to install\n* Download this repo\n* Copy and paste `bcc-versions` folder to `resources/bcc-versions`\n* Add `ensure bcc-versions` to your `server.cfg` file\n* Now you are ready to get coding!\n\n## API Docs\n\n### Version Check\n\nThis API will allow you to add a version check to your resource.\n\nThe script will check what current version of the script is downloaded via the Version defined in the fxmanifest. \n\nFor Example\n`version '1.0'`\n\n#### Release(Tag) Based Checks\n\n_How to use [Github Releases](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository)_\n\n\u003e Create a Release and tag  with the version number\n\n_Correct: `1.0.0`_\n\n_Wrong: `v1.1.0`_\n\n\u003e Add the following contents to your lua server\n```lua\nlocal versioner = exports['bcc-versioner'].initiate()\nlocal repo = 'https://github.com/BryceCanyonCounty/bcc-anticheat'\nversioner.checkRelease(GetCurrentResourceName(), repo)\n```\n\n#### Version File Based Checks\n\n\u003e Create a file called `version` with the following contents\n```txt\n\u003c1.3\u003e\n- More awesome updates\n\u003c1.1\u003e\n- Some awesome updates\n\u003c1.0\u003e\n- My first Update\n```\n\n\u003e Add the following contents to your lua server\n```lua\nlocal versioner = exports['bcc-versioner'].initiate()\nlocal repo = 'https://github.com/BryceCanyonCounty/bcc-anticheat'\nversioner.checkFile(GetCurrentResourceName(), repo)\n```\n\n## Need More Support? \n- [BCC Discord](https://discord.gg/cQMJaTqcqJ)\n\n## Requirements\n- NONE! It's standalone.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrycecanyoncounty%2Fbcc-versioner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrycecanyoncounty%2Fbcc-versioner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrycecanyoncounty%2Fbcc-versioner/lists"}