HoloAPI

Banner

banner

An advanced and powerful holographic display plugin

break

break

Features

With the discovery of new hologram technology (as seen in the video below), HoloAPI is designed to bring you a seamless experience in holographic display creation through the powerful command base and API.

Providing advanced Hologram Technology for your Bukkit server, HoloAPI has the following features (and more!):

Easily manage your own holographic displays
Create Holographic displays with images, animations (GIFs) and multi-line text
Allows developers to create and manage their own holographic displays through the extensive API
Holographic chat bubbles (captions) that show chat messages above the speaker'a head
Animated text support
Automatic UTF-8 character formatting and replacing
Super smooth Animated Holograms and hologram teleportation!
Automatic tag replacement e.g. "Hello there %name%!" (Where name is replaced with the observer's name)
Holographic chat bubbles with in-built support for VanishNoPacket
TouchScreen Holograms with an extensive and easy to use API
Floating Item displays with easy to use tags - %item:id%
BungeeCord support for TouchScreen holograms and online count placeholders
Supports Bukkit from 1.6.4 through to 1.7.9 and MCPC+ 1.6.4

Stay up to date and make sure you have the latest version of HoloAPI!

This extensive API is designed to provide you with the easiest, most feature packed resources for creating and managing your own holograms.

break

HoloAPI also uses intelligent image-translation technology (thanks to @bobacadodl) to transform ordinary images into futuristic holograms that can enhance your server in ways that you have never imagined.

break

break

or

break

Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.

break

Commands and Permissions

CommandPermissionDescription
/holoupdateholoapi.updateUpdate HoloAPI if a new version has been found.
/holoholoapi.holoBase HoloAPI command. All in-game methods for creating holographic displays can be found under this command. Entering this command by itself will provide version information for HoloAPI.
/holo createholoapi.holo.createCreate a holographic display. Lines can be entered one after each other.
/holo create image <image_id>holoapi.holo.createCreate a holographic display from an image. See the Configuration page on the Wiki for more information on how to set this up.
/holo create animationholoapi.holo.createCreate an animated holographic display from lines of text.
/holo create animation <animation_id>holoapi.holo.createCreate an animated hologram. See the Configuration Wiki page for info on how to set up GIFs.
/holo remove <id>holoapi.holo.removeRemove a hologram by its assigned ID.
/holo infoholoapi.holo.infoView all active holographic displays and their respective IDs.
/holo move <id>holoapi.holo.moveMove a hologram to your current position.
/holo teleport <id>holoapi.holo.teleportTeleport to a specific hologram.
/holo buildholoapi.holo.buildDynamically build a combined hologram of both text and images.
/holo edit <id> <line>holoapi.holo.editEdit a line of an existing hologram.
/holo edit <id> <line> <content>holoapi.holo.editEdit a line of an existing hologram. The content can be more than one line.
/holo nearby <radius>holoapi.holo.nearbyView information on all nearby holograms within the specified radius
/holo copy <id>holoapi.holo.copyCopy an existing hologram to your current position.
/holo refresh <id>holoapi.holo.refreshRefresh a Hologram of the specified ID.
/holo reloadholoapi.holo.reloadReload all configuration files and holograms

TouchScreen Hologram Commands

CommandPermissionDescription
/holo touch add <id> <command>holoapi.holo.touch.addAdd an action for a certain hologram to perform when touched. Actions defined without the use of the API (through this command) may only be commands. The `%name%` placeholder can be used to define the user that touched the hologram. Commands can be more than one word.
/holo touch add <id> <command> <as_console>holoapi.holo.touch.addSame functionality as `/holo touch add <command>`. `<as_console>` defines whether the action is performed by the console or the player that touched the hologram
/holo touch remove <id> <touch_id>holoapi.holo.touch.removeRemove an action for a TouchScreen hologram, where `<touch_id>` is the ID of the TouchAction. To remove a command-based Touch Action, simply enter the command"
/holo touch clear <id>holoapi.holo.touch.clearClear all Touch Actions for a particular TouchScreen hologram
/holo touch info <id>holoapi.holo.touch.infoView information on all Touch Actions for a particular TouchScreen hologram

break

Configuration

break

Metrics

Metrics is used to collect plugin statistics. Only data such as plugin version and players online is collected. If you do not wish for this data to be collected, disable it in the 'Plugin Metrics' folder of your 'plugins' directory.

break

Update Checking

HoloAPI comes with an auto-updater to save you, as a server owner, from continually checking this page for new files. It simply connects to dev.bukkit.org and compares the versions of available files. If you do not wish for HoloAPI to perform this check, navigate to the Configuration File (config.yml) in the HoloAPI directory of your plugins folder and change "checkForUpdates" and "autoUpdate" to "false". The first value disables the version comparison altogether and the second updates the plugin automatically if new files are detected.

break

Plugins Using HoloAPI

Some of the plugins that utilise the powerful features in HoloAPI:

...And many more!

break

break

github

Credit to Asdjke for coming up with the idea

break

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of moneyremcoo moneyremcoo Jul 24, 2014 at 08:23 UTC - 0 likes

    Hey there, i used this plugin for an spawn deep in the ground but all the text holograms are really dark like there is missing light. How to fix this?

    When i trow an potion of night vision on myslef all colors are bright and ok, how get this without the potion? And yes the spawn is lighted well with glowstone etc.

    Last edited Jul 24, 2014 by moneyremcoo
  • Avatar of Vimppa Vimppa Jul 17, 2014 at 18:43 UTC - 0 likes

    Can someone update this plugin? http://pastebin.com/F3YufmKs

  • Avatar of JCPlaysMC JCPlaysMC Jul 14, 2014 at 15:21 UTC - 0 likes

    Hey can you make it so that players can use the %serveronline:server% doesn't cancel out the text on the entire line because I want it to say "There are %serveronline:prison% on this server!" but it always just comes out with the total players on that server but none of the rest.

  • Avatar of jonny11011 jonny11011 Jul 10, 2014 at 17:59 UTC - 0 likes

    Hello. Is it possible to spawn a hologram that only a certain player can see ?

    Last edited Jul 13, 2014 by jonny11011
  • Avatar of sanjay900 sanjay900 Jul 10, 2014 at 07:19 UTC - 0 likes

    @LukasAlt: Go

    Hologram hologram = new HologramFactory(this) 
    .withSimplicity(true)
    .build();
    

    set simplicity to true to disable saving

    Last edited Jul 10, 2014 by sanjay900
  • Avatar of LukasAlt LukasAlt Jul 08, 2014 at 20:54 UTC - 0 likes

    Hey,

    is it possible to create a hologram using the api which does not saves itself. I have so many holograms that it takes ages to load them.

    Thanks, Lukas

    It's not a bug, it's a feature. http://www.lualzockt.tk || http://youtube.com/lualzockt

  • Avatar of JimmyWalters JimmyWalters Jul 01, 2014 at 02:04 UTC - 0 likes

    I'm using MCPC+/Cauldron 1.7.2. I have version 1.2.3 installed and when I do /holo create, it lets me enter my lines of text, however, when I enter "Done" it doesn't create the hologram. Actually, nothing happens. Is this plugin supported on MCPC+/Cauldron? I figured it should work on it. Great plugin and thanks for your time!

  • Avatar of sanjay900 sanjay900 Jun 28, 2014 at 04:56 UTC - 0 likes

    @DSH105: Go

    At one point, i wrote this to make holograms dissappear after walking a certian distance from a player. It works, thought id just share it with you

    	@EventHandler
    	public void PlayerMove(final PlayerMoveEvent event) {
    		
    			for (Hologram h : HoloAPI.getManager().getHologramsFor(plugin)) {
    				
    
    					if (event.getTo().distance(h.getDefaultLocation()) < 10) {
    						
    						if (!h.getPlayerViews().containsKey(event.getPlayer().getUniqueId().toString()))
    						h.show(event.getPlayer());
    					} else {
    					h.clear(event.getPlayer());
    					
    					}
    					
    					
    			}
    
  • Avatar of gdude2002 gdude2002 Jun 27, 2014 at 10:16 UTC - 0 likes

    @DSH105: Go

    Holograms aren't showing up for players that have died and respawn nearby; EG we're using touchscreen holograms to allow players to leave a spleef arena but they respawn near the holos when they lose and the holos don't show up for players that've died nearby.

    We're using the latest dev build as of this post.

    Owner of The Archives

  • Avatar of Speedy0001 Speedy0001 Jun 26, 2014 at 19:14 UTC - 0 likes

    %item:id% doesnt work

Facts

Date created
Feb 22, 2014
Categories
Last update
Apr 25, 2014
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
HoloAPI
Downloads
19,852
Recent files

Authors

Relationships

Optional dependency
Vanish No Packet
Vault