JorelAli / CommandAPI

A Bukkit/Spigot API for the command UI introduced in Minecraft 1.13

Home Page:https://commandapi.jorel.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tooltips for LiteralArguments

tinyoverflow opened this issue · comments

Description

It would be awesome if LiteralArguments would support tooltips, so when the user hovers over the suggestion for that LiteralArgument, he get's a tooltip.

Expected code

I think something like the following would be great:

new LiteralArgument("field")
    .withTooltip(Component/String)
    // ...

Extra details

No response

Can't fix, because this is a Brigadier limitation. This is something described in more detail in the documentation's FAQ page