76
Note: You must be in Snapshot 14w25b or Version 1.8 to do This!
This is a system that allows you to place signs with colored texts and/or commands which the player activates when he/she clicks on the sign.
How this works:
- In the newest snapshot (14w25b), minecraft allows you to add json formatting to signs and books.
- What this means is that you can add colors and commands to signs
- using the setblock command, I placed a sign with colors and commands
Commands used for this:
/setblock ~ ~3 ~ minecraft:wall_sign 2 replace {Text1:"{text:\"This is Line 1\"}",Text2:"{text:\"This is Line 2\",color:dark_red}",Text3:"{text:\"This is Line 3\",color:dark_blue,clickEvent:{action:run_command,value:\"/say This command is activated as the player\"}}"}
Split up so you understand it better!
/setblock ~ ~3 ~ minecraft:wall_sign 2 replace
{
Text1:"{text:\"This is Line 1\"}",
Text2:"{text:\"This is Line 2\",color:dark_red}",
Text3:"{text:\"This is Line 3\",color:dark_blue,clickEvent:{action:run_command,value:\"/say This command is activated as the player\"}}"
}
Check these out too! (and pls sub!)
My Planet MC
My Youtube
This is a system that allows you to place signs with colored texts and/or commands which the player activates when he/she clicks on the sign.
How this works:
- In the newest snapshot (14w25b), minecraft allows you to add json formatting to signs and books.
- What this means is that you can add colors and commands to signs
- using the setblock command, I placed a sign with colors and commands
Commands used for this:
/setblock ~ ~3 ~ minecraft:wall_sign 2 replace {Text1:"{text:\"This is Line 1\"}",Text2:"{text:\"This is Line 2\",color:dark_red}",Text3:"{text:\"This is Line 3\",color:dark_blue,clickEvent:{action:run_command,value:\"/say This command is activated as the player\"}}"}
Split up so you understand it better!
/setblock ~ ~3 ~ minecraft:wall_sign 2 replace
{
Text1:"{text:\"This is Line 1\"}",
Text2:"{text:\"This is Line 2\",color:dark_red}",
Text3:"{text:\"This is Line 3\",color:dark_blue,clickEvent:{action:run_command,value:\"/say This command is activated as the player\"}}"
}
Check these out too! (and pls sub!)
My Planet MC
My Youtube
Progress | 100% complete |
Tags |
tools/tracking
2956247
2
clickable-and-colored-signs-in-vanilla-mc-2956247
Create an account or sign in to comment.
ex.
/give @p sign 1 0 {
BlockEntityTag: {
Text3: "{\"text\":\"test sign\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/give @p minecraft:iron_ingot 10\"}}",
Text4: "{\"text\":\"test sign\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/give @p minecraft:gold_ingot 10\"}}",
Text4: "{\"text\":\"test sign\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/give @p minecraft:coal 10\"}}"
},
display: {
Name: "Custom Sign"
}
}
rsdg.tk and then go to generators to find a command sign generator!
Great job!
Also, bukkit makes a lot of commands different and it probably wont work in bukkit once 1.8 for it is out