Skip to content

How to send clickable link in chat? #2108

Answered by vearen1
AntonIXO asked this question in Help
Discussion options

You must be logged in to vote

Component component = Component.text("click me").clickEvent(ClickEvent.openUrl("https://minestom.net/"));
player.sendMessage(component);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zax71
Comment options

@Tofaa2
Comment options

Answer selected by AntonIXO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants