-
Notifications
You must be signed in to change notification settings - Fork 1
Chat bridge
Two-way synchronisation between Minecraft chat and a Discord channel.
chat:
use-webhooks: true
webhook-name: "%displayname%"
avatar-url: "https://crafatar.com/avatars/%uuid%?overlay=true"
minecraft-format: "&9[Discord] &b%name% &8> &f%message%"
show-attachments: true
attachment-text: "&e[Attachment] &7(Click to open)"When use-webhooks is true, ZDiscord creates a webhook named ZChat in the configured channel. Minecraft messages are sent through that webhook so each player appears with their own username and skin. If the webhook is deleted, ZDiscord will create a new one on the next message.
When use-webhooks is false, all Minecraft messages are sent as the bot itself. The bot's name is used for every message and the player's name is included in the content.
Discord allows four webhooks per channel per two seconds. ZDiscord schedules deferred sends on a background executor and does not block the caller's thread.
Players need the zdiscord.chat permission for their chat to be forwarded. By default this is granted to all players.