juliarn / npc-lib

Asynchronous, high-performance Minecraft NPC library for 1.8-1.21 servers.
MIT License
296 stars 50 forks source link

Feature request: Hiding NPC name tags #93

Open phm07 opened 1 year ago

phm07 commented 1 year ago

It would be nice if you could disable NPC name tags with a flag. This could be accomplished with scoreboard teams (See this packet). This would make it possible to use custom holograms so you could make NPC names unique for each player, make them have multiple lines and animate them.

derklaro commented 1 year ago

Could be added as an extension (just like the labymod stuff), but I wouldn't add it into the core library. If you're interested in adding the module, I would be happy to accept a PR. Note that I wouldn't use packets to add/remove scoreboards and teams as this is just awful considering the cross-version support we want to offer (keep in mind that the solution must be extendable for later server software we want to implement as well, but should support bukkit & minestom atm).