Holograms v.2.5.0-SNAPSHOT

A small and efficient Hologram managing plugin

  1. SainttX
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Contributors:
    SainttX
    Holograms
    Holograms is an implementation of text and item holograms in a CraftBukkit/Spigot server environment. It's creation was inspired by filoghost's HolographicDisplays and was initially created to be a stripped implementation. Over time, the plugin has matured and now features a fully expansive API for developers which allows many different possibilities.
    Features
    Usage (in-game)
    The plugin currently offers a variety of commands for management of your Holograms:
    • /holograms addline <hologramName> <textToAdd>
    • /holograms create <hologramName> <initialText>
    • /holograms delete <hologramName>
    • /holograms import <plugin>
    • /holograms info <hologramName>
    • /holograms insertline <hologramName> <index> <textToAdd>
    • /holograms list
    • /holograms movehere <hologramName>
    • /holograms near <radius>
    • /holograms removeline <hologramName> <index>
    • /holograms refresh
    • /holograms setline <hologramName> <index> <text>
    All commands use the permission structure "holograms.<subcommand>" (ie. /holograms near would use the permission holograms.near).

    Using Holograms (Developers)
    To use Holograms in your plugins, add the Holograms-API module to your build path. Then add Holograms as a dependency in your plugin.yml file:
    Code (YAML):
    depend: [Holograms]
    You can also add Holograms as a Maven dependency:
    Code (XML):
    <repositories>
      <repository>
        <id>maven.sainttx.com</id>
        <url>http://maven.sainttx.com/nexus/content/groups/public/</url>
      </repository>
    </repositories>

    <dependencies>
      <dependency>
        <groupId>com.sainttx.holograms</groupId>
        <artifactId>holograms-api</artifactId>
        <version>2.0.0-SNAPSHOT</version>
        <scope>provided</scope>
      </dependency>
    </dependencies>

    Hologram creation is made easy with our API. Get a reference to the HologramManager and you're set.
    Code (Java):
    private HologramManager hologramManager;

    @Override
    public void onEnable() {
        this.hologramManager = JavaPlugin.getPlugin(HologramPlugin.class).getHologramManager();
    }

    Creating and Modifying Holograms
    Once you have the reference, you can easily work your way around the APIs offerings:
    Code (Java):
    public void createHologram(String id, Location location) {
        Hologram hologram = new Hologram(id, location);
        hologramManager.addActiveHologram(hologram); // Tells the plugin a new Hologram was added
    }
    Adding lines is easy as well:
    Code (Java):
    public void addTextLine(Hologram hologram, String text) {
        HologramLine line = new TextLine(hologram, text);
        hologram.addLine(line);
    }

    public void addItemLine(Hologram hologram, ItemStack itemstack) {
        HologramLine line = new ItemLine(hologram, itemstack);
        hologram.addLine(line);
    }

    Removing Holograms
    You can permanently remove a hologram (incl. persistence) by doing the following:
    Code (Java):
    public void deleteHologram(Hologram hologram) {
        hologramManager.deleteHologram(hologram);
    }
    Or if you want to temporarily hide a persistent hologram until the server restarts:
    Code (Java):
    public void hideHologram(Hologram hologram) {
        hologram.despawn();
        hologramManager.removeActiveHologram(hologram);
    }

Recent Reviews

  1. SuperControler
    SuperControler
    5/5,
    Version: v.2.5.0-SNAPSHOT
  2. crejk
    crejk
    4/5,
    Version: v.2.5.0-SNAPSHOT
    Just beautiful. I love the way it allows me to create colored holograms! Very useful thanks a lot!
  3. Azen0x
    Azen0x
    5/5,
    Version: v.2.5.0-SNAPSHOT
    Hello, very nice plugin, maybe not enough explanations...

    It find how to use data values and enchant:
    /holograms addline <name> item:<itemname>:<datavalue> <amount> <enchantname>:<level>

    For lore, name etc.. I don't test it, but try with: "name:<name>", or "lore:<lore>"

    I had to search in source code to find it, that was fun xD
    Kiss
  4. demik02
    demik02
    5/5,
    Version: v.2.5.0-SNAPSHOT
    pls add support placeholder api
    The best great good plugin
    1000000000 stars
    Ideal holographics plugin
  5. Riddick
    Riddick
    5/5,
    Version: v.2.5.0-SNAPSHOT
    xxxxxxxxxxxxxxxxxxxx

    Please update to 1.13
    does not work 1.13

    xxxxxxxxxxxxxxxxxxxx
  6. iSkepticalHD
    iSkepticalHD
    3/5,
    Version: v.2.5.0-SNAPSHOT
    Not updated to 1.13 yet... Not sure if author is inactive or what. This plugin completely breaks after 1.12.
  7. ishandig
    ishandig
    5/5,
    Version: v.2.5.0-SNAPSHOT
    ?1.13
    update welke waar te vinden of is het nog 1.12.2 maar graag update 1.13
    is mooi
  8. devioursoul
    devioursoul
    5/5,
    Version: v.2.5.0-SNAPSHOT
    Been using it for a while. (a bit over a year I think) Works great.

    Note: Your review must be at least 80 characters. Using filler characters to bypass this limit will get you punished, please write a proper and constructive review.

    There 80 characters xD
  9. yenthe1231
    yenthe1231
    3/5,
    Version: v.2.5.0-SNAPSHOT
    Many variables of the penguins do not work for me and I have all the necessary plugins, solution?
  10. iWalker
    iWalker
    2/5,
    Version: v.2.5.0-SNAPSHOT
    Does not work in 1.12.2
    It appears that no Hologram plugin works. Crashes on reboot. Also, does not support playernames etc.

    Crash log:
    https://pastebin.com/gM9PbVUW