[API] HologramAPI [1.7 | 1.8 | 1.9 | 1.10] 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)

    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):
    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. 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 .-.
  2. 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? :)
  3. ausgebildeter
    ausgebildeter
    3/5,
    Version: 1.6.2
    Pls fix the download Link, it didn't work..

    one hundred zeichen ........................
  4. 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
  5. 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.
  6. 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
  7. 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
  8. 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?
  9. VirusBrandon
    VirusBrandon
    5/5,
    Version: 1.5.2
    These two douches below me apparently don't know how to use a very well written API, not all types of holograms works with other APIs.

    if(GastonG.isADouche() & funmc.isADouche()){
    throw new EpicDoucheBaggeryException("HA HA SUC A D! XD");
    }
    1. inventivetalent
      Author's Response
      Thank you :)
  10. GastonG
    GastonG
    1/5,
    Version: 1.5.2
    -> No support
    -> No help
    -> No answer on the post
    -> No help or response private message

    Can be a help one day?
    SAME FUNMC