Holographic Displays v2.0.1
Details
-
FilenameHolographicDisplays.jar
-
Uploaded by
-
UploadedDec 23, 2014
-
Size308.19 KB
-
Downloads4,996
-
MD5fae2d0437c8539b7bb1c272cf2ff5408
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.1
- Re-added numerical ID support
- API changes
- Added method removeLine() to HologramLine class.
- Added method removeLine(int index) to Hologram class.
- Startup error fix
- Small API bug fixes
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.