🟥Configuring Addon

Information related to modifying the script configurations

▸ Overview

Your purchased addon includes a series of configuration files which allow you to modify how the addon looks and functions. Configuring addons require a tiny bit of lua knowledge, however, all configs have been heavily documented and explain each setting in detail.

Ensure you are careful when you configure scripts. You cannot do things such as delete brackets or commas from places that they should stay.

As an example:

cfg.ugroups.titles =
{
    [ 'superadmin' ]        = 'Owner',
    [ 'super_admin' ]       = 'Owner',
    [ 'admin' ]             = 'Admin',
    [ 'operator' ]          = 'Moderator',
    [ 'moderator' ]         = 'Moderator',
    [ 'trialmod' ]          = 'Trial Moderator',
    [ 'donator' ]           = 'Donator',
    [ 'user' ]              = 'User',
    [ 'noaccess' ]          = 'User'
}

The above list of usergroups are stored inside a table which starts and ends with { }.

You must ensure that a comma is placed at the end of each line. The final entry of the table on line 11 does not need a comma. However, you can add one if you want.

As another example:

cfg.nav.btn.workshop_url	  = 'https://steamcommunity.com/workshop/filedetails/?id=2319113217'
cfg.nav.btn.workshop_openIngame   = false

The above lines of code are variables. The variable name is located to the left of the equal sign, and the value is on the right.

Line 1 is a string variable with quotation marks.

Line 2 is a boolean variable which simply defines either true or false.

No comma is needed at the end of these two lines because they are not in a table, and each line is its own unique variable.

▸ Config Location

To start configuring your addon, please view the settings page.

Last updated