DecentHolograms icon indicating copy to clipboard operation
DecentHolograms copied to clipboard

MiniMessage Support

Open zax71 opened this issue 2 years ago • 9 comments

Just making sure

  • [X] I have read the wiki and made sure, this feature is not yet in the plugin.
  • [X] I believe, that this feature is possible to implement.
  • [X] I made sure, that this feature has not been requested yet.

Problem

Some plugins only support MiniMessage text and will not work with the legacy colour code system. Due to this, some PlaceholderAPI placeholders have been modified for MiniMessage and cannot be used in Holograms.

Feature

I'd love DecentHolograms to follow suit with other plugins and switch to Adventure and MiniMessage (Or even just MiniMessage using serialisers)

Alternatives

The only other alternative for my unique case would be asking the other plugin to support legacy colour codes, but looking at the broader picture, MiniMessage is a lot more human-readable and widely adopted already, so would greatly improve the user's experience if you added support.

zax71 avatar Dec 04 '22 18:12 zax71

This is already planned for v3 of DH which is in the making.

Andre601 avatar Dec 04 '22 20:12 Andre601

This is already planned for v3 of DH which is in the making.

Is there a branch with this progress or is it in need of any extra help for minimessage support, I've worked with and added support to quite a few plugins and would love to get minimessage working for holograms

DaRacci avatar Dec 21 '22 06:12 DaRacci

any news?

Zoltus avatar Jul 22 '23 12:07 Zoltus

bump?

mudkipdev avatar Mar 09 '24 19:03 mudkipdev

Bumping this won't make it be implemented any faster. If you want it, PR the change yourself.

Andre601 avatar Mar 09 '24 20:03 Andre601

MiniMessage support need

mrdeniska1234 avatar Aug 24 '24 13:08 mrdeniska1234

This feature would be amazing! Looking forward to it soon.

Recliness avatar Aug 28 '24 20:08 Recliness

d0by mentioned this to me once, that there is honestly no benefit of using MiniMessage here that can't be implemented in DecentHolograms itself through some own method. In fact, MiniMessage and Adventure would only add bloat for the most part as quite a few features aren't usable here:

  • No click actions are doable here, as not only do you not "click" any text here, but even if it was somehow added, would it be pretty difficult to know what line is selected here...
  • Hover actions have absolutely no use here as there is no way to display hover text or similar while looking at a line.

The only beneficial features are colors and formatting here (And the gradient pattern), which can be implemented directly instead of relying on some 3rd-party library...

That's at least the stuff I recall d0by mentioned to me, but it was a long while ago.

Andre601 avatar Aug 28 '24 21:08 Andre601

There is some sense in your words. In fact. There are just plugins that use the DecentHologram API, and while supporting minimessage, they try to display the minimessage format and encounter the fact that decenthologram itself shows bare markup. There are not many such plugins and they all support the legacy format, but still

mrdeniska1234 avatar Aug 29 '24 12:08 mrdeniska1234