Skip to main content

Webhook Settings

Discord webhook logging configuration

This section

Webhook Settings

Configure Discord webhook logging for player spawn events.

General Settings​

OptionDefaultDescription
Webhook.LogOnEveryRespawnfalseLog every respawn or only first join
Webhook.SuppressDuplicateWithinMs5000Debounce time for duplicate prevention
Webhook.HideIPtrueMask 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​

OptionDefaultDescription
Webhook.Fields.showPlayerNametrueShow player name
Webhook.Fields.showCharactertrueShow character name/ID
Webhook.Fields.showIdentifierstrueShow license/Discord/Steam
Webhook.Fields.showCoordstrueShow spawn coordinates
Webhook.Fields.showSessionInfotrueShow server ID, ping, slots

Identifier Display Order​

lua
Webhook.IdentifierOrder = {
'license', 'fivem', 'discord', 'steam', 'xbl', 'live', 'ip'
}