[API] HologramAPI 1.6.2

Simple API to create holograms | compatible with ProtocolSupport

  1. inventivetalent
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    This API allows you to easily create holograms.




    Compared to other Hologram APIs (like HolographicDisplays) it is more lightweight because it uses Reflection and only sends the packets instead of extending the NMS classes.

    This API also allows you to directly attach holograms to players and entities, so they are "riding" on it to remove any need for constantly teleporting the hologram.

    Depends on PacketListenerAPI (If you want touchable holograms or per-player hologram contents)
    Note: Please use version 3.4.4 or lower

    1.9/1.10 Compatibility with ProtocolSupport is not tested yet


    [​IMG]

    Code (Java):

    Hologram hologram = HologramAPI.createHologram(location, "I'm a hologram. Hey %%player%%!");
            hologram.addViewHandler(new ViewHandler() {

                @Override
                public String onView(Hologram hologram, Player player, String string) {
                    return string.replace("%%player%%", player.getName());
                }
            });
            hologram.setTouchable(true);
            hologram.addTouchHandler(new TouchHandler() {

                @Override
                public void onTouch(Hologram hologram, Player player, TouchAction action) {
                    player.sendMessage("You touched the Hologram! Your action: " + action);
                }
            });
            hologram.spawn();
     

    Maven
    Code (Text):

    <repository>
        <id>inventive-repo</id>
        <url>https://repo.inventivetalent.org/content/repositories/releases</url>
    </repository>
    <dependency>
      <groupId>org.inventivetalent</groupId>
      <artifactId>hologramapi</artifactId>
      <version>1.4.0</version>
    </dependency>
     


    Links

    Thanks to some of my Supporters:

    • MOTDgd
    • md_5
    • Lucy S.

    Code (spiget-meta (Unknown Language)):
    SlZOd2EkUm9kI1J3SihVa1drZDNkV0Y+TitKYVZ6VXdZVmhhYkdSI1JuTmFWelV3K0cwNWVWcDNQKzBrSiRSTU0wSnpaRmRrY0dKcE9EMGtKJFJqUjNnKldqSnNkVntWWiNOaU0yUihWVVZyYldSdFZubGpNbSoyWW1vd2JHUnRWbmxqTW0qMlltbFZQJFIjWj5RbA==
    Please leave a rating if you like this resource.
    Donations to support me or this resource are also very much appreciated.

Recent Updates

  1. PaperSipgot fix
  2. 1.10.2 fix
  3. 1.10 support

Recent Reviews

  1. khaldra
    khaldra
    1/5,
    Version: 1.6.2
    forces you to use adfly for download which bricks your browser.forces you to use adfly for download which bricks your browser.forces you to use adfly for download which bricks your browser.forces you to use adfly for download which bricks your browser.
  2. MelaniumAS
    MelaniumAS
    1/5,
    Version: 1.6.2
    PESIMO PARA DESCARGAR AHI QUE ACORTAR LINKS NO JODAS PUES MASCOTA





    BADBADBADBADBAD
  3. Juanzoo
    Juanzoo
    3/5,
    Version: 1.6.2
    No me aparecen los hologramas en Spigot 1.8.8 (ProtocolSupport)
    No les aparece a los de la 1.7 .-.
  4. KernelFreeze
    KernelFreeze
    5/5,
    Version: 1.6.2
    Very good plugin, I love that the developer uses Java 8 features everywhere, but the source code is not available on BitBucket anymore, could you reupload it? :)
  5. ausgebildeter
    ausgebildeter
    3/5,
    Version: 1.6.2
    Pls fix the download Link, it didn't work..

    one hundred zeichen ........................
  6. GreenEyeGM
    GreenEyeGM
    5/5,
    Version: 1.6.2
    please help me the plugin is not worknig actually for me ;c
    --------------------------------------------------- NO erros also players can join but they dont see holograms
  7. BemLo
    BemLo
    1/5,
    Version: 1.6.2
    HologramAPI crash my server! Because I want to place this plugin terrible vote. I dont know what to do.
  8. Reviron
    Reviron
    2/5,
    Version: 1.6.2
    I have a problem !
    I can't enter in my server
    This is an error

    Clemdu63 lost connection: Internal Exception: java.lang.NoClassDefFoundError: Could not initialize class de.inventivegames.hologram.reflection.minecraft.DataWatcher$V1_9
  9. TylerMods
    TylerMods
    5/5,
    Version: 1.6.1
    May i have someone help me with this? its just like some other plugins ive seen but i just neeed to know how to work one to work all.. please and thank you.

    Skype : Unaccountable14
  10. iSweetstyle
    iSweetstyle
    5/5,
    Version: 1.5.2
    Is it possible, to make the Hologram only viewable for a specific player, so that no one else can see it?