mirror of
https://github.com/System-End/Discord-MC-Chat.git
synced 2026-04-19 16:28:23 +00:00
Update configuration and localization
This commit is contained in:
parent
28c915d52e
commit
3b7a48cbbf
5 changed files with 7 additions and 7 deletions
|
|
@ -430,7 +430,7 @@ public final class DiscordMessageParser {
|
|||
* @return The mention notification text.
|
||||
*/
|
||||
public static String getMentionNotificationText(String effectiveName) {
|
||||
String template = I18nManager.getCustomMessages().path("discord_to_minecraft").path("mentioned").asText();
|
||||
String template = I18nManager.getCustomMessages().path("xxxxx_to_minecraft").path("mentioned").asText();
|
||||
return template.replace("{effective_name}", effectiveName);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ account_linking:
|
|||
enable: true
|
||||
style: "title" # action_bar, title, or chat
|
||||
discord_user_avatar_for_webhooks: false
|
||||
use_discord_role_color_for_mc_messages: true
|
||||
use_discord_role_color_for_mc_chats: true
|
||||
|
||||
# DMCC 命令权限设置
|
||||
# 配置要求执行命令的最低 OP 等级。
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ account_linking:
|
|||
enable: true
|
||||
style: "title" # action_bar, title, or chat
|
||||
discord_user_avatar_for_webhooks: false
|
||||
use_discord_role_color_for_mc_messages: true
|
||||
use_discord_role_color_for_mc_chats: true
|
||||
|
||||
# DMCC 命令权限设置
|
||||
# 配置要求执行命令的最低 OP 等级。
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ version: ${mod_version}
|
|||
# ==================================================
|
||||
|
||||
xxxxx_to_minecraft: # for both discord_to_minecraft and minecraft_to_minecraft
|
||||
mentioned: "{effective_name} mentioned you!"
|
||||
user_message:
|
||||
- text: "[{server}] "
|
||||
bold: true
|
||||
|
|
@ -34,7 +35,7 @@ xxxxx_to_minecraft: # for both discord_to_minecraft and minecraft_to_minecraft
|
|||
bold: false
|
||||
color: "gray"
|
||||
|
||||
overwrite:
|
||||
overwrite: # for source DMCC client only
|
||||
standalone:
|
||||
user_message:
|
||||
- text: "[{server}] "
|
||||
|
|
@ -67,7 +68,6 @@ overwrite:
|
|||
color: "white"
|
||||
|
||||
discord_to_minecraft:
|
||||
mentioned: "{effective_name} mentioned you!"
|
||||
response: # 回复其它用户的消息时,原消息的格式
|
||||
- text: " ┌──── "
|
||||
bold: true
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ version: ${mod_version}
|
|||
# ==================================================
|
||||
|
||||
xxxxx_to_minecraft: # for both discord_to_minecraft and minecraft_to_minecraft
|
||||
mentioned: "{effective_name} 提及了你!"
|
||||
user_message:
|
||||
- text: "[{server}] "
|
||||
bold: true
|
||||
|
|
@ -34,7 +35,7 @@ xxxxx_to_minecraft: # for both discord_to_minecraft and minecraft_to_minecraft
|
|||
bold: false
|
||||
color: "gray"
|
||||
|
||||
overwrite:
|
||||
overwrite: # for source DMCC client only
|
||||
standalone:
|
||||
user_message:
|
||||
- text: "[{server}] "
|
||||
|
|
@ -67,7 +68,6 @@ overwrite:
|
|||
color: "white"
|
||||
|
||||
discord_to_minecraft:
|
||||
mentioned: "{effective_name} 提及了你!"
|
||||
response: # 回复其它用户的消息时,原消息的格式
|
||||
- text: " ┌──── "
|
||||
bold: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue