โš™๏ธConfiguration

Check the standard Config!

Config.lua
Config = {}

Config.Discord = {
    On = true,
    title = "S-Notify - Logs",
    color = 11027200,
    avatar_url = "https://cdn.discordapp.com/attachments/1111651214241837109/1121531249299837089/S-Service_Logo_Oanim.png",
    footertext = "S-Scripts",
    icon_url = "https://cdn.discordapp.com/attachments/1111651214241837109/1121531249299837089/S-Service_Logo_Oanim.png",
    thumbnailurl = "https://cdn.discordapp.com/attachments/1111651214241837109/1121531249299837089/S-Service_Logo_Oanim.png",
    webhook = "YOUR WEBHOOK"
}

Config.WebhooksEnable = {
    Announces = true,
    teamchat = true
}

Config.AnnounceNotifys = {
    ServerAnnounce = {
        command = "serverannounce", -- Command name
        lentghtime = 10,
        -- In Seconds
        Ace = {
            {
                name = "" -- Ace Perm / Or Group
            }
        }
    },
    AdminChat = {
        command = "tc",
        -- Command name
        Ace = {
            {
                name = "admin" -- Ace Perm / Or Group
            }
        }
    },
    Eventannounce = {
        command = "eventannounce",
        -- Command name
        lentghtime = 10,
        -- In Seconds
        Ace = {
            {
                name = "admin"
                -- Ace Perm / Or Group
            }
        }
    },
    Policeannounce = {
        command = "policeannounce",
        -- Command name
        lentghtime = 10,
        -- In Seconds
        jobs = {
            {
                name = ""
                -- Job name
            }
        }
    },
    Medicannounce = {
        command = "medicannounce",
        -- Command name
        lentghtime = 10,
        -- In Seconds
        jobs = {
            {
                name = ""
                -- Job name
            }
        }
    },
    FactionAnnounce = {
        enable = true,
        command = "factionannounce",
        factionsannouncegrades = {
            1,
            2,
            3,
            4,
            12
        },
        jobs = {
            {
                name = "police"
                -- Job name
            }
        },
        lentghtime = 10
    }
}

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

Last updated