License Demerits
A license demerit system.
Info
This resource automatically handles license removal and reinstation based on configured values.
You can configure any license type to be automatically revoked after a certain number of demerit points have been incurred, and you can also further configure each license to be automatically reinstated (or not) after the number of demerits have been reduced (automatically or otherwise) to an acceptable level.
NOTE: Export calls are required for this resource to actually do anything. There is no method for incurring demerit points by default, you must implement them as you please, for example, by calling:
Setup
Dependencies
If using QB-Core, licenses must be defined as items.
If using ESX,
esx_license
is required.
Installation
After purchasing the resource, download it from your keymaster.
Extract the resource into your servers
resources
folder.Add
start ti_licenseDemerits
to your server.cfg, belowstart ti_utils.
Execute the sql statement file found below, or at
ti_licenseDemerits/[sql]/license_demerits.sql.
Observe the server console on start-up for potential errors or warnings.
SQL
Config
Usage
All server-side exports are documented here.
Last updated