Comments (15)
Did you upgrade your MCDC version when you restarted the server this time?
from discord-mc-chat.
I did not change the MCDC version
from discord-mc-chat.
I tested in my test server and found no problem. Below is my server environment:
- Minecraft 1.17.1 with Fabric Loader 0.13.3
- Installed mods:
- fabric 0.46.1+1.17
- carpet 1.4.57
- lithium 0.7.5
- mcdiscordchat 1.17-1.12.1
- phosphor 0.8.0
Also, to simulate your configuration, I added /msg
to excludedCommands
, but still no problem.
Did you find any errors or exceptions in the console?
My mcdiscordchat.json
:
{
"generic": {
"switchLanguageFromChinToEng": false,
"botToken": "hidden",
"botListeningStatus": "",
"webhookURL": "hidden",
"channelId": "hidden",
"consoleLogChannelId": "hidden",
"worldName": "world",
"avatarAPI": "https://visage.surgeplay.com/bust/%player%.png",
"modifyChatMessages": true,
"broadcastCommandExecution": true,
"multiServer": true,
"useUUIDInsteadNickname": true,
"membersIntents": true,
"announcePlayers": true,
"announceAdvancements": true,
"announceDeaths": true,
"announceHighMSPT": true,
"msptLimit": 50,
"removeVanillaFormattingFromDiscord": false,
"removeLineBreakFromDiscord": false,
"botCommandPrefix": "!",
"excludedCommands": [
"/tell",
"/msg"
],
"superAdminsIds": [],
"adminsIds": [
"hidden",
"hidden"
],
"bannedDiscord": [],
"bannedMinecraft": []
},
"multiServer": {
"serverDisplayName": "TEST",
"botName": "MCDC Bot"
},
"textsZH": {
"serverStarted": "**[TEST] 已启动!**",
"serverStopped": "**[TEST] 已关闭!**",
"joinServer": "**%playername% 加入了 [TEST]**",
"leftServer": "**%playername% 离开了 [TEST]**",
"deathMessage": "**%deathmessage%**",
"advancementTask": "**%playername% 达成了进度 [%advancement%]**",
"advancementChallenge": "**%playername% 完成了挑战 [%advancement%]**",
"advancementGoal": "**%playername% 达成了目标 [%advancement%]**",
"highMSPT": "**%mentionAllAdmins% 服务器 MSPT (%mspt%) 高于 %msptLimit%!**",
"consoleLogMessage": "**[%timestamp%] [INFO]:** %message%",
"blueColoredText": "[%servername%] ",
"roleColoredText": "<%name%>",
"colorlessText": " %message%"
},
"textsEN": {
"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": "**%mentionAllAdmins% Server MSPT (%mspt%) is above %msptLimit%!**",
"consoleLogMessage": "**[%timestamp%] [INFO]:** %message%",
"blueColoredText": "[%servername%] ",
"roleColoredText": "<%name%>",
"colorlessText": " %message%"
}
}
from discord-mc-chat.
There are no errors or warns in the console.
from discord-mc-chat.
Also, messages sent on discord appear in the in-game chat. Do I need to allow another port through the firewall?
from discord-mc-chat.
Also, messages sent on discord appear in the in-game chat. Do I need to allow another port through the firewall?
I think this just means JDA (Java Discord API) is working.
Please try to use my config (remember to backup your own) and leave only fabric 0.46.1+1.17
and mcdiscordchat 1.17-1.12.1
and see if the same problem still occurs.
from discord-mc-chat.
Please provide more information. If you have resolved the problem on your own, please let me know too. Thx.
from discord-mc-chat.
Please provide more information. If you have resolved the problem on your own, please let me know too. Thx.
If there is still no new activity after 7 days, the issue will be marked invalid
and closed.
from discord-mc-chat.
I believe the factions mod is the only mod with mixins into the chat.
The factions mod @Redirect
the method handleMessage
in ServerPlayNetworkHandler
to another place:
@Redirect(method = "handleMessage", at = @At(value = "INVOKE", target = "..."))
private void replaceChatMessage(PlayerManager playerManager, Text serverMessage, Function<ServerPlayerEntity, Text> playerMessageFactory, MessageType playerMessageType, UUID sender, TextStream.Message message) {
ChatEvents.handleMessage(player, message.getRaw());
}
The method of MCDC to obtain chat messages sent by players in the server is to @Inject
the same method, so MCDC no longer works.
from discord-mc-chat.
You'll need to modify the Faction Mod yourself to fix this.
from discord-mc-chat.
Hello, sorry for the very delayed responses. I've found the time to do more testing today, and I removed all mods other than Fabric API 0.46.1, Loader 0.13.3, and the latest MCDC 2.0.0, and I still have the same issues. I've also tried re-inviting the bot to the server, but to no avail. I still receive the same "Server started!" and "Server stopped!" messages, and the logs channel still works.
from discord-mc-chat.
I'm on JAVA 17.0.1, and I've run system updates, neither of which have resolved the issues. I'm running on an Oracle Ampere AARCH Linux, and the server is being run in a tmux instance, if any of this information is helpful.
from discord-mc-chat.
It's ok. 👌👍
Since you are running the server on a Linux machine, I think you issue might be related to two previous MCDC issues (#11 and #18) that were resolved by updating Java to 17.0.2. Maybe try updating to Java 17.0.2 first?
from discord-mc-chat.
That worked perfectly, thank you so much!
from discord-mc-chat.
Ok! 👌
from discord-mc-chat.
Related Issues (20)
- 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
- [Question] Custom command to restart my server doesn't seem to work. HOT 13
- [Enhancement] Separate formatChatMessages into 2 (or more?) settings. HOT 1
- [Bug] Formatting breaks emotes/emoji. Should ignore body of emotes HOT 2
- [Enhancement] Fabric tailor mod support for skin avatars
- [Enhancement] Proximity Chat Discord-Minecraft 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.