[Solved] HELP! I need anyone who has command block knowledge!
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!
Thanks!
Thanks! I'll try them all!
WoM Coins: 3343
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"}}]