⚙️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
5
Config.Jobs
This is the part where you can add and customize the bossmenus for different jobs.
Set the jobname in
['jobname']
Set the society name in
society = 'society_name'
Select a file by setting
logo = 'image.png'
, located in thehtml/img
folder, or use a URL.Assign a color that you want to
color = 'colorname'
for the bossmenu in this job.Choose the job grades allowed to access the menu.
Configure your marker
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