Webhook Settings
Configure Discord webhook logging for player spawn events.
General Settings
| Option | Default | Description |
|---|---|---|
Webhook.LogOnEveryRespawn | false | Log every respawn or only first join |
Webhook.SuppressDuplicateWithinMs | 5000 | Debounce time for duplicate prevention |
Webhook.HideIP | true | Mask IP addresses in webhook |
Webhook Endpoint
lua
Webhook.Webhooks = {
spawn = {
enabled = true,
url = "https://discord.com/api/webhooks/...",
username = "Spawn Logger",
useEmbeds = true,
color = 5763719,
showFooter = true,
},
}
Displayed Fields
| Option | Default | Description |
|---|---|---|
Webhook.Fields.showPlayerName | true | Show player name |
Webhook.Fields.showCharacter | true | Show character name/ID |
Webhook.Fields.showIdentifiers | true | Show license/Discord/Steam |
Webhook.Fields.showCoords | true | Show spawn coordinates |
Webhook.Fields.showSessionInfo | true | Show server ID, ping, slots |
Identifier Display Order
lua
Webhook.IdentifierOrder = {
'license', 'fivem', 'discord', 'steam', 'xbl', 'live', 'ip'
}
