
Server Chat Heads
Use player heads in chat and more via placeholders! Credits to CatDevz for making the original Minestom code.
- Загрузки
- 31K
- Подписчики
- 62
- Обновлён
- 12 сентября 2024 г.
- Лицензия
- GPL-3.0-only
Опубликован 17 ноября 2022 г.
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.

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
- CatDevz for making the original Minestom code
- Camper_Samu (me) for making the Fabric port
- TheEpicBlock for PolyMC
- Patbox for Polymer, a part of PolyMC and the core of many Serverside mods (like this one)
- Fabric Server-Side Development Discord for helping me while making this mod and other mods (like WAYF? or PolyForgery)
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.
Ченджлог
0.4+1.21.1Релиз1.21, 1.21.1 · 12 сентября 2024 г.
Hey all, long time no see!
This new release brings ServerChatHeads to 1.21.1. Nothing fancy, nothing special, Forgix port still planned for when I have the time to do it.
Enjoy!
Changelog
- Ported the mod to 1.21.1
- Updated bundled Polymer AutoHost
- Updated bundled Text Placeholder API
GitHub Release: https://github.com/CampHQmc/ServerChatHeads/releases/tag/v0.4+1.21.1
Full Changelog: https://github.com/CampHQmc/ServerChatHeads/compare/v0.3+1.20.5...v0.4+1.21.1
0.3+1.20.5Релиз1.20.5, 1.20.6 · 30 апреля 2024 г.
To my surprise, the code mostly survived to the update!
Because of this I decided to do a bit of housekeeping and add some annoyances, fixes and I took the time to read the code ~50 times before realizing I am not handling an IO Exception that everyone dodged until a couple of weeks ago, whoops!
This fixes won't be backported until I figure out how to handle a Forgix project, once that's done this is going my first cross-version mod, with all the fixes applied on every version!
Changelog
- Ported the mod to 1.20.5
- Polymer AutoHost is now included with this mod (since you usually need it when using SCH, installing Polymer externally should overwrite the embedded version)
- Added a warning when Polymer AutoHost is not enabled (or Arte is not installed, if that's the case you are on your own since I don't have experience with that mod)
- Fixed and prevented a crash when Auth or Skin servers are not available
- Minor improvements (code cleanups, better logging, better error handling)
GitHub: https://github.com/CampHQmc/ServerChatHeads/releases/tag/v0.3+1.20.5
Full Changelog: https://github.com/CampHQmc/ServerChatHeads/compare/v0.2+1.20.4...v0.3+1.20.5
0.2+1.20.1Релиз1.20, 1.20.1 · 18 апреля 2024 г.
Good evening! This is just a simple backport of the 0.2+1.20.4 release to 1.20.1
Let me know if anything broke in the process on the Issue Tracker!
GitHub Release: https://github.com/CampHQmc/ServerChatHeads/releases/tag/v0.2%2B1.20.1
Full Changelog: https://github.com/CampHQmc/ServerChatHeads/compare/v0.1+1.19.2...v0.2+1.20.1
0.2+1.20.4Релиз1.20.3, 1.20.4 · 25 декабря 2023 г.
Mery Crhistmas! This update brings the mod to 1.20.4 alongside various fixes (add some padding, a mod icon and remove FAPI as a dependency)
GitHub Release: https://github.com/CampHQmc/ServerChatHeads/releases/tag/v0.2%2B1.20.4
Full Changelog: https://github.com/CampHQmc/ServerChatHeads/compare/v0.1+1.19.2...v0.2+1.20.4
v0.1+1.19.2Релиз1.19.2 · 18 ноября 2022 г.
Initial Release.
Комментарии
Загружаем…