diff --git a/README.md b/README.md index 3a97e9bf..23e1b7bf 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ +
+🌍English / 中文 +
+ +

+ ChatImage +

# ChatImage @@ -5,19 +12,21 @@ ✨ 在Minecraft聊天栏中显示图片 ✨
-

- + license - - forge + + forge - - fabric + + fabric - - release + + neoforge + + + release

@@ -25,8 +34,6 @@ · 🐛提交建议 · - 📃English - · ⬇️CurseForge · ⬇️MC百科 @@ -36,11 +43,11 @@ ## 快速开始 -聊天框输入 `[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]` 即可自动转换为图片 +聊天框输入 `[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]` 或者图片链接 即可自动转换为图片 支持显示GIF,本地图片 -![quick](https://chatimage.kituin.fun/img/quick.png) +![quick](https://github.com/kitUIN/ChatImage/assets/68675068/e2007819-850f-4a0d-b0e1-6ea2541c8704) (图片来自画师[甘城なつき](https://www.pixiv.net/users/3036679)) @@ -53,7 +60,8 @@ | [url](https://chatimage.kituin.fun/wiki/chatimage/code/#url) | 是 | String | 图片地址(本地文件请使用file:///) | | [nsfw](https://chatimage.kituin.fun/wiki/chatimage/code/#nsfw) | 否 | boolean | 是否为nsfw图像 | | [name](https://chatimage.kituin.fun/wiki/chatimage/code/#name) | 否 | String | 在消息栏显示的名称 | - +| pre | 否 | String | 前缀(默认`[`)(不能为,) | +| suf | 否 | String | 后缀(默认`]`)(不能为,) | - 网络图片 `[[CICode,url=<网络地址>,name=Image]]` - 示例: `[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]` @@ -63,10 +71,9 @@ `nsfw`将决定是否直接显示图片,如果设为`true`,则需要点击才能查看(或者配置文件中开启nsfw模式直接查看) +![nsfw](https://github.com/kitUIN/ChatImage/assets/68675068/33a3531a-0b92-48d3-bcc7-a76907a19979) -![nsfw1](https://chatimage.kituin.fun/img/nsfw.png) - -![nsfw2](https://chatimage.kituin.fun/img/nsfw2.png) +![nsfw2](https://github.com/kitUIN/ChatImage/assets/68675068/8f5fd75c-75d5-4550-ab13-e51d361276b6) ## 使用命令发送 [[CICode]] diff --git a/README_EN.md b/README_EN.md index 75b2d852..ee5205b1 100644 --- a/README_EN.md +++ b/README_EN.md @@ -1,23 +1,32 @@ +

+🌍English / 中文 +
+ +

+ ChatImage +

# ChatImage -✨ Show image in Minecraft chat ✨ +✨ Show Image In Minecraft Chat Line ✨
-

- + license - - forge + + forge + + + fabric - - fabric + + neoforge - - release + + release

@@ -25,8 +34,6 @@ · 🐛Submit Suggestion/Bug . - 📃Chinese - . ⬇️CurseForge · ⬇️MC Mod @@ -34,17 +41,16 @@ ⬇️Modrinth

-**Need Fabric API** ## Quick Start -Enter `[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]` in the chat field +Enter `[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]` Or ImageURL in the chat field than it will transfer to image support display GIF and local image -![quick](https://chatimage.kituin.fun/img/quick.png) +![quick](https://github.com/kitUIN/ChatImage/assets/68675068/e2007819-850f-4a0d-b0e1-6ea2541c8704) (image from [甘城なつき](https://www.pixiv.net/users/3036679)) @@ -61,6 +67,8 @@ ps2: `1.1.9`and above could use [CQCode](https://docs.go-cqhttp.org/cqcode/#%E5% | url | true | String | Image address (please use `file:///` for local files) | | nsfw | false | boolean | Is it an nsfw image | | name | false | String | The name displayed in the chat | +| pre | false | String | prefix(default:`[`)(can't be`,`) | +| suf | false | String | suffix(default:`]`)(can't be`,`) | `nsfw` will determine whether to display the image directly