这是一款适用于 Minecraft 1.21.1 NeoForge 的简单模组。我只是突发奇想,决定在 AI(Antigravity Gemini 3.5 Flash)和 Claude Opus 4.8(我不太喜欢 Gemini)的帮助下实现它。
我可能不会进一步更新此模组,因为我只是为自己和朋友制作它。不过,我会保留源代码可用(希望我能弄清楚如何做到这一点)。
这是一个服务端模组。要在游戏聊天中查看通过 McChatBridge 发送的图片,请在你的游戏客户端上安装由 kituin 开发的 ChatImage 模组。
你可以随意处理这个项目。
McChatBridge 直接在 Minecraft 服务器内部启动一个内置的 HTTP Web 服务器。通过浏览器,玩家(以及其他人)可以:
-
读写全局聊天:消息在两个方向上同步——从网页到游戏,以及从游戏到网页。
-
发送私聊 (PM):向服务器上的特定玩家发送直接消息;私聊历史使用 AES-256-GCM 进行加密。
-
上传并发送图片:图片显示在网页聊天中,而游戏中会出现一个可点击的链接。
-
玩“点击器”小游戏:通过点击挖矿,获取资源到你的物品栏,并将它们转移给服务器上的玩家。
-
实时查看在线玩家:查看谁在线以及他们的头像。
接收系统通知:获取玩家登录/登出和死亡的通知。
所有设置都通过配置文件处理。它们位于服务器的 config 文件夹中。
你可以更改端口、禁用小游戏或禁用用户上传图像。
用户和你如何访问 Web 界面?
- 将模组添加到服务器后,启动服务器并在浏览器中输入 :your_port(默认为 8080)。
This is a simple mod for Minecraft 1.21.1 NeoForge. I just had an idea and decided to implement it with the help of AI (Antigravity Gemini 3.5 Flash), and Claude Opus 4.8 (I didn't like Gemini).
I am unlikely to update this mod further, as I made it just for myself and my friends. However, I will leave the source code available (hopefully, I can figure out how to do that).
This is a server-side mod. To see images sent to the game chat via McChatBridge, install the ChatImage mod by kituin on your game client.
Do whatever you want with this project.
McChatBridge launches a built-in HTTP web server directly within the Minecraft server. Through a browser, players (and others) can:
-
Read and write to the global chat: Messages are synchronized in both directions—from web to game and from game to web.
-
Send Private Messages (PMs): Direct messages to specific players on the server; PM history is encrypted using AES-256-GCM.
-
Upload and send images: Pictures are displayed in the web chat, while a clickable link appears in the game.
-
Play a "Clicker" mini-game: Mine ore through clicks, receive resources in your inventory, and transfer them to players on the server.
-
View online players in real-time: See who is online along with their avatars.
Receive system notifications: Get alerts for player logins/logouts and deaths.
All settings are handled via configuration files. They are located in your server's config folder.
You can change the port, disable the mini-game, or disable image uploads by users.
How can users and you access the web interface?
- After adding the modification to your server, start it and enter :your_port (default is 8080) into your browser.
评论 0
登录后参与评分
还没有评论,来抢沙发吧