Create Custom Actions and toggles in quick menu

config/custom_functions/client.lua

--[[  Quick Menu ]]

--- Register Action
RegisterQuickAction("custom_action_1", "Custom Action 1", "material-icon-theme:test-ts", "#f54266",
    function(target, callServer)
        print("Custom Action 1")
    end)

--- Register toggle

--- Must return a boolean
RegisterQuickToggle("custom_toggle_1", "Custom Toggle 1", "material-icon-theme:test-ts", "#f54266",
    function()
        local state = false

        state = true

        return state
    end)

⚙️ New Config Options

 "default_dark_mode": true,
 "logs": {
    "_comment_": "Adjust as needed",
    "enabled": true,
    "max_age_days": 30,

    "options": {
      "chat_messages": false,
      "player_deaths": true
    }
  },

📂 Files changed