Zulip Bridge
此模组在 Minecraft 聊天与 Zulip 服务器上的一个频道之间建立桥接。
消息会双向桥接。Markdown(尚未)进行翻译。
少量事件(服务器启动/停止、玩家加入/离开/死亡、进度达成)也会被桥接。
配置允许对桥接的事件进行细粒度控制,并允许你禁用一个方向(或两个方向)的聊天消息桥接。
本模组面向 Fabric、NeoForge、Forge 和 Quilt,支持自 1.16.5 以来的所有主要版本(由 Stonecutter、Architectury 及 Architectury API 提供支持),以及 1.12.2 和 1.7.10(手动移植)。
如果本模组缺少你想要使用的版本,请提交 issue,我会在有空时添加它。
用法
首先,在安装该模组的服务器上启动服务器以生成配置文件。
然后编辑配置文件(位于 config/zulip-bridge.json)——粘贴机器人邮箱 + API 密钥、频道和主题,接着根据你的喜好自定义桥接选项。
最后,重启服务器以应用更改。
构建
要构建本项目,只需运行 ./build.sh 并泡杯茶(或者几杯,这需要一些时间)。所有目标版本和加载器的 JAR 包将被构建。
Zulip Bridge
This mod creates a bridge between the Minecraft chat and a channel on a Zulip server.
Messages are bridged bidirectionally. Markdown is not (yet) translated.
A handful of events (server start/stop, player join/leave/death, advancements) are bridged as well.
The configuration allows for fine-grained control over the events that are bridged, and lets you disable bridging of chat messages in one (or both) directions.
It targets Fabric, NeoForge, Forge and Quilt, and supports all major versions since 1.16.5 (powered by Stonecutter, Architectury & Architectury API), as well as 1.12.2 and 1.7.10 (manual ports).
If this mod is missing a version you want to use it on, please open an issue and I will add it when I have time.
Usage
First, start the server with the mod installed to generate the configuration file.
Then edit the configuration (in config/zulip-bridge.json) - paste the bot email + api key, channel and topic, then customize the bridge options to your liking.
Finally, restart the server to apply the changes.
Building
To build this project, simply run ./build.sh and make a cup of tea (or several, this will take a while). JARs for all targeted versions & loaders will be built.
评论 0
登录后参与评分
还没有评论,来抢沙发吧