This is a screenshot of the help command from the bukkit plugin BossMessage:
Is anyone able to tell me what the /tellraw command is for this?
I would highly appreciate it!
Thanks in advance!
It could vary depending on how they structured the command. It seems the hovered text and the suggested command don't match up in your image, but you can fill in the text as you like (I've set the suggested command to match the hovered). Apologies if the colors are incorrect:
/tellraw @a {
text:"/bm gb <group> <sec> <message>",
color:yellow,
clickEvent:{
action:suggest_command,
value:"/bm gb <group> <sec> <message>"
},
hoverEvent:{
action:show_text,
value:"\u00A7e\u00A7l/bm gb <group> <sec> <message>\u00A7r\n\u00A79Same as regular broadcast (see /bm broadcast), except\n\u00A79that it only broadcasts the message to players in\n\u00A79the specific message group.\n\n\u00A74Example: \u00A76/bm gb default 20 &6This is a broadcast message!\n\n\u00A7c\u00A7o[Click to paste in chat]\u00A7r"
}
}
Condensed:
/tellraw @a {text:"/bm gb <group> <sec> <message>",color:yellow,clickEvent:{action:suggest_command,value:"/bm gb <group> <sec> <message>"},hoverEvent:{action:show_text,value:"\u00A7e\u00A7l/bm gb <group> <sec> <message>\u00A7r\n\u00A79Same as regular broadcast (see /bm broadcast), except\n\u00A79that it only broadcasts the message to players in\n\u00A79the specific message group.\n\n\u00A74Example: \u00A76/bm gb default 20 &6This is a broadcast message!\n\n\u00A7c\u00A7o[Click to paste in chat]\u00A7r"}}
Final result:
Note that this uses the section symbol via unicode (\u00A7), and that the section symbol's usage is planned on being removed in the future.
This is a screenshot of the help command from the bukkit plugin BossMessage:
Is anyone able to tell me what the /tellraw command is for this?
I would highly appreciate it!
Thanks in advance!
/tellraw @a [{"text":"/bm qb <group> <sec> <message>","color":"yellow","insertion":"/bm qb <group> <sec> <message>","hoverEvent":{"action":"show_text","value":"\u00A7e\u00A7l/bm gb <group> <sec> <message>\u00A7r\u00A79Same as regular broadcast (see /bm broadcast), except\n\u00A79that it only broadcasts the message to players in\n\u00A79the specific message group.\n\n\u00A74Example: \u00A76/bm gb default 20 &6This is a broadcast message!\n\n\u00A7c[Click to paste in chat]"}}]
/tellraw @a {text:"/bm gb <group> <sec> <message>",color:yellow,clickEvent:{action:suggest_command,value:"/bm gb <group> <sec> <message>"},hoverEvent:{action:show_text,value:"\u00A7e\u00A7l/bm gb <group> <sec> <message>\u00A7r\n\u00A79Same as regular broadcast (see /bm broadcast), except\n\u00A79that it only broadcasts the message to players in\n\u00A79the specific message group.\n\n\u00A74Example: \u00A76/bm gb default 20 &amp;amp;6This is a broadcast message!\n\n\u00A7c\u00A7o[Click to paste in chat]\u00A7r"}}
/tellraw @a [{"text":"/bm qb <group> <sec> <message>","color":"yellow","insertion":"/bm qb <group> <sec> <message>","hoverEvent":{"action":"show_text","value":"\u00A7e\u00A7l/bm gb <group> <sec> <message>\u00A7r\u00A79Same as regular broadcast (see /bm broadcast), except\n\u00A79that it only broadcasts the message to players in\n\u00A79the specific message group.\n\n\u00A74Example: \u00A76/bm gb default 20 &amp;6This is a broadcast message!\n\n\u00A7c[Click to paste in chat]"}}]
This isn't correct, you shouldn't be using &amp;
It's an issue with the forum formatting; yours had the issue occur as well. Seems the only way to fix it is to edit the post and delete the extra bits, though editing again will break it.
EDIT: I've removed the 'amp;'s from my original post.
/tellraw @a {text:"/bm gb <group> <sec> <message>",color:yellow,clickEvent:{action:suggest_command,value:"/bm gb <group> <sec> <message>"},hoverEvent:{action:show_text,value:"\u00A7e\u00A7l/bm gb <group> <sec> <message>\u00A7r\n\u00A79Same as regular broadcast (see /bm broadcast), except\n\u00A79that it only broadcasts the message to players in\n\u00A79the specific message group.\n\n\u00A74Example: \u00A76/bm gb default 20 &6This is a broadcast message!\n\n\u00A7c\u00A7o[Click to paste in chat]\u00A7r"}}
I figured out how to do the same thing without using the section symbol!
/tellraw @a {text:"/bm gb <group> <sec> <message>",color:yellow,clickEvent:{action:suggest_command,value:"/bm gb <group> <sec> <message>"},hoverEvent:{action:show_text,value:[{text:"/bm gb <group> <sec> <message>\n",color:yellow,bold:true},{text:"Same as regular broadcast (see /bm broadcast), except\n",color:blue},{text:"that it only broadcasts the message to players in\n",color:blue},{text:"the specific message group.\n\n",color:blue},{text:"Example: ",color:dark_red},{text:"/bm gb default 20 &6This is a broadcast message!\n\n",color:gold},{text:"[Click to paste in chat]",color:red,italic:true}]}}
I figured out how to do the same thing without using the section symbol!
/tellraw @a {text:"/bm gb <group> <sec> <message>",color:yellow,clickEvent:{action:suggest_command,value:"/bm gb <group> <sec> <message>"},hoverEvent:{action:show_text,value:{text:"",extra:[{text:"/bm gb <group> <sec> <message>\n",color:yellow,bold:true},{text:"Same as regular broadcast (see /bm broadcast), except\n",color:blue},{text:"that it only broadcasts the message to players in\n",color:blue},{text:"the specific message group.\n\n",color:blue},{text:"Example: ",color:dark_red},{text:"/bm gb default 20 &6This is a broadcast message!\n\n",color:gold},{text:"[Click to paste in chat]",color:red,italic:true}]}}}
Awesome! Will definitely have to add that to the OP. I expect this will be how the shift away from the section symbol will work in NBT string data as well.
Awesome! Will definitely have to add that to the OP. I expect this will be how the shift away from the section symbol will work in NBT string data as well.
One thing to note about that command: I found that when "\n" is in a text string, all the text after the "\n" isn't formatted. Thus, all the "\n"s are at the ends of the strings.
For the second time, the OP has been completely rewritten. Hopefully it's even easier to read through. I've included a little bit concerning /title, but the main focus for examples is still /tellraw. Essentially you'd just copy/paste the raw JSON from a /tellraw example and use it in /title. There are icons to indicate which features of the JSON text component are available to which commands. For example, "clickEvent" is not usable with /title, so only the /tellraw icon is shown.
Nothing has been added to the FAQ apart from fixing up the outdated answers. Just a slight mention regarding that: the in-game character limit for command blocks has been boosted to the full 32,767 characters in the latest snapshot. Before, it would prevent you from entering a command longer than 16,369 characters in-game, which would require you to use an external editor to insert a lengthy command. Not likely to reach the original limit to begin with, but it's a welcome change.
Please let me know if I'm missing something or if there's incorrect information. I've structured the topic better this time around so I can more easily add information as it comes. With 1.8's release being bumped back a few months from now, I do hope to see more relating to /tellraw and /title (perhaps even being able to format NBT strings). And if there's new stuff I should add to the FAQ that doesn't need a whole section for it, feel free to point it out!
Once again Skylinerw, an absolutely genius thread that is masterfully and beautifully crafted. I have one suggestion though, perhaps move the "Escaping" section higher up in the thread. You use the escaping method with backslashes earlier in the thread and it might confuse some readers.
Rollback Post to RevisionRollBack
Check out innovative redstone and command block concepts with The Redstone Scientist!
I have another question:
How would I have those in one line/message? I want them all on one line.
It would be great if you added some normal text between the three as well.
I hope you understand.
Do you mean to have only one /tellraw command to create multiple lines of text within the chat? Unfortunately from my knowledge, I don't believe you can do this. The old method of using a large amount of spaces has actually been removed, as multiple spaces in a row is now condensed to just a single space.
Once again Skylinerw, an absolutely genius thread that is masterfully and beautifully crafted. I have one suggestion though, perhaps move the "Escaping" section higher up in the thread. You use the escaping method with backslashes earlier in the thread and it might confuse some readers.
Good call; I've moved the Escaping section just above Chat Functions, which is where the escaping method is first referenced. Luckily the Escaping bit was just straight text and didn't include any functions seen elsewhere in the thread, so moving it there works very nicely.
Do you mean to have only one /tellraw command to create multiple lines of text within the chat? Unfortunately from my knowledge, I don't believe you can do this. The old method of using a large amount of spaces has actually been removed, as multiple spaces in a row is now condensed to just a single space.
Good call; I've moved the Escaping section just above Chat Functions, which is where the escaping method is first referenced. Luckily the Escaping bit was just straight text and didn't include any functions seen elsewhere in the thread, so moving it there works very nicely.
I have another question: How would I have those in one line/message? I want them all on one line.
It would be great if you added some normal text between the three as well. I hope you understand.
/tellraw @p [{text:"TestWord1",color:blue,italic:true,hoverEvent:{action:show_text,value:"testcommand 1 woop woop"},clickEvent:{action:suggest_command,value:"Hover Text 1"}},"Normal Text",{text:"TestWord2",color:blue,italic:true,hoverEvent:{action:show_text,value:"testcommand 2 woop woop"},clickEvent:{action:suggest_command,value:"Hover Text 2"}},"Normal Text",{text:"TestWord3",color:blue,italic:true,hoverEvent:{action:show_text,value:"testcommand 3 woop woop"},clickEvent:{action:suggest_command,value:"Hover Text 3"}}]
rcContent = new ResourceLocation("assets/tapioca/links/links.json");
I've been scouring Google for quite some time looking for a way to read this file into a JSON Object with no luck. Do I need to create an analogue of TextureManager for JSON or is there a simpler way? Since your chat system relies on reading and parsing JSON I thought you would know.
The text component will be available for signs (doubtful that it's a realtime output, but would be great if it turns out that way), which further deprecates the section symbol. Hopefully this will quickly result in all other displayable string data being capable of using JSON, though what would be really nice is the ability to summon a wolf with the owner being the nearest player (which would have some very interesting results if it updated in realtime, or in the very least we're provided with an /entitydata command to modify the owner).
rcContent = new ResourceLocation("assets/tapioca/links/links.json");
I've been scouring Google for quite some time looking for a way to read this file into a JSON Object with no luck. Do I need to create an analogue of TextureManager for JSON or is there a simpler way? Since your chat system relies on reading and parsing JSON I thought you would know.
Unfortunately this topic is less to do with actual JSON and more to do with how to use what's available to use in Minecraft gameplay. You'll be better off asking separately at a site like Stack Exchange for that.
The thread has been updated to include information concerning text component usage in books and signs, with new icons to display what features they have access to.
The run-down so there's no need to search through the walls of text:
In order to use the text component, the tag-type of the book/sign tags must be labeled ('pages', 'Text1/2/3/4'). All of these tags are strings, so you encase the text component in quotation marks. This means you must use escaping methods for child quotes.
Books and signs can have the text colors and emphases changed, as expected.
Both books and signs can use the "clickEvent", though there are limitations. Neither can use the 'suggest_command' action, since the chat cannot be open at the same time as clicking. 'open_url' does not currently function for signs, might be a bug.
Signs themselves are rather finicky; only the root clickEvent can be run, so any child clickEvents (via "extra") are ignored, even if they're the only clickEvents. This means that for each line of text (Text1, Text2, Text3, Text4) for the sign can only have one clickEvent. If you click anywhere on the sign, regardless of which line has the clickEvent, ALL of the clickEvents will fire. But in the very least, we now have officially vanilla clickable signs that can target the clicker.
The hoverEvent works in books, no usage for signs.
"insertion" works for neither of these, as explained above.
"score" and "selector" both work in signs, but are buggy in multiplayer for books. The scores/selectors for signs are not updated in realtime. The books I am unsure about in regards to realtime, but they do update when the book is opened. I have excluded books from the "score" and "selector" pages for now until bugs are fixed.
Speaking of which, the 'name' tag for "score" can use player selectors now.
There's a lot of bugs within this snapshot, so the thread will probably go through some phases of information changing. If anything is missing, inaccurate, or requires updating (or there's broken layout), just say so.
Is there way to get 5 charter unigue codes to work like \1F690 that has 5 charters and minecraft doesnt seem to allow that but exampe \1F69 works (4 charters) so is there way to get 5 charter codes to work?
Is there way to get 5 charter unigue codes to work like \1F690 that has 5 charters and minecraft doesnt seem to allow that but exampe \1F69 works (4 charters) so is there way to get 5 charter codes to work?
On the unicode page for that character, you can scroll down to see available codes, specifically under "Java source code": http://www.fileforma...1f690/index.htm
However, the character itself (minibus icon) does not appear to be supported even when using that code.
Try this my "small" command out, first time ever playing with tellraw command (exept on my survival server where i did mostly: " /tellraw @a {text:"MeoMoniZ left the game",color:yellow} but nothing else) and here it is:
/give @p written_book 1 0 {display:{Name:"Spell book"},pages:["{text:\"Draw a sword\n\",hoverEvent:{action:show_item,value:\"{id:iron_sword,tag:{display:{Name:MagicanSword},ench:[{id:16,lvl:2}]}}\" },clickEvent:{action:run_command,value:\"/give @p iron_sword 1 0 {display:{Name:MagicanSword},ench:[{id:16,lvl:2}]}\"},extra:[{text:\"Spell of ocelot speed\n\",hoverEvent:{action:show_item,value:\"{Damage:8194,id:potion,tag:{display:{Name:Speedbuff},CustomPotionEffects:[{Id:1,Amplifier:1,Duration:400}]}}\"},clickEvent:{action:run_command,value:\"/effect @p 1 20 1\"}},{text:\"Spell of healing touch\n\",hoverEvent:{action:show_item,value:\"{id:potion,Damage:8194,tag:{display:{Name:Healingtouch},CustomPotionEffects:[{Id:6,Amplifier:0,Duration:20}]}}\"},clickEvent:{action:run_command,value:\"/effect @p 6 1 0\"}},{text:\"Homespell\n\",hoverEvent:{action:show_text,value:\"Sets teleport location(needs manual reset)\"},clickEvent:{action:run_command,value:\"/summon WitherSkull ~ ~ ~ {CustomName:TeleLocation,direction:[0.0,0.0,0.0]}\"}},{text:\"Reset\n\",color:red,hoverEvent:{action:show_text,value:\"This manually removes all locations from\nHomespell (this is necessary for teleport to work!)\"},clickEvent:{action:run_command,value:\"/kill @e[name=TeleLocation]\"}},{text:\"Spell of HomeSickenss\n\",color:black,hoverEvent:{action:show_text,value:\"This teleports you to the set location of Homespell\"},clickEvent:{action:run_command,value:\"/tp @p @e[name=TeleLocation]\"}},{text:\"HomeTests\",color:dark_green,hoverEvent:{action:show_text,value:\"This spells has 2 buttons that test is there too few or too many homes.\nIf command outputs red text it's incorrectly set.\"},clickEvent:{action:run_command,value:\"/asdf\"}},{text:\" [S]\",color:red,hoverEvent:{action:show_text,value:\"This shows if there is atleast one teleport set\"},clickEvent:{action:run_command,value:\"/execute @e[name=TeleLocation] ~ ~ ~ say I'm correctly installed!\"}},{text:\" [M]\",color:dark_green,hoverEvent:{action:show_text,value:\"If this command shows 2 times same thing at chat bar it is incorrectly installed, if so press reset\"},clickEvent:{action:run_command,value:\"/execute @e[name=TeleLocation] ~ ~ ~ say Im supposed to be only message here!\"}}]}"]}
Updated version: (updated 3 times)
latest:
-Added over 100% more text
-Teleport command and way to set up where it will teleport
-AWESOME STUFF!
Is anyone able to tell me what the /tellraw command is for this?
I would highly appreciate it!
Thanks in advance!
It could vary depending on how they structured the command. It seems the hovered text and the suggested command don't match up in your image, but you can fill in the text as you like (I've set the suggested command to match the hovered). Apologies if the colors are incorrect:
Condensed:
Final result:
Note that this uses the section symbol via unicode (\u00A7), and that the section symbol's usage is planned on being removed in the future.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
This isn't correct, you shouldn't be using &
Generate Minecraft Tellraw Commands, Books, and Signs!
It's an issue with the forum formatting; yours had the issue occur as well. Seems the only way to fix it is to edit the post and delete the extra bits, though editing again will break it.
EDIT: I've removed the 'amp;'s from my original post.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
Awesome! Will definitely have to add that to the OP. I expect this will be how the shift away from the section symbol will work in NBT string data as well.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
Nothing has been added to the FAQ apart from fixing up the outdated answers. Just a slight mention regarding that: the in-game character limit for command blocks has been boosted to the full 32,767 characters in the latest snapshot. Before, it would prevent you from entering a command longer than 16,369 characters in-game, which would require you to use an external editor to insert a lengthy command. Not likely to reach the original limit to begin with, but it's a welcome change.
Please let me know if I'm missing something or if there's incorrect information. I've structured the topic better this time around so I can more easily add information as it comes. With 1.8's release being bumped back a few months from now, I do hope to see more relating to /tellraw and /title (perhaps even being able to format NBT strings). And if there's new stuff I should add to the FAQ that doesn't need a whole section for it, feel free to point it out!
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
I have another question:
How would I have those in one line/message? I want them all on one line.
It would be great if you added some normal text between the three as well.
I hope you understand.
Check out innovative redstone and command block concepts with The Redstone Scientist!
Do you mean to have only one /tellraw command to create multiple lines of text within the chat? Unfortunately from my knowledge, I don't believe you can do this. The old method of using a large amount of spaces has actually been removed, as multiple spaces in a row is now condensed to just a single space.
Good call; I've moved the Escaping section just above Chat Functions, which is where the escaping method is first referenced. Luckily the Escaping bit was just straight text and didn't include any functions seen elsewhere in the thread, so moving it there works very nicely.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
No, I wanted the three lines in one single line.
I don't think there's such a thing as a 5 character unicode character; you might be mistaking the HTML code for the unicode numberOh, apparently there is such a thing. My mistake.
Either way, Minecraft appears to replace those characters with spaces, so you can't use them anyways
The file is accessed using a ResourceLocation:
I've been scouring Google for quite some time looking for a way to read this file into a JSON Object with no luck. Do I need to create an analogue of TextureManager for JSON or is there a simpler way? Since your chat system relies on reading and parsing JSON I thought you would know.
https://twitter.com/...047216541700096
The text component will be available for signs (doubtful that it's a realtime output, but would be great if it turns out that way), which further deprecates the section symbol. Hopefully this will quickly result in all other displayable string data being capable of using JSON, though what would be really nice is the ability to summon a wolf with the owner being the nearest player (which would have some very interesting results if it updated in realtime, or in the very least we're provided with an /entitydata command to modify the owner).
EDIT:
And it's gone even further, affecting books:
https://twitter.com/SeargeDP/status/477493856750272512
Unfortunately this topic is less to do with actual JSON and more to do with how to use what's available to use in Minecraft gameplay. You'll be better off asking separately at a site like Stack Exchange for that.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
The run-down so there's no need to search through the walls of text:
In order to use the text component, the tag-type of the book/sign tags must be labeled ('pages', 'Text1/2/3/4'). All of these tags are strings, so you encase the text component in quotation marks. This means you must use escaping methods for child quotes.
Books and signs can have the text colors and emphases changed, as expected.
Both books and signs can use the "clickEvent", though there are limitations. Neither can use the 'suggest_command' action, since the chat cannot be open at the same time as clicking. 'open_url' does not currently function for signs, might be a bug.
Signs themselves are rather finicky; only the root clickEvent can be run, so any child clickEvents (via "extra") are ignored, even if they're the only clickEvents. This means that for each line of text (Text1, Text2, Text3, Text4) for the sign can only have one clickEvent. If you click anywhere on the sign, regardless of which line has the clickEvent, ALL of the clickEvents will fire. But in the very least, we now have officially vanilla clickable signs that can target the clicker.
The hoverEvent works in books, no usage for signs.
"insertion" works for neither of these, as explained above.
"score" and "selector" both work in signs, but are buggy in multiplayer for books. The scores/selectors for signs are not updated in realtime. The books I am unsure about in regards to realtime, but they do update when the book is opened. I have excluded books from the "score" and "selector" pages for now until bugs are fixed.
Speaking of which, the 'name' tag for "score" can use player selectors now.
There's a lot of bugs within this snapshot, so the thread will probably go through some phases of information changing. If anything is missing, inaccurate, or requires updating (or there's broken layout), just say so.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
On the unicode page for that character, you can scroll down to see available codes, specifically under "Java source code": http://www.fileforma...1f690/index.htm
However, the character itself (minibus icon) does not appear to be supported even when using that code.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
/give @p written_book 1 0 {display:{Name:"Spell book"},pages:["{text:\"Draw a sword\n\",hoverEvent:{action:show_item,value:\"{id:iron_sword,tag:{display:{Name:MagicanSword},ench:[{id:16,lvl:2}]}}\" },clickEvent:{action:run_command,value:\"/give @p iron_sword 1 0 {display:{Name:MagicanSword},ench:[{id:16,lvl:2}]}\"},extra:[{text:\"Spell of ocelot speed\n\",hoverEvent:{action:show_item,value:\"{Damage:8194,id:potion,tag:{display:{Name:Speedbuff},CustomPotionEffects:[{Id:1,Amplifier:1,Duration:400}]}}\"},clickEvent:{action:run_command,value:\"/effect @p 1 20 1\"}},{text:\"Spell of healing touch\n\",hoverEvent:{action:show_item,value:\"{id:potion,Damage:8194,tag:{display:{Name:Healingtouch},CustomPotionEffects:[{Id:6,Amplifier:0,Duration:20}]}}\"},clickEvent:{action:run_command,value:\"/effect @p 6 1 0\"}},{text:\"Homespell\n\",hoverEvent:{action:show_text,value:\"Sets teleport location(needs manual reset)\"},clickEvent:{action:run_command,value:\"/summon WitherSkull ~ ~ ~ {CustomName:TeleLocation,direction:[0.0,0.0,0.0]}\"}},{text:\"Reset\n\",color:red,hoverEvent:{action:show_text,value:\"This manually removes all locations from\nHomespell (this is necessary for teleport to work!)\"},clickEvent:{action:run_command,value:\"/kill @e[name=TeleLocation]\"}},{text:\"Spell of HomeSickenss\n\",color:black,hoverEvent:{action:show_text,value:\"This teleports you to the set location of Homespell\"},clickEvent:{action:run_command,value:\"/tp @p @e[name=TeleLocation]\"}},{text:\"HomeTests\",color:dark_green,hoverEvent:{action:show_text,value:\"This spells has 2 buttons that test is there too few or too many homes.\nIf command outputs red text it's incorrectly set.\"},clickEvent:{action:run_command,value:\"/asdf\"}},{text:\" [S]\",color:red,hoverEvent:{action:show_text,value:\"This shows if there is atleast one teleport set\"},clickEvent:{action:run_command,value:\"/execute @e[name=TeleLocation] ~ ~ ~ say I'm correctly installed!\"}},{text:\" [M]\",color:dark_green,hoverEvent:{action:show_text,value:\"If this command shows 2 times same thing at chat bar it is incorrectly installed, if so press reset\"},clickEvent:{action:run_command,value:\"/execute @e[name=TeleLocation] ~ ~ ~ say Im supposed to be only message here!\"}}]}"]}
Updated version: (updated 3 times)
latest:
-Added over 100% more text
-Teleport command and way to set up where it will teleport
-AWESOME STUFF!