Holographic Displays v2.0

Details

  • Filename
    HolographicDisplays.jar
  • Uploaded by
  • Uploaded
    Dec 22, 2014
  • Size
    307.59 KB
  • Downloads
    3,215
  • MD5
    3a4d36f7844aa7b1ba022ca30acf7988

Supported Bukkit Versions

  • 1.8
  • 1.7.4
  • 1.6.4

Changelog

Compatibility: Bukkit/Spigot/Cauldron/MCPC+ 1.6.4, 1.7.2 to 1.8.1

2.0 - The API update!

Changes for server owners

  • 70-80% recoded from scratch, now more stable and flexible for future modifications.
  • Allows to use URLs when reading images.
  • The speed in animations should be now indicated in seconds (e.g.: 0.1)
  • Moved some configuration nodes, added time zone settings for the placeholder {time}.
  • The plugins "Touchscreen Holograms" and "Donation Holograms" will need to be updated. Other plugins using only the old standard API won't probably have problems.
  • Added flag to append an image to the end of a hologram (-a) instead of clearing it.
  • More professional looking output when using /hd or /holograms without arguments. It only shows the version and the developer in a single line.
  • Teleporting holograms from plugins like Chat Bubbles is now smoother.

Changes for developers

The API has been completely rewritten. There is still the old API to maintain compatibility, but it will be removed in the future. Please update your plugins using the Holographic Displays API!

The tutorials on GitHub have already been updated.

You can find the new javadocs here.
Notable changes:

  • Main class changed from HolographicDisplaysAPI to HologramsAPI.
  • Removed FloatingItem class (now included in the Hologram class, a single line can be a floating item).
  • Added a VisibilityManager to dynamically hide/show holograms to players.
  • A touch handler can be set for each line of the hologram.
  • Hologram(s) are now made of many HologramLine(s).
  • You can register and unregister your own placeholders.
  • Merged ItemTouchHandler with TouchHandler (it makes sense now).

If you need help to switch to the new API, please send me a PM! Don't forget to remind your users to use v2+ if you update to the new API.

* Using Forge 1.7.10 (Client) it's not possible to see floating items. This is client side issue, as they appear with a vanilla client.