Configuration
Check the instructions below.
The configuration is handled in config.lua
. Below is an explanation of the key settings:
General Settings
Setting
Description
Default Value
Framework
Specifies the framework used (qb
, esx
).
"qb"
MySQL
Specifies the MySQL library used (oxmysql
, etc.).
"oxmysql"
Example Core Export
The script automatically detects the framework and fetches the core object accordingly.
Admin Configuration
Setting
Description
Default Value
Admins
List of Discord identifiers with giveaway management permissions.
{"discord:282163851544231946"}
Example Admin List
Notifications
The script uses custom notification methods compatible with the chosen framework.
Example Notify Function
Usage
Hosting a Giveaway
Ensure the host has a Discord identifier listed in the
Admins
configuration.Use the provided commands or menus (if applicable) to start a giveaway.
Last updated