Util Holograms

Discussion in 'Resources' started by Ultimate_n00b, Feb 25, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Ultimate_n00b

    Working on a far better version, will be released soon.
     
  2. Offline

    xigsag

    Is there a way to destroy a hologram through another event? e.g I spawn it in with a command, and I want to remove it with a PlayerInteractEvent. Or rather, is there a way I can get the already-spawned hologram? I can't seem to add it into Lists, otherwise it'd be pretty easy.

    What I've been trying to accomplish is to first, spawn in the hologram as such:[​IMG]

    Then get it to spawn back every time you log back in (already accomplished),
    and then if the player wants to remove his shop by right clicking on it with an item, the hologram will be removed along with the chests.
     
  3. Offline

    Ultimate_n00b

    Next update has clickable holograms (working flawlessly).
     
    yupie_123 likes this.
  4. Offline

    Gamecube762

    xigsag Try storing the hologram(in a hashmap or something), then when the chest is clicked grab it and .destroy() it.
     
  5. Offline

    xigsag

    Ah, I'll give that a try. Before my post, I had tried storing them in List<Hologram>s, then immediately toString()ing the list to the player, but i get back an empty list.
     
  6. Offline

    paully104

    Ultimate_n00b , Do you know the precision to which we can keep the holograms on the users screen? The reason im asking is for example say we wanted to use Holograms like the scoreboard. Is it possible to have it stick to the users screen in an exact spot. I understand its an entity but I was curious about manipulating it so it pivots around the player so its always in LOS then you could use it for storing information such as coins or stats.
     
  7. Offline

    Jedodalci

    Filo <3 I'm Edo2 on Mc Italia ;)
    That Holograms Is Very Simple!
     
  8. Offline

    oasis9

    Ultimate_n00b Update coming at all? It's been a while... (Sorry bout necro)
     
  9. Offline

    Ultimate_n00b

    I do not plan on updating this resource for public use, especially on the bukkit forums.
     
  10. Offline

    RingOfStorms

    If you go to the website where you get your server there are a lot of hologram plugins that work on 1.8 by using armor stands.
     
  11. Offline

    oasis9

  12. Offline

    RingOfStorms

    Because he said so. He is not obligated in any way to update something that was free to begin with, and there is also not much reason putting anything here anymore because there is no 'support' for the new server builds on third party sites.
     
  13. Offline

    oasis9

    RingOfStorms Nevermind anyway, got it working myself :p Made my own lib
     
  14. Offline

    Ultimate_n00b

    I'd hope you got it working, considering it's 8 lines.
     
    oasis9 likes this.
  15. Offline

    oasis9

    I'm still looking for a way to improve this, as the horse entity used appears for half a second, and sometimes after reloads, the horse is visible in the sky and the nameplate with it. I know for a fact that it is possible to have a hologram without the entity visible, and seamless changing, as I saw on the Hypixel Network, in Cops and Crims, they have C4 bomb, which, once planted by the crims, has a hologram counter as well as a scoreboard counter, showing the time remaining until detonation. The text on the hologram is completely seamless, no overlap of holograms when changing, and you can't see one disappear before the other appears - How!?
     
  16. " }.runTaskLater(MMGames.getPlugin(), ticks); "

    My plugin name is MauxEngine, and the main class is "Base" ... What do I put here instead of MMGames?
     
  17. Offline

    RainoBoy97

    Any instance of your main class that extends JavaPlugin.
     
  18. Offline

    poepdrolify

    Or you use commandblocks to spawn an invisible armorstand with a custom name...
     
Thread Status:
Not open for further replies.

Share This Page