介绍
Discord Syncer
Keeps your Minecraft server and Discord channel in sync. Players see Discord messages in-game, and Discord sees everything happening on the server.
Features
- Minecraft chat → Discord channel
- Discord channel → Minecraft chat
- Player death messages posted to Discord (formatting codes stripped)
- Player join/leave messages with live online count
- Player advancement notifications
- Server online/offline announcements
- Server crash detection
/rconslash command for running server commands from Discord (admin only)- Lycanites Mobs event notifications (configurable)
- Scaling Health blight death notifications (configurable)
- Configurable prefix color (16 colors)
- Configurable message format
- Server-side only, clients don’t need the mod installed
Setup
- Create a bot at discord.com/developers
- Under the Bot page, enable the Message Content Intent
- Invite the bot with Read Messages + Send Messages permissions
- Launch the server once to generate config/discordsyncer.cfg
- Fill in botToken and channelId, then restart
Configuration
| Option | Default | Description |
|---|---|---|
botToken |
— | Your Discord bot token |
channelId |
— | ID of the channel to sync with |
guildId |
— | Your Discord server ID for instant slash command registration (optional) |
mcToDiscordFormat |
**{player}**: {message} |
Format for MC → Discord messages |
discordPrefix |
[Discord] |
Prefix shown in Minecraft chat |
minecraftPrefix |
[Minecraft] |
Prefix shown in Discord |
prefixColor |
purple |
Prefix color in Minecraft chat |
showPlayerDeaths |
true |
Post death messages to Discord |
showPlayerJoin |
true |
Post join messages to Discord |
showPlayerLeave |
true |
Post leave messages to Discord |
showAdvancements |
true |
Post advancement unlocks to Discord |
announceServerStatus |
true |
Post online/offline to Discord |
showExternalModEvents |
true |
Post Lycanites/Scaling Health events to Discord |
Valid colors: black, dark_blue, dark_green, dark_aqua, dark_red, purple, gold, gray, dark_gray, blue, green, aqua, red, pink, yellow, white
Notes
Works on dedicated servers. If the bot connects but messages aren’t appearing, double-check that Message Content Intent is enabled on your bot’s settings page.
The /rcon slash command requires the Administrator permission in Discord. If you set guildId, the command registers instantly on that server. Leave it blank to register globally, which can take up to an hour to propagate.
常见问题
Discord Syncer 支持哪些 Minecraft 版本?
Discord Syncer 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Discord Syncer 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Nanoh 的其他作品
查看全部 →Nanoh’s Baubles
添加各种饰品,让你的 Minecraft 体验更丰富!兼容 1.12.2、1.21.1 和 1.21.4!
Nanoh’s Additional Enchants
This is a mod that aims to add additional enchants to enhance your Minecraft experience!
Villager (Trade) Reroller
Adds a simple item that allows you to change the profession of your villagers!
Nanoh’s Additional Villager Professions
Adds new villager professions to enhance the trading lootpools!
评论
登录后评论和评分