Install (adventure-platform)
LiteCommands Adventure Platform is an extension for supporting Kyori Adventure features for platforms that are doesn't have native support for it. E.g. Bukkit, BungeeCord, etc.
Dependency
Add the following dependency to your project:
Registering the extension
Register the extension in the LiteCommands
builder:
audienceProvider
- the provider for theAudience
object. If you don't have it, read the Adventure Platform page for more information.miniMessage()
- enables the MiniMessage support. (<red>
,<gradient:red:blue>
,<#ff0000>
, etc.)legacyColor()
- enables the legacy color support.&c
,&a
, etc.colorizeArgument()
- enables the default colorizer for the@Arg Component
argument.serializer()
- sets the custom serializer (colorizer) for the@Arg Component
argument. (if replaced, theminiMessage()
andlegacyColor()
will be ignored)