Spigot [API] HologramAPI 1.6.2

Simple API to create holograms | compatible with ProtocolSupport

  1. Full error log, please.
  2. Error
    07.05 17:48:07 [Server] WARN at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)
    07.05 17:48:07 [Server] WARN at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:458)
    07.05 17:48:07 [Server] WARN at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:210)
    07.05 17:48:07 [Server] WARN at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:290)
    07.05 17:48:07 [Server] WARN at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:334)
    07.05 17:48:07 [Server] WARN at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:360)
    07.05 17:48:07 [Server] WARN at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:394)
    07.05 17:48:07 [Server] WARN at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:476)
    07.05 17:48:07 [Server] WARN at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417)
    07.05 17:48:07 [Server] WARN at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332)
    07.05 17:48:07 [Server] WARN at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316)
    07.05 17:48:07 [Server] WARN at holographics.main.onEnable(main.java:46)
    07.05 17:48:07 [Server] WARN at de.inventivegames.hologram.DefaultHologram.spawn(DefaultHologram.java:95)
    07.05 17:48:07 [Server] WARN at de.inventivegames.hologram.CraftHologram.buildPackets(CraftHologram.java:166)
    07.05 17:48:07 [Server] WARN at de.inventivegames.hologram.reflection.ClassBuilder.buildTeleportPacket(ClassBuilder.java:289)
    07.05 17:48:07 [Server] WARN at java.lang.Class.getConstructor(Class.java:1723)
    07.05 17:48:07 [Server] WARN at java.lang.Class.getConstructor0(Class.java:2892)
    07.05 17:48:07 [Server] WARN java.lang.NoSuchMethodException: net.minecraft.server.v1_7_R4.PacketPlayOutEntityTeleport.<init>(int, int, int, int, byte, byte, boolean, boolean)
    Code = http://prntscr.com/72rcdv

  3. Should be fixed now. But your version seems to have a different packet constructor than usual.
  4. clip


    Was the fix for wrong location a fix for when you set the text to a spawned hologram it drops like 2 blocks? I did notice that happened when I implemented my own refresh but didn't mention it.
  5. Yes. The initial location was wrong. (The location after it drops is the real location)
  6. Also; what licence is this project under?
    • Funny Funny x 1
  7. Yes. (Of course I'd rather have this API linked, but it's your decision :))
  8. clip


    I am planning on releasing my holo plugin someday soon but I will require the users to download all dependencies.
    I really appreciate you adding everything I have requested. Honestly I would have never thought of making one if I didn't come across your API. Much appreciation from me and everyone who ends up using the plugin I am making man!
  9. That's great. Not really sure what I'm going to do :p Thanks for your awesome work!
  10. Color code won't work for me, no errors. Just nothing. Any ideas?
  11. clip


    Translate color on your own. Very easy to do. I dont think this api does it for you.
  12. Do holograms save upon reload/restart of the server?
  13. clip


    No. Save your holo locations in a config and load then a bit after startup.
  14. Downloadlink: File doesn't exists .. ;(
  15. Sorry about that. Should be working now.
  16. The API works, but it seems to send the holograms to all entities, including NPCs from Citizens.


    EDIT: A suggestion which is also related to this, being able to set/edit the list of players to which this hologram is sent.
    #59 Darthmineboy, May 14, 2015
    Last edited: May 14, 2015
    • Like Like x 1