Skip to content

Adventure Component support #240

@Braekpo1nt

Description

@Braekpo1nt

Just making sure

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

Problem

I am unable to achieve using Adventure API Components () in my hologram lines
I think it would be useful for compatibility with other plugins.

Most importantly, the Paper API deprecated org.bukkit.ChatColor in favor of Adventure API (source).

Feature

I would like to see an overload method for DHAPI.addHologramLine() and DHAPI.setHologramLines() with net.kyori.adventure.text.Components as the content parameter. Right now, they all make use of String. It would be nice if you could also optionally use Component objects.

Alternatives

It would also be possible by providing a set of instructions for how to translate Adventure Components on the wiki to be usable as the lines in holograms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions