Advertisement
Guest User

/tellraw Various Text Options

a guest
Sep 12th, 2013
2,387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Text format:
  2.  
  3. /tellraw @a {
  4. text:'Test',
  5. color:dark_purple,
  6. bold:true,
  7. underlined:false,
  8. italic:true,
  9. strikethrough:true,
  10. obfuscated:false,
  11.  
  12. extra:[
  13. {
  14. text:'Test2',
  15. color:aqua,
  16. strikethrough:false
  17. }
  18. ]
  19. }
  20.  
  21. Text Hover:
  22.  
  23. /tellraw @a {
  24. text:'HOVER',
  25.  
  26. hoverEvent:{
  27. action:show_text,
  28. value:'Test'
  29. }
  30. }
  31.  
  32. Text Click:
  33.  
  34. /tellraw @a {
  35. text:'CLICK',
  36.  
  37. clickEvent:{
  38. action:run_command,
  39. value:'/say Test'
  40. }
  41. }
  42.  
  43. Full example:
  44.  
  45. /tellraw @a {
  46. text:'Please ',
  47. extra:[
  48. {
  49. text:'CLICK ME',
  50. bold:true,
  51.  
  52. clickEvent:{
  53. action:run_command,
  54. value:'/give @p 331'
  55. }
  56. },
  57. {
  58. text:' if you want redstone.'
  59. }
  60. ]
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement