该项目已不再受支持
由于本项目已停止维护,我们建议通过 Errnick_ 下载模组:Chat Remastered,它还允许你在聊天中发送照片,并提供更友好的界面和功能集。
? PhotoChat
将真实图片直接发送到 Minecraft 聊天窗口。
PhotoChat 将图片以行内方式渲染在聊天窗口中——位于 <player> [Photo]
行正下方。预览图会随正常消息一起滚动和淡入淡出,点击后可在全屏查看器中以
缩放和平移的方式查看,并且可以作为剧透内容发送,以便敏感图片在
观看者选择揭示之前保持模糊处理。
未安装客户端模组的玩家仍可加入服务器——他们只会收到一条简短的文字通知
而不是图片。
✨ 功能特性
- ?️ 行内预览 — 图片直接显示在聊天中,并像真实消息一样滚动/淡入淡出
- ? 全屏查看器 — 点击图片即可打开,支持缩放和平移
- ? 剧透模式 — 发送时已将照片隐藏在马赛克之后;点击即可揭示
- ?️ 隐藏 / 显示 — 右键点击任何接收到的照片即可切换其显示状态
- ? 原生文件选择器 — 通过操作系统对话框选择图片
- ? URL 支持 — 从直接链接发送图片
- ? 多人联机中继 — 服务器会将照片转发给所有玩家
- ? 优雅降级 — 未安装该模组的玩家将收到文字消息
- ⚙️ 自动调整大小与压缩 — 确保数据包、内存和 GPU 使用量保持在合理范围内
? 命令
| 命令 |
描述 |
/photo select |
打开文件选择器并发送所选图片 |
/photo select spoiler |
同上,但发送隐藏(仅查看)的图片 |
/photo file <path> |
从本地文件路径发送图片 |
/photo url <url> |
从直接 URL 下载并发送图片 |
/photo spoiler select |
文件选择器 → 发送隐藏的图片 |
/photo spoiler file <path> |
发送隐藏的本地文件图片 |
| /photo 剧透链接 <url> | 从 URL 隐藏发送 |
示例
/photo file /home/user/Pictures/cat.png
/photo url https://example.com/image.png
/photo spoiler url https://example.com/secret.png
⌨️ 快捷键
| 按键 |
操作 |
P |
打开文件选择器并发送照片 |
Shift + P |
同上,但发送为隐藏(仅查看者可见) |
可在 选项 → 控制 → PhotoChat 中重新绑定该按键。
?️ 点击聊天中的照片
在聊天窗口打开时可用。
| 操作 |
结果 |
| 左键点击普通照片 |
打开查看器(缩放/平移) |
| 左键点击隐藏的照片 |
显示该照片 |
| 右键点击照片 |
切换隐藏/显示状态 |
? 图片查看器
| 操作 |
结果 |
| 鼠标滚轮 |
缩放 |
| 左键点击 + 拖拽 |
移动图片 |
R |
重置缩放和位置 |
Esc |
关闭 |
? 要求
服务器端 — 必须安装 PhotoChat 才能转发照片。
客户端 — 可选,但用于查看图片预览时必须安装。未安装的玩家仅会收到文本回退消息。
依赖项
- Minecraft 26.1.2
- Fabric Loader
- Fabric API
?️ 图像处理与限制
- 接受最大 32 MB 的源文件
- 发送前将图片重新编码为 JPEG ≤ 2 MB,最大边长 512 px
- 聊天记录保留最近的 30 张照片作为历史
- 支持的格式:PNG, JPG/JPEG, WEBP, BMP, GIF
- URL 必须是直接图片链接
? 兼容性说明
PhotoChat 修改聊天界面以渲染预览。大多数模组运行正常,但与聊天 UI 类模组的兼容性可能有所不同。
如果您使用了合并、压缩、替换或大幅重设计聊天消息的模组,图片间距或预览效果可能会有所不同。
⚠️ 已知限制
- 早期测试版发布。
- 图片预览需要安装 客户端 模组。
- 部分聊天 UI 模组可能与图片布局产生冲突。
- 尺寸过大或不受支持的图片格式可能无法发送。
The project is no longer supported
Since the project is no longer maintained, we recommend downloading the mod by Errnick_: Chat Remastered, it also allows you to send photos in chat and offers a more pleasant interface and feature set.
? PhotoChat
Send real images straight into Minecraft chat.
PhotoChat renders pictures inline in the chat window — right under a <player> [Photo]
line. Previews scroll and fade together with normal messages, open in a full viewer with
zoom and pan, and can be sent as spoilers so sensitive images stay censored until the
viewer chooses to reveal them.
Players without the client mod can still join — they simply get a short text notification
instead of the picture.
✨ Features
- ?️ Inline previews — images appear directly in chat and scroll/fade like real messages
- ? Full viewer — click a photo to open it with zoom and pan
- ? Spoilers — send a photo already hidden behind a censor plate; reveal on click
- ?️ Hide / reveal any received photo with a right-click toggle
- ? Native file picker — pick an image through your OS dialog
- ? URL support — send images from a direct link
- ? Multiplayer relay — the server forwards photos to everyone
- ? Graceful fallback — players without the mod get a text message
- ⚙️ Automatic resize & compression — keeps packets, memory and GPU usage in check
? Commands
| Command |
Description |
/photo select |
Open a file picker and send the chosen image |
/photo select spoiler |
Same, but send it hidden (spoiler) |
/photo file <path> |
Send an image from a local file path |
/photo url <url> |
Download and send an image from a direct URL |
/photo spoiler select |
File picker → send hidden |
/photo spoiler file <path> |
Send a local file hidden |
/photo spoiler url <url> |
Send from a URL hidden |
Examples
/photo file /home/user/Pictures/cat.png
/photo url https://example.com/image.png
/photo spoiler url https://example.com/secret.png
⌨️ Keybinds
| Key |
Action |
P |
Open the file picker and send a photo |
Shift + P |
Same, but send it hidden (spoiler) |
The key can be rebound in Options → Controls → PhotoChat.
?️ Clicking photos in chat
Available while the chat window is open.
| Action |
Result |
| Left-click a normal photo |
Open the viewer (zoom / pan) |
| Left-click a hidden photo |
Reveal it |
| Right-click a photo |
Hide / show toggle |
? Image viewer
| Action |
Result |
| Mouse wheel |
Zoom |
| Left-click + drag |
Move the image |
R |
Reset zoom and position |
Esc |
Close |
? Requirements
Server — PhotoChat must be installed for photos to be relayed.
Client — optional, but required to see image previews. Players without it only
receive a text fallback message.
Dependencies
- Minecraft 26.1.2
- Fabric Loader
- Fabric API
?️ Image handling & limits
- Source files up to 32 MB are accepted
- Images are re-encoded to JPEG ≤ 2 MB, max edge 512 px, before sending
- The chat keeps the last 30 photos in history
- Supported formats: PNG, JPG/JPEG, WEBP, BMP, GIF
- URLs must be direct image links
? Compatibility notes
PhotoChat modifies the chat UI to render previews. Most mods work fine, but behavior with
chat-UI mods may vary.
If you use mods that merge, compact, replace, or heavily redesign chat messages, image
spacing or previews may behave differently.
⚠️ Known limitations
- Early beta release.
- Image previews require the client mod.
- Some chat-UI mods may conflict with image layout.
- Very large or unsupported image formats may fail to send.
评论 0
登录后参与评分
还没有评论,来抢沙发吧