Comments (9)
Such as? Include your generated config here.
from discord-mc-chat.
Generated config
{
"generic": {
"useEngInsteadOfChin": true,
"botToken": "xxxx",
"botPlayingStatus": "Minecraft",
"botListeningStatus": "",
"webhookUrl": "xxxx",
"channelId": "xxxx",
"consoleLogChannelId": "xxxx",
"useUuidInsteadOfName": true,
"avatarApi": "https://mc-heads.net/avatar/%player%.png",
"broadcastCommandExecution": false,
"allowMentions": true,
"modifyChatMessages": true,
"useServerNickname": true,
"announceHighMspt": true,
"msptCheckInterval": 5000,
"msptLimit": 50,
"mentionAdmins": true,
"updateChannelTopic": true,
"channelTopicUpdateInterval": 600000,
"excludedCommands": [
"/tell"
],
"adminsIds": [
"xxxx"
]
},
"multiServer": {
"enable": false,
"host": "127.0.0.1",
"port": 5000,
"name": "SMP",
"botIds": []
},
"textsZH": {
"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": "**服务器已启动!**",
"serverStopped": "**服务器已关闭!**",
"joinServer": "**%playerName% 加入了服务器**",
"leftServer": "**%playerName% 离开了服务器**",
"deathMessage": "**%deathMessage%**",
"advancementTask": "**%playerName% 达成了进度 [%advancement%]**",
"advancementChallenge": "**%playerName% 完成了挑战 [%advancement%]**",
"advancementGoal": "**%playerName% 达成了目标 [%advancement%]**",
"highMspt": "**服务器 MSPT (%mspt%) 高于 %msptLimit%!**",
"consoleLogMessage": "[%time%] [INFO] %message%",
"offlineChannelTopic": ":x: 服务器离线 | 最后更新于:<t:%lastUpdateTime%:f>",
"onlineChannelTopic": ":white_check_mark: %onlinePlayerCount%/%maxPlayerCount% 位玩家在线 | 服务器玩家总数:%uniquePlayerCount% | 服务器于 <t:%serverStartedTime%:R> 启动 | 最后更新于:<t:%lastUpdateTime%:f>",
"onlineChannelTopicForMultiServer": ":white_check_mark: %onlinePlayerCount%/%maxPlayerCount% 位玩家在线 | 服务器玩家总数:%uniquePlayerCount% | %onlineServerCount% 个服务器在线 [%onlineServerList%] | 服务器于 <t:%serverStartedTime%:R> 启动 | 最后更新于:<t:%lastUpdateTime%:f>"
},
"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 | %uniquePlayerCount% unique player(s) ever joined | 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.
I am also not sure how the commands work? I tried using them in the chat and the console channels with "/" prefix and didnt seem towork.
from discord-mc-chat.
It seems that you used to be a user of MCDC v1. MCDC v2 has been redesigned and some configuration options have been renamed or removed because they are no longer needed. As you said command prefix, the new version uses Discord's Slash (Application) Command function, so it is unified to use /. Discord needs some time to refresh application command, which takes about an hour.
from discord-mc-chat.
I see, so generating a new config should help?
from discord-mc-chat.
Yes. Generate a new one to avoid conflicts.
from discord-mc-chat.
The same config as above is generating with MCDiscordChat-1.18-2.0.0-alpha.3 of the mod
from discord-mc-chat.
The available options are the same because the mod read all the values and re-generate a new config with same-name variables inserted, but some of the values of MCDC v1 are different to v2 and cannot be auto-updated.
All your problems should be solved.
from discord-mc-chat.
The available options are the same because the mod read all the values and re-generate a new config with same-name variables inserted, but some of the values of MCDC v1 are different to v2 and cannot be auto-updated.
All your problems should be solved.
I just made some edits to my answer, hope this helps understanding better.
from discord-mc-chat.
Related Issues (20)
- [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
- [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
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.