Bot Logging¶
When the Discord bot logging channel is configured, moderation actions are sent to Discord through the bot instead of webhooks. Webhook notifications are disabled when bot logging is active.
Configuring the Logging Channel¶
- In Discord, right-click the channel where you want logs sent and select Copy Channel ID.
- Add the channel ID to your
server.cfg:
1 | |
All moderation actions (bans, kicks, warns, mutes, etc.) are sent to this channel as embed messages.
Log Forwarding¶
Forward specific log types to additional channels using the ea_addBotLogForwarding command:
1 2 | |
Available log types:
kick— Player kick notificationsban— Player ban notificationsslap— Slap action notificationswarn— Warning notificationsteleport— Teleport notificationsfreeze— Freeze/unfreeze notificationsspectate— Spectate notificationssettings— Server setting changes, resource start/stop, announcementscalladmin— Player calladmin reportsreport— Player report notificationsreports— Report claim/close notificationsscreenshot— Screenshot capture notificationspermissions— Permission editsjoinleave— Player join/leave notifications
Run the command with a log type and channel ID to forward that type. Run without arguments to list current forwarding rules.
Webhook Fallback¶
When bot logging is not configured (ea_botLogChannel is empty), EasyAdmin falls back to webhook notifications as described in the Webhooks guide.