[skip ci] Enhance configuration for Minecraft message handling with detailed comments and explanation

This commit is contained in:
Xujiayao 2026-03-20 10:42:40 +08:00
parent 77166037e7
commit 8c6643e658
3 changed files with 17 additions and 3 deletions

View file

@ -82,13 +82,19 @@ message_parsing:
# unicode_emojis: true
# hyperlinks: true
# timestamps: true
minecraft_to_minecraft:
minecraft_to_minecraft: # For overwrite_minecraft_source_messages only
markdown: true
unicode_emojis: true
custom_emojis: true
mentions: true
hyperlinks: true
timestamps: true
# Once enabled, ci.cancel() [PlayerChat, SourceSay, SourceTellRaw, SourceMsg, SourceMe]
# to prevent the original message from being processed by Minecraft, and instead broadcast
# the parsed message back (including the sender's own client).
# ---
# So, enabling this = enabling [player.chat, source.say, source.tell_raw, source.msg, source.me]
# for the source DMCC client.
overwrite_minecraft_source_messages: false
# 命令过滤设置

View file

@ -75,7 +75,7 @@ broadcasts:
tell_raw: "in-game-chat"
msg: "in-game-chat" # msg / tell / w
me: "in-game-chat"
minecraft_to_minecraft:
minecraft_to_minecraft: # For other_dmcc_clients only
server:
started: true
stopped: true
@ -116,13 +116,19 @@ message_parsing:
# unicode_emojis: true
# hyperlinks: true
# timestamps: true
minecraft_to_minecraft:
minecraft_to_minecraft: # For other_dmcc_clients & overwrite_minecraft_source_messages
markdown: true
unicode_emojis: true
custom_emojis: true
mentions: true
hyperlinks: true
timestamps: true
# Once enabled, ci.cancel() [PlayerChat, SourceSay, SourceTellRaw, SourceMsg, SourceMe]
# to prevent the original message from being processed by Minecraft, and instead broadcast
# the parsed message back (including the sender's own client).
# ---
# So, enabling this = enabling [player.chat, source.say, source.tell_raw, source.msg, source.me]
# for the source DMCC client.
overwrite_minecraft_source_messages: false
# 命令过滤设置

View file

@ -116,6 +116,7 @@ discord_to_minecraft:
bold: false
color: "gray"
# These are for system_messages
minecraft_to_xxxxx:
server:
start: ":white_check_mark: **服务器已启动!**"
@ -132,6 +133,7 @@ minecraft_to_xxxxx:
source:
me: ":eyes: **{display_name} {action}**"
# These are for user_messages
minecraft_to_discord:
user_message:
enabled_fake_user_style: