Config File

A copy of the config file is here

Config = {}

Config.Debug = false -- Set to false on live server. Only used for testing and restarting the script frequently.

-- Using SynSociety will disable the society system in this script and use SynSociety instead.
-- This script will become multijob system only
Config.UseSynSociety = false -- Use SynSociety or not

Config.Locale = 'en'

Config.Commands = {
    SetJob = { command = "setjob", help = "Set a player's job", params = {{name = "id", help = "Player Id"}, {name = "job", help = "Job Name"}, {name = "grade", help = "Job Grade"}}, groupAllowed = { ["admin"] = true }},
    JobMenu = { command = "jobmenu", help = "Open the job menu" },
    RemoveJob = { command = "removejob", help = "Remove a job from player", params = {{name = "id", help = "Player Id"}, {name = "job/ current", help = "Job Name, leave blank for current job"}}, groupAllowed = { ["admin"] = true }},
    CreateJob = { command = "createjob", help = "Create a job", params = {{name = "job", help = "Job Name"}, {name = "label", help = "Job Label"}}, groupAllowed = { ["admin"] = true }},
    DeleteJob = { command = "deletejob", help = "Delete a job", params = {{name = "job", help = "Job Name"},}, groupAllowed = { ["admin"] = true }},
    SetBossMenuLocation = { command = "setbossmenu", help = "Set boss menu location at current spot", params = {{name = "job", help = "Job Name"},}, groupAllowed = { ["admin"] = true }},
    ManageBossMenuLocation = { command = "managebossmenu", help = "Delete/ TP boss menu location", params = {{name = "job", help = "Job Name"},}, groupAllowed = { ["admin"] = true }},
}

Config.BossMenuCommand = false -- "bossmenu" or false(to disable)

Config.SocietyStashLimit = 400 -- Society stash limit

Config.DBChecker = true -- Checks/Creates DB on start (RECOMMENDED TO SET TO FALSE AFTER RUNNING IT FIRST TIME)

Config.BossMenuLocationDistance = 2.0 -- When to display to open the boss menu

Config.PayChecks = {
    Interval = 15, -- Every 15 minutes (Set to false to disable)
    PayOutOfSocietyExcept = { -- Jobs that should not be paid out of society account
        ["police"] = true,
        ["doctor"] = true,
    },
    SetMaxPaycheck = false, -- Set max paycheck for all jobs allowed to set or false
    NotifyIfSocietyBroke = true, -- Notify player when not paid due to society being broke
}

Config.Default = {job = "unemployed", grade = "0"} -- Given to all. Make sure its included below...

-- DO NOT TOUCH
Society = {
    [Config.Default.job] = {
        label = Config.Default.job,
        grades = {
            ['0'] = {
                name = Config.Default.job,
                pay = 0,
                boss = false
            }
        }
    },
}

-- DO NOT TOUCH AT ALL
Config.BossMenuLocations = {
}

-- DO NOT TOUCH UNLESS YOU KNOW WHAT YOU ARE DOING
Config.Prefix = {
    Database = "ez_society_",
    Stash = "ez_society_stash_",
}

Last updated

Was this helpful?