1
How to make a open link click event?
I'm trying to make a click event for my servers auto announcements - but I can't seem to get it to work...
Create an account or sign in to comment.
5
1
1
22:29:10 INFO]: {"text": "&6&l[Announcer]&r &6["",{"text":"Click Here","clickEvent":{"action":"open_url","value":"sites.google.com/view/royalarmsservers/minecraft/donate"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":{"text":"Click Me :)"}]}}}]"to see the perks of donating to the server!&r}
[22:29:10 INFO]: com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 34 path $.text
[22:29:10 INFO]: com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 34 path $.text
1
Well, I dunno what's wrong with your thing, because all the open click events I've done with that json creator work fine.
Are you trying to enter this through console?
Are you trying to enter this through console?
1
No, this was used for a plugin - not put directly into console
1
Depends a bit on how you want to set this up. It is easily doable with vanilla Minecraft through usage of the so called Raw JSON text format. For example:
/tellraw @p {"text":"Visit the Planet Minecraft forums!","clickEvent":{"action":"open_url","value":"http://www.planetminecraft.com/forums/"}}
See also these data values.
/tellraw @p {"text":"Visit the Planet Minecraft forums!","clickEvent":{"action":"open_url","value":"http://www.planetminecraft.com/forums/"}}
See also these data values.