Comments (15)
Ah ok I see, that's fair then.
And yes Chinese, but my Mandarin is not great these days.
Thanks for the response! Looking forward to seeing more development in the mod. :)
from discord-mc-chat.
Hmmm this is only a temporary solution. I will add markdown escaping to fix this bug so that you can show your nickname in Minecraft.
I think \ is the only symbol 🤔
from discord-mc-chat.
Hmmm this is only a temporary solution. I will add markdown escaping to fix this bug so that you can show your nickname in Minecraft.
Fixed
from discord-mc-chat.
Hmmm this is only a temporary solution. I will add markdown escaping to fix this bug so that you can show your nickname in Minecraft.
Fixed
Tested and it works without issues. Thank you! :)
from discord-mc-chat.
presumably the player adding requirements towards reaching the advancement (in our case, players were setting foot in biomes they haven't found before)
This should be the reason.
If possible, I hope there is a way to choose what messages are to be sent to which Discord channel and which ones we can disable.
If I have a way to fix advancements not sending correctly, do you still need to disable them?
from discord-mc-chat.
If I have a way to fix advancements not sending correctly, do you still need to disable them?
If it can be fixed, it's not necessary to disable them for the main server chat channel, but might be useful for us to disable it for the logs channel. In another Fabric-Discord chat mod I'm using currently (Fabric-Discord Link), it allows us to choose what message we'd like to disable for the server chat vs the log channel, which is useful just so that chat messages and other things do not drown out other messages that is more relevant in the log channel.
from discord-mc-chat.
The current MCDC code does not send this kind of messages to the log channel, only chat channel. To keep the Config uncomplicated, I won't do a way to disable them.
from discord-mc-chat.
Oh? The first time I tested it still sent in game chat messages to the log channel. Here's a screenshot:
I made sure to input the IDs for the server chat and and the log channel separately. Is there something in the settings that I missed?
from discord-mc-chat.
Oh, I mean advancement messages are not sent, player chats are still sent. This is to keep the log channel and console log with the same content. Chinese?
from discord-mc-chat.
Please try the latest build version and see if there is any problem.
from discord-mc-chat.
Hello! Been a bit busy and missed your latest reply. I've downloaded the latest build (#94) and did some testing, so far the advancements are working fine.
However, I encountered a new issue which I'm not sure how to solve. The Discord messages are not sending to the in game chat and this error appears in the console:
from discord-mc-chat.
Please check if the Texts of your Config are formatted incorrectly.
from discord-mc-chat.
I think I need help with this because this part looks new. I didn't change any of the formatting of the texts, only the channel description (which is working fine it seems). I don't see any docs on how to change the formatting so I'm not sure how to do it.
Here's the text configs on my config file:
"textsEN": {
"unformattedResponseMessage": " ┌──── <%name%> %message%",
"unformattedChatMessage": "[%server%] <%name%> %message%",
"unformattedOtherMessage": "[%server%] %message%",
"formattedResponseMessage": "[{\"text\":\" ┌──── \",\"bold\":true,\"color\":\"dark_gray\"},{\"text\":\"<%name%> \",\"bold\":false,\"color\":\"%roleColor%\"},{\"text\":\"%message%\",\"bold\":false,\"color\":\"dark_gray\"}]",
"formattedChatMessage": "[{\"text\":\"[%server%] \",\"bold\":true,\"color\":\"blue\"},{\"text\":\"<%name%> \",\"bold\":false,\"color\":\"%roleColor%\"},{\"text\":\"%message%\",\"bold\":false,\"color\":\"gray\"}]",
"formattedOtherMessage": "[{\"text\":\"[%server%] \",\"bold\":true,\"color\":\"blue\"},{\"text\":\"%message%\",\"bold\":false,\"color\":\"gray\"}]",
"serverStarted": "**Server started!**",
"serverStopped": "**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": "[%time%] [INFO] %message%",
"offlineChannelTopic": ":x: Server offline | Last updated: <t:%lastUpdateTime%:f>",
"onlineChannelTopic": ":white_check_mark: %onlinePlayerCount%/%maxPlayerCount% player(s) online | Server started <t:%serverStartedTime%:R> | Last updated: <t:%lastUpdateTime%:f>",
"onlineChannelTopicForMultiServer": ":white_check_mark: %onlinePlayerCount%/%maxPlayerCount% player(s) online | %uniquePlayerCount% unique player(s) ever joined | %onlineServerCount% server(s) online [%onlineServerList%] | Server started <t:%serverStartedTime%:R> | Last updated: <t:%lastUpdateTime%:f>"
}
from discord-mc-chat.
What is your nickname in the Discord server? Try removing the \
from discord-mc-chat.
Ah, ok it works now. Removed the \ from my Discord nickname and it's now sending in-game. Are there any other symbols that needs to be removed from nicknames? Just in case others get affected too.
EDIT: Nevermind! Changed useServerNickname to false so the issue shouldn't arise again anytime soon. Thanks! xD
from discord-mc-chat.
Related Issues (20)
- [Bug] Discord users without a role color can't send messages to server HOT 1
- [Bug] My discord server is gone after I reinstalled my minecraft server software??????? HOT 3
- [Question] - Multiple Bots for Multiple Channels HOT 12
- [Bug] Discord -> Minecraft messages don't show up HOT 9
- [Bug] Minecraft player nicknames (display names) are used inconsistently in messages sent to Discord HOT 2
- TODO List
- [Bug] Delay between sending a message in minecraft and its appearance in the minecraft chat HOT 3
- [Enhancement] ChatImage Support HOT 6
- [Bug] Exception "Content may not be longer than 2000 characters" occurs in /stats command HOT 1
- [Question] How to customize messages sent from discord? HOT 2
- [Enhancement] Move documentation from blog to github
- [Support] 1/2 servers set up in multi server mode fails to send messages to discord and both fail to send messages to each other HOT 20
- [Bug] Incorrect Display of Server TPS HOT 1
- [Bug] Links containing multiple underscores are italicized (and cannot be opened correctly from Minecraft) HOT 1
- [Bug] broadcastPlayerCommandExecution and broadcastSlashCommandExecution not applying when set to false HOT 2
- [Bug] Commands are being broadcasted despite the config toggle being turned off HOT 2
- [Question] How to see in-game chat while using Discord MC Chat with Styled Chat HOT 10
- [Enhancement] Add Geyser Skin API for avatars HOT 1
- [Bug] Server crashes due to player deaths caused by falling blocks and intentional game design HOT 3
- [Question] How does the "channelTopicUpdateInterval" field work? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-mc-chat.