โš™๏ธConfiguration

Check the standard Config!

config.lua
Config = {}

Config.Framework = {
    -- Framework Settings
    ["Export"] = {
        ["UseExport"] = true,
        ["ResourceName"] = "es_extended" -- Core Resource Name
    },
    ["Event"] = {
        ["EventName"] = "esx:getSharedObject" -- Event Name
    }
}

Config.Main = {
    language = "de", -- Language
    notify = "sservice"
}

Config.Use = {
    item = {
        -- Item Settings
        enabled = true, -- If you want to use an Item
        item = "changeplate", -- Item Name
        removeonuse = true -- Remove Item on Use
    },
    command = {
        -- Command Settings
        enabled = true, -- If you want to use a Command
        command = "changeplate", -- Command Name
        CommandJobs = {
            enabled = false,
            jobs = {
                ["lcn"] = true
            }
        },
        CommandGroups = {
            enabled = false,
            groups = {
                ["admin"] = true
            }
        }
    }
}

-- Price Settings
Config.Price = {
    fixed = {
        enabled = false, -- If you want to use a fixed price
        price = 25 -- Fixed Price
    },
    priceperchar = {
        enabled = true, -- If you want to use a price per character
        priceperint = 3, -- Price per Number
        priceperletter = 3 -- Price per Letter
    },
    withoutpay = {
        -- Jobs/Groups which dont need to pay
        Jobs = {
            ["ambulance"] = true
        },
        Groups = {
            ["admin"] = true
        }
    }
}

Config.BlacklistedWords = {
    "88",
    "889"
}

config_server.lua
ConfigServer = {}

ConfigServer.Discord = {
    On = true,
    title = "S-Platechange",
    author = "S-Roleplay",
    color = 16711680,
    avatar_url = "https://cdn.discordapp.com/attachments/1293659211804180634/1293663889950773269/Static_Halloween_Logo.png?ex=671d49e2&is=671bf862&hm=26ed7b1e77f5a662a84d99006ba8fd367484ba8ee124238ea254a5600e7fd83d&",
    footertext = "S-Scripts",
    icon_url = "https://cdn.discordapp.com/attachments/1293659211804180634/1293663889950773269/Static_Halloween_Logo.png?ex=671d49e2&is=671bf862&hm=26ed7b1e77f5a662a84d99006ba8fd367484ba8ee124238ea254a5600e7fd83d&",
    thumbnailurl = "https://cdn.discordapp.com/attachments/1293659211804180634/1293663889950773269/Static_Halloween_Logo.png?ex=671d49e2&is=671bf862&hm=26ed7b1e77f5a662a84d99006ba8fd367484ba8ee124238ea254a5600e7fd83d&"
}

ConfigServer.Webhooks = {
    ["Default"] = "https://discord.com/api/webhooks/1375992463554248774/1aluY3yZ7mA09yx23bx6UU-MpnVWnAdWcDCNBvo_7KPXnPGgZ9vlwP3WIhJcXmbENwdH"
}

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

Last updated