[Solved] HELP! I need anyone who has command block knowledge!
2 replies [Last post]
Mr. Redstone
WoM Member
Members
WoM Member: 678003
WoM Coins: 142

I am trying to make a command block send a player a message with a URL(the link is to DL a custom Texture pack). I got it to send the message, but it doesn't pop up as a URL. This is the command I am using: /tell @p Texture pack available at: https://drive.google.com/file/d/0Bx2W2C3ek8r9WnM4M0pwWHNjVHM/view?usp=sharing

It pops up all correct, and I have spent hours googling it, but I can't find the answer. I will post this on another forum as well.

Thanks!

Jupiter_Ginger
J.U.P.I.T.E.R
Community Managers
WoM Member: 295547
WoM Coins: 3343
Use /tellraw. You can play

Use /tellraw. You can play around with https://www.minecraftjson.com/ to create them easily.

This command would look exactly like what you're typing, and clicking the link works, but the whole thing is one color:

/tellraw @p ["",{"text":"Texture pack available at: "},{"text":"https://drive.google.com/file/d/0Bx2W2C3ek8r9WnM4M0pwWHNjVHM/view?usp=sharing","clickEvent":{"action":"open_url","value":"https://drive.google.com/file/d/0Bx2W2C3ek8r9WnM4M0pwWHNjVHM/view?usp=sharing"}}]

This command looks like what you're typing but the link part is blue:

/tellraw @p ["",{"text":"Texture pack available at: "},{"text":"https://drive.google.com/file/d/0Bx2W2C3ek8r9WnM4M0pwWHNjVHM/view?usp=sharing","color":"blue","clickEvent":{"action":"open_url","value":"https://drive.google.com/file/d/0Bx2W2C3ek8r9WnM4M0pwWHNjVHM/view?usp=sharing"}}]

This command is shorter and looks better in my opinion:

/tellraw @p ["",{"text":"Texture pack available "},{"text":"here.","color":"blue","clickEvent":{"action":"open_url","value":"https://drive.google.com/file/d/0Bx2W2C3ek8r9WnM4M0pwWHNjVHM/view?usp=sharing"}}]

Mr. Redstone
WoM Member
Members
WoM Member: 678003
WoM Coins: 142
Thanks!

Thanks! I'll try them all!