Skip to the content
Docs

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'
}
FieldDescription
urlThe Discord webhook URL
nameDisplay name used in the webhook message
avatarAvatar URL shown next to the message

Logged events

EventWhen it fires
DeploymentAn officer takes a loadout
ReturnAn officer returns a loadout
Emergency / disconnectOfficer disconnects while holding a kit
Admin force-closeAn admin closes a stuck deployment
Settings changeA boss/admin changes a setting in the UI
Loadout editA boss/admin edits a loadout in the UI