Configuration

Configuration

---@class Config
---@field debug boolean
---@field Locale string
---@field KVPString string
---@field keybind string
---@field command string
---@field Notify fun(title: string, msg: string, type: string)
---@field Debug fun(msg: string)

config = {
    debug = true,

    Locale = "en",

    KVPString = "rk-fps-settings",

    interact = {
        keybind = "F11",
        command = "fps"
    },

    Notify = function(title, msg, type)
        lib.notify({
            title = title,
            description = msg,
            type = type
        })
    end,

    Debug = function(msg)
        if config.debug then
            print("^3[DEBUG] " .. msg .. "^7")
        end
    end
}

Last updated