Discord

Discord webhook logging for Alpy SafeZones.

Optional Discord webhooks in server/server.config.lua log admin and player activity to separate channels.

ServerConfig.Discord = {
  ZoneManagement = '',  -- create / update / delete
  PlayerActivity  = '',  -- enter / exit (enable ServerConfig.Settings.discord)
  AdminAccess     = '',  -- menu opened
  BotName   = 'AlpySafeZones',
  AvatarUrl = '',
  Color     = 39423,
}

Webhook types

  • ZoneManagement — zone created, updated, or deleted
  • PlayerActivity — player entered or left a zone (requires Settings.discord = true)
  • AdminAccess — an admin opened /safezones

Leave a URL as an empty string to disable that webhook type.

Need help?

Join Discord with your framework, permission setup, and any server console errors if zones do not save or rules do not apply.