โš™๏ธConfiguration

Check the standard Config!

config.lua
Config = {}

Config.Main = {
    Information = {
        notify = "sservice",
        language = "en",
        Chars = 200, -- Maximal Chars per Post
        Extra = { -- Additionally cost for anonym post / discord post
            ["anonym"] = 35,
            ["discord"] = 55
        },
        Price = {
            ["enabled"] = false, -- Price per symbol or Price per Post
            ["price"] = 15
        },
        Jobs = {
            ["mechanic"] = {
                ["needspay"] = false, -- True = The job does not have to pay anything
                ["blacklist"] = false -- True = The job cant send posts
            },
            ["police"] = {
                ["needspay"] = false,
                ["blacklist"] = false
            }

        },
        Blacklist = {
            ">",
            "<"
        },
        Tags = { -- Max 5
            "Search",
            "Trade",
            "Sell",
            "Vehicle",
            "Job"
        }
    }
}

Config.Locations = {
    {
        ["coords"] = vector3(-1082.3137, -247.8238, 37.7633),
        ["blip"] = {
            ["enabled"] = true,
            ["short"] = true,
            ["sprite"] = 77,
            ["scale"] = 1.0,
            ["color"] = 1,
            ["display"] = 4,
            ["label"] = "Lifeinvader"
        },
        ["ped"] = {
            ["enabled"] = false,
            ["model"] = "mp_m_freemode_01",
            ["scenario"] = "WORLD_HUMAN_STAND_MOBILE",
            ["heading"] = 197.5591,
            ["spawndist"] = 10.0
        },
        ["marker"] = {
            ["enabled"] = true,
            ["rotate"] = true,
            ["move"] = true,
            ["type"] = 21,
            ["showdist"] = 10.0,
            ["scale"] = {
                ["x"] = 0.5,
                ["y"] = 0.5,
                ["z"] = 0.5
            },
            ["color"] = {
                ["r"] = 255,
                ["g"] = 0,
                ["b"] = 0,
                ["a"] = 100
            }
        }
    },
    {
        ["coords"] = vector3(-598.5121, -929.9034, 23.8685),
        ["blip"] = {
            ["enabled"] = true,
            ["short"] = true,
            ["sprite"] = 77,
            ["scale"] = 1.0,
            ["color"] = 1,
            ["display"] = 4,
            ["label"] = "Lifeinvader"
        },
        ["ped"] = {
            ["enabled"] = true,
            ["model"] = "ig_lifeinvad_02",
            ["scenario"] = "WORLD_HUMAN_STAND_MOBILE",
            ["heading"] = 87.3777,
            ["spawndist"] = 10.0
        },
        ["marker"] = {
            ["enabled"] = false,
            ["rotate"] = true,
            ["move"] = true,
            ["type"] = 21,
            ["showdist"] = 10.0,
            ["scale"] = {
                ["x"] = 0.5,
                ["y"] = 0.5,
                ["z"] = 0.5
            },
            ["color"] = {
                ["r"] = 255,
                ["g"] = 0,
                ["b"] = 0,
                ["a"] = 100
            }
        }
    }
}
config_server.lua
ConfigServer = {}

ConfigServer.Times = {
    ["enabled"] = false,
    ["opening"] = {
        ["from"] = "10:00",
        ["to"] = "20:00"
    }
}

ConfigServer.CoolDown = {
    ["enabled"] = true,
    ["timeout"] = 2 -- in minutes
}

ConfigServer.Webhook = {
    PublicPost = "",
    DiscordPrivatLog = ""
}

If you find any errors in the configuration and you can't fix them yourself, open a ticket!

Last updated