SamJakob / SpiGUI

A comprehensive GUI API for Spigot with pages support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add ChatComponent support

GEOEGII555 opened this issue · comments

What do I want?
I want to add Adventure API support. Or at least bungeecord component builder
Is there any current method of doing this?
Set the name for the inventory from gui.getInventory()
What is adventure API?
Adventure API - created by Kyori - is a rich component builder API which allows you to build components (Paper)
What about bungeecord/spigot API for components?
https://www.spigotmc.org/wiki/the-chat-component-api/

What exactly is this for? Do you want Chat Component support for the inventory titles? Which Spigot versions support this?

What exactly is this for? Do you want Chat Component support for the inventory titles? Which Spigot versions support this?

Yes, adventure component support. It's supported by Paper
And, you know, this can be used in Paper plugins

@SamJakob

I'm not familiar with adventure API, could you explain briefly what you mean when you say you would like support for it added to SpiGUI?

Is it just a matter of allowing text components instead of strings to be specified for things like the inventory name and/or Item Builder API?

I'm not familiar with adventure API, could you explain briefly what you mean when you say you would like support for it added to SpiGUI?

Is it just a matter of allowing text components instead of strings to be specified for things like the inventory name and/or Item Builder API?

I mean so you can put a Component made with Adventure API into the methods instead of normal strings (In title, for example)

Okay, I see. I'll look into implementing this.