The Meaning of Life, the Universe, and Everything.
Join Date:
5/16/2012
Posts:
61
Member Details
Bummer. I was hoping I could build an admin book where you could turn on and off the game rules and it would show whether they were currently on or off right in the book without any extra command blocks checking scoreboards.
I noticed the language selector is a bit confusing now that the site have a lot of different languages. My suggestion is the use of flags instead (with hover texts thou).
Here is an example, it doesn't have all the languages which are currently in the list, but you can get an idea about it.
JSON is replacing the section symbol's function as a formatter. In the future, you will not have the ability to use the section symbol (hence the reasoning for this thread). If you are using the section symbol in cases where JSON is available, you should not use the section symbol. The /tellraw command itself was essentially the spearhead of the replacement for the section symbol.
It was the same case with numerical IDs being replaced with alphabetical. If you were using numerical IDs, you were expected to swap to alphabetical IDs. Now numerical IDs have been phased out almost entirely, and the same will happen with the section symbol.
The Meaning of Life, the Universe, and Everything.
Join Date:
4/19/2014
Posts:
60
Location:
Maple Igloo
Minecraft:
Vrail_Nightviper
Member Details
This is awesome, thanks for posting this!
btw I was wondering, is there a way to check if a player opens a certain book, by testing for the tattered tag, from 1.8, by putting its data stuff in one "opening" before becoming tattered? Would be really usual for a map I'm thinking of making, so that a certain event would happen, just by opening the book.
Rollback Post to RevisionRollBack
“Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.”
- Albert Einstein
Is there a way to have multiple clickEvent strings in a book? Because I'm trying to make a warp book but I can't seem to make multiple clickable texts in one book, it just starts displaying some of the command instead of any of the desired text.
Is there a way to have multiple clickEvent strings in a book? Because I'm trying to make a warp book but I can't seem to make multiple clickable texts in one book, it just starts displaying some of the command instead of any of the desired text.
You should copy/paste the command you're attempting to use.
You should copy/paste the command you're attempting to use.
I am, and I've tried many different ways of doing this, and seperating the two strings that I want, but it just wont work! Like I copy the command/command parts from this thread, then paste it into a command block, push a button on it, but when I try to take the book commands (the hover and click stuff) and put them together, they work, except for when I try to put in multiple clickable/hoverable strings and put them together in a book that it dosen't work properly!
I am, and I've tried many different ways of doing this, and seperating the two strings that I want, but it just wont work! Like I copy the command/command parts from this thread, then paste it into a command block, push a button on it, but when I try to take the book commands (the hover and click stuff) and put them together, they work, except for when I try to put in multiple clickable/hoverable strings and put them together in a book that it dosen't work properly!
I think what Skylinerw was trying to say is to copy/paste the command you have here on this thread so we can help troubleshoot your issue
Hey SkyLiner thanks again! I have used this tutorial extensively and just wanted to drop by and say thanks for helping me to master JSON formatting! I've used what I learned here to make a robust, modular NPC Dialogue system that works with as complex inter-connections and options as you like, such as branched, looping, and spider-webbed type conversations. Looks and feels quite intuitive. Really appreciate this post!
Rollback Post to RevisionRollBack
Download and play my new Survival Map!
Space Expedition to EPIC 204:Go on a Space-Age Adventure to visit and explore EPIC 204, a wacky world of dense asteroids and full of alien life! Experience Custom Seasons, Weather, Over 50 new creatures, Beautiful Biomes, Alien Ruins, Dungeons, and new space age tech crafting recipes!
Is there any command I could use to make the player get teleported to the selected entity?
Not with one command. You'd have to use some way to label entities uniquely (such as a score), and then have individual /tellraw commands run based on scores.
I am very appreciative of this extremely thorough explanation of JSON formatting.
I've been experimenting with the creation of written books via command, and I have a few questions.
One: I know that the \n formatting code creates a new line on the same page, which causes any lines that would be past the fourteenth line one on page to be invisible. Is there any formatting code to create a new page, or is there some other strategy for it?
Two: I still have some worlds that need to be kept in 1.7.10 because of other mods I like to have installed. Is it possible to create a book in 1.8 and bring it back to 1.7.10 via save file? Or better yet, is there a different command format I can use within 1.7.10 to create the same book?
(Being very brief here as I already typed this up as a HUGE essay and then suddenly a weird glitch happened and it all deleted)
I need it so that a click event happens.
When you click the 'Oh, hi there!', you say 'Who are you?'
Of course, the 'Who are you?' has to be blue, and the 'Oh, hi there!' has to stay red. Is that possible?
You can use /tellraw as the command to run with the clickEvent. Keep in mind that players will have a 100-character threshold with /tellraw, so you can't get very far with it. Players would also have to be OP'd to run the clickEvent:
/tellraw @a {text:"???: ",color:dark_red,extra:[{text:"Oh, hi there!",color:red,clickEvent:{action:run_command,value:"/tellraw @a {text:'Who are you?',color:blue}"}}]}
You also wouldn't be able to detect when the player clicks on it. You may be better off using /trigger as the clickEvent command instead, solving the character-limit, OP requirement, and detection problems.
Bummer. I was hoping I could build an admin book where you could turn on and off the game rules and it would show whether they were currently on or off right in the book without any extra command blocks checking scoreboards.
Maybe I can try something like this instead:
Where clicking on the 'check' text will have the command show in the chat what the game rule is currently set to. Thank you for the help.
Map Item Renderer
Item Frame Rail Station
Removed. (I'm a genius)
I think you may have the wrong thread
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/
You don't need JSON for colorful (or colourful) texts.
INPUT: /tellraw {player[INFO]} "\u00a72TEXT"
OUTPUT: TEXT
Colors: (replace the 2)
I'm sure you can figure it out.
\u00a7f is white
Formatting:
l: bold
o: italics
k: Crazy looking text
n & m: one is
strikethroughand one is underlineWell, not too bad of a post huh
JSON is replacing the section symbol's function as a formatter. In the future, you will not have the ability to use the section symbol (hence the reasoning for this thread). If you are using the section symbol in cases where JSON is available, you should not use the section symbol. The /tellraw command itself was essentially the spearhead of the replacement for the section symbol.
It was the same case with numerical IDs being replaced with alphabetical. If you were using numerical IDs, you were expected to swap to alphabetical IDs. Now numerical IDs have been phased out almost entirely, and the same will happen with the section symbol.
See also: Deprecation
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/
Yup, I'm removing the post xD (thanks for warning)
This is an awesome tool, thank you for making it!
This is awesome, thanks for posting this!
btw I was wondering, is there a way to check if a player opens a certain book, by testing for the tattered tag, from 1.8, by putting its data stuff in one "opening" before becoming tattered? Would be really usual for a map I'm thinking of making, so that a certain event would happen, just by opening the book.
“Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.”
- Albert Einstein
Is there a way to have multiple clickEvent strings in a book? Because I'm trying to make a warp book but I can't seem to make multiple clickable texts in one book, it just starts displaying some of the command instead of any of the desired text.
My Result: Cautious
-=
Watch me solve a tough math problem!
1 + 1 = 45!
Ta da!
I'M A MATH GENIUS!
You should copy/paste the command you're attempting to use.
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 am, and I've tried many different ways of doing this, and seperating the two strings that I want, but it just wont work! Like I copy the command/command parts from this thread, then paste it into a command block, push a button on it, but when I try to take the book commands (the hover and click stuff) and put them together, they work, except for when I try to put in multiple clickable/hoverable strings and put them together in a book that it dosen't work properly!
My Result: Cautious
-=
Watch me solve a tough math problem!
1 + 1 = 45!
Ta da!
I'M A MATH GENIUS!
I think what Skylinerw was trying to say is to copy/paste the command you have here on this thread so we can help troubleshoot your issue
Hey SkyLiner thanks again! I have used this tutorial extensively and just wanted to drop by and say thanks for helping me to master JSON formatting! I've used what I learned here to make a robust, modular NPC Dialogue system that works with as complex inter-connections and options as you like, such as branched, looping, and spider-webbed type conversations. Looks and feels quite intuitive. Really appreciate this post!
Download and play my new Survival Map!
Space Expedition to EPIC 204: Go on a Space-Age Adventure to visit and explore EPIC 204, a wacky world of dense asteroids and full of alien life! Experience Custom Seasons, Weather, Over 50 new creatures, Beautiful Biomes, Alien Ruins, Dungeons, and new space age tech crafting recipes!
Not with one command. You'd have to use some way to label entities uniquely (such as a score), and then have individual /tellraw commands run based on scores.
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 am very appreciative of this extremely thorough explanation of JSON formatting.
I've been experimenting with the creation of written books via command, and I have a few questions.
One: I know that the \n formatting code creates a new line on the same page, which causes any lines that would be past the fourteenth line one on page to be invisible. Is there any formatting code to create a new page, or is there some other strategy for it?
Two: I still have some worlds that need to be kept in 1.7.10 because of other mods I like to have installed. Is it possible to create a book in 1.8 and bring it back to 1.7.10 via save file? Or better yet, is there a different command format I can use within 1.7.10 to create the same book?
Thanks! That did help.
thanks dude this helped a lot
“You can call me what you like, but I will be taking your cake." -L
You can use /tellraw as the command to run with the clickEvent. Keep in mind that players will have a 100-character threshold with /tellraw, so you can't get very far with it. Players would also have to be OP'd to run the clickEvent:
You also wouldn't be able to detect when the player clicks on it. You may be better off using /trigger as the clickEvent command instead, solving the character-limit, OP requirement, and detection problems.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/
It's funny when you make text that looks like somebody is talking:
<God Chicken> Hello, I am the God Chicken.
I pulled a prank on my brother with this trick.
Add me on steam!
Random junk is random:
A few of my suggestions and a personal favorite suggestions. More neat-o suggestions in my bio.
You may want to look at my tutorial on map localization if you still want to know more.
Putting the CENDENT back in transcendent!