Page 1 of 1

Clickable Text?

Posted: February 28th, 2017, 7:15 am
by Mr.Mango
Hello everyone. Does someone know if you can send clickable text to a player with denizen? I have seen servers using text to run commands (like: Teleport to HERE. Clicking on here would teleport you).

Sorry if this is not the correct place for these kind of questions...

Re: Clickable Text?

Posted: February 28th, 2017, 7:24 am
by Anthony
It's totally doable in denizen. You can either intercept the player receives message and to control the JSON output, you can use

Code: Select all

execute as_server tellraw
, or you can use (shameless self plug) MessageConstructorLibrary.