Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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.

External resources



Project members

Camper_Samu

Owner


Technical information

License
GPL-3.0-only
Client side
unsupported
Server side
required
Project ID