Marcono1234

Custom Commands Format Example

Jun 9th, 2015
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. # Comment must start with '#' at the beginning of the line
  2. {
  3. "mainData":{
  4. "includeBookCommand": 1,
  5. "version": 0,
  6. "title": "\u00a7cCustom Commands",
  7. "author": "\u00a7aMarcono1234",
  8. "generation": 2,
  9. "introduction":[
  10. "{text:\"Introduction\n\",color:green,bold:true,underlined:true},{text:\"Let's say that is an introduction\",bold:false,underlined:false,color:black}",
  11. "{text:\"Do we really need another page for that?\"}",
  12. ],
  13. },
  14. "index":{
  15. "title": "{text:\"An Index\",color:gold,underlined:true}",
  16. "list":{
  17. "type": "numeric",
  18. "pointType": "{text:\".\",color:dark_green}",
  19. "extra":{
  20. "type": "alphabetic",
  21. "pointType": "{text:\".\",color:aqua}",
  22. },
  23. },
  24. },
  25. "commands":[
  26. {
  27. "name": "{text:\"Commands\",color:green}",
  28. "type": "text",
  29. "commands":[
  30. {
  31. "name": "{text:\"First command\",color:blue}",
  32. "nameUsePrefix": 1,
  33. "type": "commands",
  34. "admin": 0,
  35. "commands":[
  36. "/say @a[score_%_max,score_%_min]",
  37. "/tellraw @a[score_%_max,score_%_min] {text:Click,clickEvent:{action:suggest_command,value:\"/give @a hugs 64\"}}",
  38. ],
  39. },
  40. {
  41. "name": "{text:\"Second command\",color:blue,extra:[{text:\"(Hidden)\",color:gray}]}",
  42. "nameUsePrefix": 1,
  43. "type": "commands",
  44. "indexName": "",
  45. "admin": 1,
  46. "commands":[
  47. "/execute @a[score_%_min,score_%_max] ~ ~ ~ /say But of course!",
  48. "/execute @a[score_%_min,score_%_max] ~ ~ ~ /setblock ~ ~ ~ lava",
  49. ],
  50. },
  51. {
  52. "name": "{text:\"Try \",extra:[{text:\"this\",hoverEvent:{action:show_text,value:{text:\"Nothing special\",italic:true}}}]}",
  53. "indexName": "{text:\"Colors?\",color:gold}",
  54. "nameUsePrefix": 1,
  55. "type": "commands",
  56. "commands":[
  57. "/give @a[score_%_min,score_%_max] dirt 1 0 {ench:[],display:{Name:§6Colors!,Lore:[§bIndeed]}}",
  58. ],
  59. },
  60. ],
  61. },
  62. ],
  63. }
Advertisement
Add Comment
Please, Sign In to add comment