Guest User

Untitled

a guest
May 4th, 2015
653
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.36 KB | None | 0 0
  1. options:
  2. p: <gray><bold>[<light green><bold>LithiumUHC<gray><bold>]
  3.  
  4. command /tripleores <text>:
  5. aliases: /to
  6. trigger:
  7. if arg-1 is equal to "on" or "enable":
  8. command sender has permission "tripleores.op":
  9. set {TripleOres.Enabled} to true
  10. broadcast "{@p} <yellow>TripleOres <light blue>enabled by <pink>%sender%!"
  11. command "/playsound note.pling %sender%"
  12. else:
  13. message "{@p} <pink>You do not have the required permission to use this command!"
  14. command "/playsound random.break %sender%"
  15. else if arg-1 is equal to "off" or "disable":
  16. command sender has permission "tripleores.op":
  17. set {TripleOres.Enabled} to false
  18. broadcast "{@p} <yellow>TripleOres <light blue>disabled by <pink>%sender%!"
  19. command "/playsound note.pling %sender%"
  20. else:
  21. message "{@p} <pink>You do not have the required permission to use this command!"
  22. command "/playsound random.break %sender%"
  23. else if arg-1 is equal to "info":
  24. message "<light blue>=========================================================================================="
  25. message " {@p}"
  26. message "<yellow>TripleOres: <pink>All ores drop 3 of their smelted form. All food is dropped cooked."
  27. message "<light blue>=========================================================================================="
  28. else if arg-1 is equal to "help":
  29. command sender has permission "tripleores.op":
  30. message "<light blue>==================================================================================="
  31. message " {@p}"
  32. message "<pink>/tripleores on <yellow>: Turns on TripleOres."
  33. message "<pink>/tripleores off <yellow>: Turns off TripleOres."
  34. message "<pink>/tripleores info <yellow>: Info about TripleOres. <pink>All players can use this command!"
  35. message "<pink>/tripleores toggle <yellow>: Toggles TripleOres."
  36. message "<pink>/tripleores help <yellow>: Brings this up."
  37. message "<light blue>====================================================================================="
  38. else:
  39. message "{@p} <pink>You do not have the required permission to use this command!"
  40. command "/playsound random.break %sender%"
  41. else if arg-1 is equal to "toggle":
  42. command sender has permission "tripleores.op":
  43. if {TripleOres.Enabled} is true:
  44. set {TripleOres.Enabled} to false
  45. broadcast "{@p} <yellow>TripleOres <light blue>disabled by <pink>%sender%!"
  46. command "/playsound note.pling %sender%"
  47. else:
  48. set {TripleOres.Enabled} to true
  49. broadcast "{@p} <yellow>TripleOres <light blue>enabled by <pink>%sender%!"
  50. command "/playsound note.pling %sender%"
  51. else:
  52. message "{@p} <pink>You do not have the required permission to use this command!"
  53. command "/playsound random.break %sender%"
  54.  
  55. on break:
  56. if event-block is iron ore:
  57. if {TripleOres.Enabled} is true:
  58. cancel the event
  59. set block to air
  60. drop 3 iron ingot at the event-block
  61. spawn 3 experience orb at the event-block
  62. if event-block is gold ore:
  63. if {TripleOres.Enabled} is true:
  64. cancel the event
  65. set block to air
  66. drop 3 gold ingot at the event-block
  67. spawn 3 experience orb at the event-block
  68. if event-block is diamond ore:
  69. if {TripleOres.Enabled} is true:
  70. cancel the event
  71. set block to air
  72. drop 3 diamond at the event-block
  73. spawn 3 experience orb at the event-block
  74. if event-block is coal ore:
  75. if {TripleOres.Enabled} is true:
  76. cancel the event
  77. set block to air
  78. drop 3 coal at the event-block
  79. spawn 3 experience orb at the event-block
  80. if event-block is oak leaves:
  81. if {TripleOres.Enabled} is true:
  82. set block to air
  83. chance of 75%:
  84. drop 1 apple
  85. cancel the event
  86. if event-block is gravel:
  87. if {TripleOres.Enabled} is true:
  88. set block to air
  89. chance of 75%:
  90. drop 1 flint
  91. cancel the event
  92.  
  93. on death of a pig:
  94. if {TripleOres.Enabled} is true:
  95. clear drops
  96. drop 3 cooked porkchop at the pig
  97.  
  98. on death of a cow:
  99. if {TripleOres.Enabled} is true:
  100. clear drops
  101. drop 3 steak at the cow
  102.  
  103. on death of a spider:
  104. if {TripleOres.Enabled} is true:
  105. clear drops
  106. drop 2 string at the spider
  107.  
  108. on death of a chicken:
  109. if {TripleOres.Enabled} is true:
  110. clear drops
  111. drop 3 cooked chicken at the chicken
  112. drop 2 feather at the chicken
Advertisement
Add Comment
Please, Sign In to add comment