⚙️Configuration

Default Config

Config = {}

Config.Locale = 'en'

Config.Currency = '$'

Config.Timestamp = 'us' 

Config.UnemployedJobName = 'unemployed'

Config.Jobs = {
    ['police'] = {
        society = nil,
        logo = 'police.png',
        color = 'blue',
        grades = { 4 },
        marker = {
            type = 1,
            coords = vector3(441.0, -981.0, 30.0),
            scale = vector3(1.5, 1.5, 1.5),
            color = { r = 0, g = 0, b = 255, a = 200 },
        },
    }
}

1

Config.Locale

Choose your desired locale from the available options. By default, the locales are en (English), de (German) and fr (French). To add additional locales follow this guide: Add your own language.

2

Config.Currency

Select the currency for your server.

3

Config.Timestamp

To determine the time of an action, you can use various time formats: us, de, iso, uk or fr.

4

Config.UnemployedJobName

Set here your unemployed job name.

5

Config.Jobs

This is the part where you can add and customize the bossmenus for different jobs.

  1. Set the jobname in ['jobname']

  2. Set the society name in society = 'society_name'

  3. Select a file by setting logo = 'image.png', located in the html/img folder, or use a URL.

  4. Assign a color that you want to color = 'colorname' for the bossmenu in this job.

  5. Choose the job grades allowed to access the menu.

  6. Configure your marker

You can only use following colors: blue, indigo, purple, pink, red, orange, yellow, green, teal, cyan, rose, magenta, brown, light and dark

Webhook Config

Config.Webhooks = {
    hire = "YOUR_DISCORD_WEBHOOK_URL",
    fire = "YOUR_DISCORD_WEBHOOK_URL",
    promote = "YOUR_DISCORD_WEBHOOK_URL",
    demote = "YOUR_DISCORD_WEBHOOK_URL",
    deposit = "YOUR_DISCORD_WEBHOOK_URL",
    withdraw = "YOUR_DISCORD_WEBHOOK_URL",
    salary = "YOUR_DISCORD_WEBHOOK_URL",
    bonus = "YOUR_DISCORD_WEBHOOK_URL",
    general = "YOUR_DISCORD_WEBHOOK_URL"
}

Config.JobWebhooks = {
    -- police = {
    --     hire = "YOUR_DISCORD_WEBHOOK_URL",
    --     fire = "YOUR_DISCORD_WEBHOOK_URL",
    --     promote = "YOUR_DISCORD_WEBHOOK_URL",
    --     deposit = "YOUR_DISCORD_WEBHOOK_URL",
    --     withdraw = "YOUR_DISCORD_WEBHOOK_URL",
    --     salary = "YOUR_DISCORD_WEBHOOK_URL",
    --     bonus = "YOUR_DISCORD_WEBHOOK_URL"
    -- },
}

Please enter your Discord webhook URLs.

Last updated