Configuration
If you still have doubts, contact me on Discord!
ATTENTION FOR ESX USERS
If you're using ESX, you must uncomment '@es_extended/imports.lua'
from fxmanifest.lua
.
Instructions:
Locate the following section:
Modify it to:
CONFIGURATION OPTIONS
Config.vipCheck
This command allows players to verify their VIP status. If they have VIP, it will also display their VIP level and the expiration date.
Usage:
Config.givevip
This command is used to grant VIP status to players.
Usage:
Config.removevip
This command is used to revoke a player's VIP status.
Usage:
Config.giftCard
This command is used to create a VIP gift card. Once created, a unique code associated with the gift card is sent to a specified Discord channel via the 'Config.discordWebhook'.
Usage:
Config.vipCode
This refers to the command players use in-game to redeem the unique code that was created and sent to the Discord channel. By redeeming this code, players can obtain or renew their VIP status.
Usage:
Config.Identifier
This is the user identifier you wish to use. It can be set to 'license' or 'steam'.
Config.discordWebhook
This is the webhook link to a specific Discord channel. When the 'Config.giftCard' command is used, an embed message containing the unique VIP code is generated and then sent to this Discord channel via this webhook.
The Gift Card will be like this:
Config.embedThumbnail
This is the URL for the thumbnail image that will appear in the Discord embed notification.
Config.embedImage
This is the URL for the main image that will appear in the Discord embed notification.
Config.embedFooterIcon
This is the URL for the footer icon that will appear at the bottom of the Discord embed notification.
Config.allowedGroups
Groups that are permitted to use the command."
Config.vipLevels
Here, you can define the desired VIP levels." "For each entry in the table, the level increases by 1. If 'money' is assigned, the player will automatically receive the specified amount of money. If 'priority' is assigned, the player will be granted the specified amount of priority when joining the queue.
Usage and example:
Last updated