Configuration

In the configuration file (config.lua), you can easily customize the notification script to fit your needs, allowing you to adjust the style and appearance of notifications to your preferences.

config.lua
Config = {}

Config.EnableCommands = true -- Enable the following commands: /char <id> - /chardel <id>
Config.CommandsAuthorized = {"admin", "superadmin"} -- The groups who are allowed to use these commands

Config.Locales = 'nl' -- en / nl -> you can change these in the locales folder

Config.OpenAppearance = true -- If true, it will open the appearance to create their skin
Config.AppearanceScript = 'fivem-appearance' -- The appearance script name, currently supports: fivem-appearance & illenium-appearance & esx_skin

Config.BlacklistedNames = {"blacklist"} -- Names that are blacklisted as both first and/or last name

Config.DateFormat = "DD/MM/YYYY" -- (DD/MM/YYYY or MM/DD/YYYY)
Config.MaxNameLength = 20 -- The maxmimum length for the name
Config.MinHeight = 100 -- The minimum height for the character
Config.MaxHeight = 200 -- The maximum height for the character
Config.LowestYear = 1900 -- The lowest year you can be born in
Config.HighestYear = 2005 -- The highest year you can be born in

Config.WebhookURL = '' -- Discord webhook url. Leave empty if you don't want to use discord logs.

Appearance

We currently only support: fivem-appearance, illenium-appearance or esx_skin & skinchanger

This only matters if you have Config.OpenAppearance = true, if you have it on false, don't worry about this.

Last updated