Is there a good tutorial on holograms/packets on any forums? I've had a good look but can't find any.
https://bukkit.org/threads/resource-easy-holograms.238097/ You can create them fairly easily with armor stands if you're on 1.8 craftbukkit. Otherwise, try that and see if it helps.
@ski23 That doesn't work anymore, but how do I make them with holograms? I tried doing it once but it just didn't spawn. Do you have a link to a thread? Maybe I did something wrong.
The closest thing I could find to a tutorial was here: https://bukkit.org/threads/1-8-holograms.317702/#post-2852598 But, I know that to make a hologram you basically need to make an invisible armor stand with the text as setCustomName(). That is how Hypixel, Mineplex, and most other big servers do it.
@ski23 I guess so, I just don't know why mine didn't work when I tried it. I probably forgot to do something last time. I'll get back to you, thanks for the help bro.
@ski23 I want to be able to have a slime with the hologram as its passanger then mount the slime with the hologram as its passanger onto an entity. Is it possible? Code: ArmorStand hologram = (ArmorStand) player.getWorld().spawnEntity(player.getLocation(), EntityType.ARMOR_STAND); hologram.setCustomName(chatcolor + special.toString() + text + ""); hologram.setCustomNameVisible(true); hologram.setVisible(false); Slime slime = (Slime) player.getWorld().spawnEntity(player.getLocation(), EntityType.SLIME); slime.setSize(0); mount.setPassenger(slime); slime.setPassenger(hologram);
I don't see why not. On Mineplex and Hypixel, all of the entities are names by an armor stand riding the entity.
@Irantwomiles I found a fix sorry for the late reply. I've just gotta find a way to keep it attatched to a mob if possible but for now it works.
Actually, this isn't true at all. Mineplex and Hypixel both use their own custom methods, and their own custom hologram classes hat don't require armor stands. They use packets to send the packets, for individual holograms, and so do most large networks.
Actually, no, they really use packets, but they just send a spawn packet to every player. There is no packet. To display a hologram, nor bossbar.
@GamerzKing @mcdorli Actually, go on Mineplex or Hypixel with a mod that allows you to see invisible entities and you will see that every hologram is on top of a armor stand.
@GamerzKing Mineplex uses armor stands as well. Go on with a invisible entities client. When the Mineplex code was leaked, they were not on 1.8 aka armor stands were not an option.
Mineplex was not running 1.8 then... They updated to 1.8 on November 7th. http://mineplex.com/home/m/14896499/article/3604272/page/3
@ski23 @GamerzKing In 1.7, you simply needed a normal entity, most of the devs used slime because it's resizable, in 1.8, you can't see the custom name of a mob, excepz if you look at it directly, or it is an armor stand.