Coder Social home page Coder Social logo

camphqmc / serverchatheads Goto Github PK

View Code? Open in Web Editor NEW
10.0 0.0 3.0 70 KB

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

License: Other

Java 100.00%
polymer fabric fabric-mod minecraft minecraft-mod quilt quilt-mod polymer-mod serverside-mod

serverchatheads's Introduction

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. โš ๏ธ We recommend configuring Polymer AutoHost.

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

Setup

For setup instructions please see the fabric wiki page that relates to the IDE that you are using.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.