> ## Documentation Index
> Fetch the complete documentation index at: https://lua.wingless.one/llms.txt
> Use this file to discover all available pages before exploring further.

# Config

> Read and write cheat settings.

Read and write cheat settings.

## Functions

| Function | Returns | Description |
| - | - | - |
| `config.get(key)` | value / `nil` | Read a setting |
| `config.set(key, value)` | `bool` | Write a setting |
| `config.keys([prefix])` | `table` | List setting keys, optionally filtered by prefix |

Keys are dot-separated paths matching the menu structure. Use `config.keys()` to discover available keys.

## Example

```lua theme={null}
-- read current ragebot state
local enabled = config.get('ragebot.enable')

-- list all world settings
local keys = config.keys('world')
for _, k in ipairs(keys) do
    print(k, config.get(k))
end
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.