Discord-MC-Chat icon indicating copy to clipboard operation
Discord-MC-Chat copied to clipboard

[Bug] Placeholders not filled

Open SaiCode-DEV opened this issue 2 years ago • 4 comments

Existing Issues Searched

Simplest Environment Tested

  • [X] I confirm that this problem still exists with only MCDiscordChat and Fabric API installed.

Docs and Changelog Read

  • [X] I confirm that I followed the MCDC Docs and read the Changelog, but this problem still exists.

Java Version

JAVA 17

Minecraft Version

1.18.2

MCDiscordChat Version

MCDiscordChat-1.18-2.0.0-alpha.1.jar

Description

Placeholders not getting filled

image

image

To Reproduce

installed mod - joined game

Log

console log normal (no errors)

Config

{
  "generic": {
    "useEngInsteadOfChin": true,
    "botToken": "[deleted]",
    "botPlayingStatus": "Minecraft",
    "botListeningStatus": "",
    "webhookUrl": "https://discord.com/api/webhooks/[deleted]",
    "channelId": "844241007511339038",
    "consoleLogChannelId": "844241242278985829",
    "useUuidInsteadOfName": true,
    "avatarApi": "https://mc-heads.net/avatar/%player%.png",
    "broadcastCommandExecution": true,
    "announceHighMspt": true,
    "msptLimit": 50,
    "excludedCommands": [
      "/tell"
    ],
    "adminsIds": []
  },
  "multiServer": {
    "enable": false,
    "host": "127.0.0.1",
    "port": 5000,
    "name": "SMP"
  },
  "textsZH": {
    "serverStarted": ".",
    "serverStopped": "..",
    "joinServer": "...",
    "leftServer": "....",
    "deathMessage": "**%deathmessage%**",
    "advancementTask": "**%playername% 达成了进度 [%advancement%]**",
    "advancementChallenge": "**%playername% 完成了挑战 [%advancement%]**",
    "advancementGoal": "**%playername% 达成了目标 [%advancement%]**",
    "highMspt": "**服务器 MSPT (%mspt%) 高于 %msptLimit%!**",
    "consoleLogMessage": "**[%timestamp%] [INFO]:** %message%"
  },
  "textsEN": {
    "serverStarted": ":white_check_mark: **Server started!**",
    "serverStopped": ":octagonal_sign: **Server stopped!**",
    "joinServer": "**%playername% joined the game**",
    "leftServer": "**%playername% left the game**",
    "deathMessage": "**%deathmessage%**",
    "advancementTask": "**%playername% has made the advancement [%advancement%]**",
    "advancementChallenge": "**%playername% has completed the challenge [%advancement%]**",
    "advancementGoal": "**%playername% has reached the goal [%advancement%]**",
    "highMspt": "**Server MSPT (%mspt%) is above %msptLimit%!**",
    "consoleLogMessage": "**[%timestamp%] [INFO]:** %message%"
  }
}

SaiCode-DEV avatar Apr 11 '22 08:04 SaiCode-DEV