TitleActionbarAPI doesn't support Minecraft versions newer than 1.9
mikroskeem opened this issue ยท 6 comments
Maybe you could consider using other ways to send title to player? For example using /title command or ConnorlinFoot's TitleAPI (1.7-1.11 according to my testing)
TitleAPI can be used via static methods, which fits perfectly here imo
Spigot 1.11 has native support for bossbars:
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BossBar.html
I think that is the way to go rather than depending on 3rd party plugins.
Thank you both for the contribution, not really sure what to do yet. I would like to support as many versions as possible, so the Spigot 1.11 change would only work for servers using Spigot 1.11 ๐
But I may consider the TitleAPI, but that doesn't include the action bar... If I'm honest I consider writing my own plugin to do it at this stage ๐
BountifulAPI includes both Title and Actionbar sending. It is ActionBarAPI + TitleAPI, all of them are made by same author.
@steve4744 BountifulAPI runs fine on 1.11 according to my testing.
Other approach would be to use my library, which tries to unify all plugins what provide method to send titles/actionbars etc. https://www.spigotmc.org/resources/providerslib.29725/
Althrough it wouldn't fit here out of box (some parts of Parkour plugin need to be made differently on first look)
Though I've finished a hack which creates fake TitleActionbarAPI plugin, thus making Parkour plugin working. So technically Parkour has Title support currently, if my plugin is installed (it works in a non-recommended way though)
Edit: Happy Christmas to you too.
@A5H73Y : The spigot change is actually from 1.9 onwards - which is maybe why a lot of the old bossbar api's have not been updated past 1.9.
@mikroskeem : BountifulAPI looks ok but hasn't been updated since June and is still on 1.10, and so not much different from TitleActionBarAPI for me (on 1.11).
Happy Christmas both!