๐Ÿ’ป Installation

1

Install devhub_lib

Download and install the required library and configure it according to your framework.

Download https://github.com/DEVHUB-GG/devhub_lib or use command

Shell
git clone https://github.com/DEVHUB-GG/devhub_lib.git
2

Install screenshot-basic

screenshot-basic is required โ€” the license system uses it to capture and upload the player's license portrait. It ships with most servers in the default [system] resources; if yours doesn't have it, download it from citizenfx/screenshot-basic and add it to your resources folder.

3

Install resources from keymaster

Download the LICENSE SYSTEM script file from keymaster.

4

Start resources

Move the files to the resources folder on your server and add the following lines to your server.cfg in the correct order:

JavaScript
ensure devhub_lib
ensure screenshot-basic
ensure devhub_licenses

License avatar photos are captured in-game and uploaded to an image host that you choose in configs/s.imagehost.lua. Set this up before issuing licenses โ€” the recommended path is a free uploadhub.gg webhook (permanent links). See the guide below.

Avatar Photo Hosting
5

Database Setup

Import the sql.sql file into your database.

6

Restart your server

Devhub Lib Needed For Each Script