Giter Site home page Giter Site logo

Comments (8)

Fourmisain avatar Fourmisain commented on July 20, 2024 1

TIL you can auto-complete player names in regular chat!

I already have an almost working version of this now - and it does work with the regular player name suggestion too.

I say "almost working", but there might be more work involved.
If you autocomplete a name as the first word, the player head will be offscreen. Moving the text to the right is not easy, so I'm not sure if I should actually fix this (plus I like the way the names align in the picture above).
It's currently also possible non-player suggestions get a chat head, e.g. if there's a player called -42 or something.

So yeah, probably won't be done today, but it will surely come!

from chat_heads.

Fourmisain avatar Fourmisain commented on July 20, 2024 1

I guess I lied, new version 0.10.0 is up!

Only did it for 1.19.3, lemme know if you need a backport.

from chat_heads.

Fourmisain avatar Fourmisain commented on July 20, 2024 1

There ya go!

from chat_heads.

Fourmisain avatar Fourmisain commented on July 20, 2024

mockup
So just as a mockup, you mean something like this?

from chat_heads.

Ryhon0 avatar Ryhon0 commented on July 20, 2024

Yeah, something like that for both auto completion provided by a command and from the player list

from chat_heads.

Fourmisain avatar Fourmisain commented on July 20, 2024

"from the player list"...? What do you mean by that?

edit: Do you mean there should be chat heads in the text input too?
That's almost surely a no-go, since it requires too many deep changes.

from chat_heads.

Ryhon0 avatar Ryhon0 commented on July 20, 2024

No, I mean it should appear when typing regular chat messages too. For example if you typed Four and pressed tab, it shows a list of players with a name that starts with Four, this list is based on the player list, sorry for the confusion

from chat_heads.

Ryhon0 avatar Ryhon0 commented on July 20, 2024

Thanks! 1.19.2 would be great!

from chat_heads.

Related Issues (20)

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.