How to send a Component in Paper 1.20+ #1332
Replies: 1 comment 3 replies
-
|
Player#sendMessage(Component) Note that this uses the Adventure API and not the BungeeChat API like in your example. If you need help with the BungeeChat API you'll have to ask them. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey devs,
After reviewing the docs, I couldn't find any explanation on how to send a component, like in this example:
I’m not sure how to actually send this component to a player in Paper 1.20+.
Previously I used:
but I noticed this method has been removed.
Here is an example of my current code:
When I check the decompiled API:
So, my question is: what is the correct way to send Components to a player in Paper 1.20+?
Beta Was this translation helpful? Give feedback.
All reactions