Discord webhooks
5CODE Loadouts mirrors key events to a Discord webhook for audit and command oversight.
Config.Webhook
lua
Config.Webhook = {
url = '[YOUR DISCORD LINK]',
name = '5Code Loadouts',
avatar = 'https://i.imgur.com/your-avatar.png'
}| Field | Description |
|---|---|
url | The Discord webhook URL |
name | Display name used in the webhook message |
avatar | Avatar URL shown next to the message |
Logged events
| Event | When it fires |
|---|---|
| Deployment | An officer takes a loadout |
| Return | An officer returns a loadout |
| Emergency / disconnect | Officer disconnects while holding a kit |
| Admin force-close | An admin closes a stuck deployment |
| Settings change | A boss/admin changes a setting in the UI |
| Loadout edit | A boss/admin edits a loadout in the UI |