Discord logging
Send messages and embeds to named Discord webhooks from any plugin.
Docs updated · What changed
On this page
Name your webhooks in ALBCore's config.yml, then send from any plugin. Requests run in the background, and mentions are always disabled so logged player text can never ping anyone.
Set up a webhookLink to this section
discord:
webhooks:
staff:
url: "https://discord.com/api/webhooks/..."
username: "Server logs"/albcore reload applies webhook changes without a restart.
Send messagesLink to this section
DiscordLogger.on("staff").warning("Big trade", "${a.name} gave ${b.name} 64 diamonds")
DiscordLogger.on("staff").embed {
title = "Boss killed"
color = DiscordColor.PURPLE
field("Floor", "E", inline = true)
timestamp = true
}