介绍
DisCraft
A Discord chat bridge for Fabric, using the Placeholder API. Send messages in-game and have them relayed to Discord, and vice-versa. Also supports Discord mentions, emotes, and attachments.
Configuration
DisCraft can be configured by editing discraft.json in your server’s config directory.
{
"token": "DISCORD_BOT_TOKEN",
"webhook": "DISCORD_WEBHOOK_URL",
"server": 241543903,
"chat_channel": 241543903,
// Formats for messages displayed after certain server events.
// Supports Placeholder API's Simplified Text Format.
// All non-message events are displayed as embeds on Discord.
"server_started": ":white_check_mark: Server started",
"server_stopped": ":octagonal_sign: Server stopped",
"player_join": "%player:name% joined the game",
"player_leave": "%player:name% left the game",
"advancement_goal": "%player:name% has reached the goal %disc:advancement%!",
"advancement_task": "%player:name% has made the advancement %disc:advancement%!",
"advancement_challenge": "%player:name% has completed the challenge %disc:advancement%!",
"discord_to_mc": "<aqua>[DC] %disc:nickname%</aqua>: %disc:message%",
"discord_to_mc_reply": "<aqua>[DC] %disc:nickname%</aqua> <gray>(reply to</gray> %disc:reply_to%<gray>)</gray>: %disc:message%",
// URL to obtain the player's icon from
"avatar_url": "https://crafatar.com/avatars/%s?overlay"
}
常见问题
DisCraft 支持哪些 Minecraft 版本?
DisCraft 支持 Minecraft Java 版 1.19–1.19.2,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
DisCraft 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
littlechasiu 的其他作品
查看全部 →
Create Track Map
A web-based track map of your world's Create train system, complete with signals, stations, and trains moving in real time.
LittleChaSiu’s Modpack
My personal modpack, focused largely on tech and decorative stuff.
CC Fabric Energy
Integrates Team Reborn's energy API into ComputerCraft
CC Fabric Energy
Integrates Team Reborn's energy API into ComputerCraft
评论
登录后评论和评分