I was on a server the other day that turned [Text like this] into a clickable link. Just like an HTML "a href". Been looking through the plugin repository but couldn't find anything. Someone mind pointing me in the right direction?
Cool. Is anyone up to the challenge of creating a plugin for this? I'm going to assume the server I was on had it's own developer for such a thing since I can't find anything in the plugin repository.
Think with sendRawMessage, not sure though because loads of stuff changed with 1.7 ( even sendMessage is gone and sendBlockChange loads of updates needed )
New chat format stuff, and it is working, but depreciated. Now you have time to switch to the raw stuff ( Hope that there will be an easy way of making those in bukkit )
timtower Oh, so sendMessage is replaced by sendRawMessage? Anyway, I still don't know how to change a text to a link when someone clicks on it with that sendRawMessage
Lionhard Gonna be replaced yes, and this will help you understand some stuff: http://ezekielelin.com/minecraft/tellraw/
timtower but the sendRawMessage takes just 1 argument, the string? Do I have to perform a command after this with the sendraw thing? :/
I know, the complete raw string that you want to send ( JSON format ). And this is the only thing that you need to do, no command needed
{"text":"Hi"} That will send plain "Hi" to the player but: {"text":"Hi","color":"RED"} Will send this: "Hi", everything in JSON is in brackets
timtower Thank you! I'm really grateful for your help! Desle Thanks, I will. EDIT by Moderator: merged posts, please use the edit button instead of double posting.