跳到正文

Server Chat Heads

作者:Camper_Samu

Use player heads in chat and more via placeholders! Credits to CatDevz for making the original Minestom code.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Server Chat Heads

Plz Mojang optimize font rendering

Use player heads in chat and more via placeholders! Credits to CatDevz for making the original Minestom code.

Showcase

How it works

When a player joins its skin gets downloaded and the colors of the pixels of the face get extracted and put in a User UUID, TextColor[][] Map, when the placeholder gets invoked, it searches for the user in that map and tries to print the head in chat using negative spaces and a custom pixel font.

Placeholders

| Placeholder | Function |
|——————————-|————————–|
| %chatheads:player% | Print the invoker’s head |
| %chatheads:player [target]% | Print the target’s head |

Bleeding edge builds

Upstream builds are available in via GitHub Actions.


Credits

License

This template is available under the GPLv3 license. Feel free to learn from it and incorporate it in your own projects following the license’s guidelines.

常见问题

Server Chat Heads 支持哪些 Minecraft 版本?

Server Chat Heads 支持 Minecraft Java 版 1.19.2–1.21.1,共 9 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。

Server Chat Heads 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Camper_Samu 的其他作品

查看全部 →