RustyPeanuts98

Untitled

Oct 10th, 2014
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.11 KB | None | 0 0
  1. # - Experienced Crafter - #
  2. # - Scenario by JakeKub - #
  3. # - Skript by RastaNinja_/RustyPeanuts98 - #
  4.  
  5. Options:
  6. P: &8&l[&cE-Crafter&8&l]
  7. CC: &f
  8. HC: &9
  9. PC: &7
  10. CTE: cancel the event
  11.  
  12. Variables:
  13. {ECrafter} = false
  14.  
  15. command /ecrafter <text>:
  16. usage: /ecrafter <on:off>
  17. permission: skript.op
  18. trigger:
  19. if arg-1 is "on" or "enable" or "true":
  20. set {ECrafter} to true
  21. broadcast "{@P} {@CC}%command sender% enabled {@HC}Experienced crafter{@PC}!"
  22. else if arg-1 is "off" or "disable" or "false":
  23. set {ECrafter} to false
  24. message "{@P} {@CC}%command sender% disabled {@HC}Experienced crafter{@PC}!"
  25.  
  26. on craft of iron sword:
  27. If player's level is greater than or equal to 1:
  28. if {ECrafter} is true:
  29. reduce the player's level by 1
  30. message "{@P} {@CC}One level was taken from you for crafting an {@HC}Iron sword{@PC}!"
  31. else:
  32. if {ECrafter} is true:
  33. {@CTE}
  34. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  35.  
  36. on craft of iron chestplate:
  37. If player's level is greater than or equal to 2:
  38. if {ECrafter} is true:
  39. reduce the player's level by 2
  40. message "{@P} {@CC}Two levels were taken from you for crafting a {@HC}Iron chestplate{@PC}!"
  41. else:
  42. if {ECrafter} is true:
  43. {@CTE}
  44. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  45.  
  46. on craft of iron leggings:
  47. If player's level is greater than or equal to 2:
  48. if {ECrafter} is true:
  49. reduce the player's level by 2
  50. message "{@P} {@CC}Two level were taken from you for crafting a pair of {@HC}Iron leggings{@PC}!"
  51. else:
  52. if {ECrafter} is true:
  53. {@CTE}
  54. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  55.  
  56. on craft of iron boots:
  57. If player's level is greater than or equal to 2:
  58. if {ECrafter} is true:
  59. reduce the player's level by 2
  60. message "{@P} {@CC}Two levels were taken from you for crafting a pair of {@HC}Iron boots{@PC}!"
  61. else:
  62. if {ECrafter} is true:
  63. {@CTE}
  64. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  65.  
  66. on craft of iron helmet:
  67. If player's level is greater than or equal to 2:
  68. if {ECrafter} is true:
  69. reduce the player's level by 2
  70. message "{@P} {@CC}Two levels were taken from you for crafting a {@HC}Iron helmet{@PC}!"
  71. else:
  72. if {ECrafter} is true:
  73. {@CTE}
  74. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  75.  
  76. on craft of diamond pickaxe:
  77. If player's level is greater than or equal to 1:
  78. if {ECrafter} is true:
  79. reduce the player's level by 1
  80. message "{@P} {@CC}One level was taken from you for crafting a {@HC}diamond pickaxe{@PC}!"
  81. else:
  82. if {ECrafter} is true:
  83. {@CTE}
  84. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  85.  
  86. on craft of golden apple:
  87. If player's level is greater than or equal to 1:
  88. if {ECrafter} is true:
  89. reduce the player's level by 1
  90. message "{@P} {@CC}One level was taken from you for crafting a {@HC}golden apple{@PC}!"
  91. else:
  92. if {ECrafter} is true:
  93. {@CTE}
  94. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  95.  
  96. on craft of bow:
  97. If player's level is greater than or equal to 1:
  98. if {ECrafter} is true:
  99. reduce the player's level by 1
  100. message "{@P} {@CC}One level was taken from you for crafting a {@HC}bow{@PC}!"
  101. else:
  102. if {ECrafter} is true:
  103. {@CTE}
  104. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  105.  
  106. on craft of anvil:
  107. If player's level is greater than or equal to 3:
  108. if {ECrafter} is true:
  109. reduce the player's level by 3
  110. message "{@P} {@CC}Three levels were taken from you for crafting an {@HC}anvil{@PC}!"
  111. else:
  112. if {ECrafter} is true:
  113. {@CTE}
  114. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  115.  
  116. on craft of diamond chestplate:
  117. If player's level is greater than or equal to 5:
  118. if {ECrafter} is true:
  119. reduce the player's level by 5
  120. message "{@P} {@CC}Five levels were taken from you for crafting a {@HC}diamond chestplate{@PC}!"
  121. else:
  122. if {ECrafter} is true:
  123. {@CTE}
  124. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  125.  
  126. on craft of diamond leggings:
  127. If player's level is greater than or equal to 5:
  128. if {ECrafter} is true:
  129. reduce the player's level by 5
  130. message "{@P} {@CC}Five level were taken from you for crafting a pair of {@HC}diamond leggings{@PC}!"
  131. else:
  132. if {ECrafter} is true:
  133. {@CTE}
  134. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  135.  
  136. on craft of diamond boots:
  137. If player's level is greater than or equal to 5:
  138. if {ECrafter} is true:
  139. reduce the player's level by 5
  140. message "{@P} {@CC}Five levels were taken from you for crafting a pair of {@HC}diamond boots{@PC}!"
  141. else:
  142. if {ECrafter} is true:
  143. {@CTE}
  144. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  145.  
  146. on craft of diamond helmet:
  147. If player's level is greater than or equal to 5:
  148. if {ECrafter} is true:
  149. reduce the player's level by 5
  150. message "{@P} {@CC}Five levels were taken from you for crafting a {@HC}diamond helmet{@PC}!"
  151. else:
  152. if {ECrafter} is true:
  153. {@CTE}
  154. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  155.  
  156. on craft of enchantment table:
  157. If player's level is greater than or equal to 6:
  158. if {ECrafter} is true:
  159. reduce the player's level by 6
  160. message "{@P} {@CC}Six levels were taken from you for crafting a {@HC}enchantment table{@PC}!"
  161. else:
  162. if {ECrafter} is true:
  163. {@CTE}
  164. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
  165.  
  166. on craft of brewing stand:
  167. If player's level is greater than or equal to 10:
  168. if {ECrafter} is true:
  169. reduce the player's level by 10
  170. message "{@P} {@CC}Ten levels were taken from you for crafting a {@HC}brewing stand{@PC}!"
  171. else:
  172. if {ECrafter} is true:
  173. {@CTE}
  174. message "{@P} {@CC}You do not have a sufficient amount of levels to craft this{@PC}!"
Advertisement
Add Comment
Please, Sign In to add comment