Pular para o conteúdo principal

Chat Sync Manifest

Manifest entry for chat synchronization between Minecraft and Discord. Delivery is routed per channel: channels with discordChannelIds go through the bot client, the others fall back to the manifest webhook. Channels can also relay Discord messages back into the game.

Configuration

FieldTypeDefaultDescription
enabledBooleantrueWhether chat synchronization is enabled
channelsList<ChatChannelConfig>[]Chat channels configuration (see below)
webhookWebhookSettingsFallback webhook for channels without bot channel IDs
defaultChannelString"global"Channel used when no channel matches the player
playerNameFormatString"{player}"Formats the name injected as {player} (placeholders: {player}, {displayname})
sendJoinLeaveBooleantrueWhether to send join/leave messages to Discord
joinMessageFormatString"**{player}** joined the server"Join message format
leaveMessageFormatString"**{player}** left the server"Leave message format

Channel

FieldTypeDefaultDescription
channelNameString"global"Unique identifier for this channel
discordChannelIdsList<String>[]Discord channel IDs delivered through the bot (webhook fallback when empty)
messageFormatString"**{player}**: {message}"Message format (placeholders: {player}, {displayname}, {message}, {world}, {x}, {y}, {z})
enabledBooleantrueWhether this channel is enabled
permissionString""Permission required to match this channel (empty = everyone)
discordToMinecraftBooleanfalseRelay Discord messages from discordChannelIds back into Minecraft chat
minecraftFormatString"<blue>[Discord]</blue> <gray>{author}:</gray> {message}"In-game format for relayed messages (placeholders: {author}, {message})

Discord → Minecraft relay

When discordToMinecraft is enabled and the bot (from the Discord link manifest) is connected, messages posted in the channel's discordChannelIds are broadcast in game to every player matching the channel's permission, formatted with minecraftFormat (MiniMessage).