⚙️Configuration

Default Config

Config = {}

Config.Locale = 'en' -- en, de or create your own locale file in locales and html/locales

Config.Currency = '$' -- currency symbol, e.g. $, €, £ etc.

Config.Timestamp = 'us' -- us, de, iso, uk or fr

Config.UnemployedJobName = 'unemployed' -- job name of the unemployed job, used for employees wich get fired

Config.Jobs = {
    ['police'] = {
        logo = 'police.png', -- url or file in html/img/
        color = 'blue', -- light, dark, blue, indigo, purple, pink, red, orange, yellow, green, teal, cyan
        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) and de (German). 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. Select a file by setting logo = 'image.png', located in the html/img folder, or use a URL.

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

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

  5. Configure your marker

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

Last updated