Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.99 KB | None | 0 0
  1. variables:
  2. {efekty.cp.%player%} = false
  3. {efekty.zs.%player%} = false
  4. {efekty.oz.%player%} = false
  5. {efekty.fs.%player%} = false
  6. {efekty.nn.%player%} = false
  7. {efekty.bs.%player%} = false
  8. {efekty.cd.%player%} = false
  9.  
  10.  
  11. command /efekty:
  12. permission: efekty.szuli
  13. trigger:
  14. open chest with 3 rows named "&c&lEFEKTY" to player
  15. wait 1 ticks
  16. format slot 0 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  17. format slot 1 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  18. format slot 2 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  19. format slot 3 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  20. format slot 4 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  21. format slot 5 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  22. format slot 6 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  23. format slot 7 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  24. format slot 8 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  25. format slot 9 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  26. format slot 17 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  27. format slot 18 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  28. format slot 19 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  29. format slot 20 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  30. format slot 21 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  31. format slot 22 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  32. format slot 23 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  33. format slot 24 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  34. format slot 25 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  35. format slot 26 of player with 1 of black stained glass pane named "&f☻" to be unstealable
  36.  
  37. if {efekty.cp.%player%} is false:
  38. format slot 10 of player with 1 of rose red named "&4&lCZERWONE PIERSCIENIE" with lore "&7Status: &c&lOFF" to run [make player execute "incepcja czerwonepierscienie cpwlacz"]
  39. if {efekty.cp.%player%} is true:
  40. format slot 10 of player with 1 of rose red named "&4&lCZERWONE PIERSCIENIE" with lore "&7Status: &a&lON" to run [make player execute "incepcja czerwonepierscienie cpwylacz"]
  41.  
  42. if {efekty.zs.%player%} is false:
  43. format slot 11 of player with 1 of cactus green named "&2&lZIELONA SPIRALA" with lore "&7Status: &c&lOFF" to run [make player execute "incepcja zielonaspirala zswlacz"]
  44. if {efekty.zs.%player%} is true:
  45. format slot 11 of player with 1 of cactus green named "&2&lZIELONA SPIRALA" with lore "&7Status: &a&lON" to run [make player execute "incepcja zielonaspirala zswylacz"]
  46.  
  47. if {efekty.oz.%player%} is false:
  48. format slot 12 of player with 1 of orange dye named "&6&lOGNISTE ZAKOLA" with lore "&7Status: &c&lOFF" to run [make player execute "incepcja ognistezakola ozwlacz"]
  49. if {efekty.oz.%player%} is true:
  50. format slot 12 of player with 1 of orange dye named "&6&lOGNISTE ZAKOLA" with lore "&7Status: &a&lON" to run [make player execute "incepcja ognistezakola ozwylacz"]
  51.  
  52. if {efekty.fs.%player%} is false:
  53. format slot 13 of player with 1 of magenta dye named "&5&lFIOLETOWE SMUGI" with lore "&7Status: &c&lOFF" to run [make player execute "incepcja fioletowesmugi fswlacz"]
  54. if {efekty.fs.%player%} is true:
  55. format slot 13 of player with 1 of magenta dye named "&5&lFIOLETOWE SMUGI" with lore "&7Status: &a&lON" to run [make player execute "incepcja fioletowesmugi fswylacz"]
  56.  
  57. if {efekty.nn.%player%} is false:
  58. format slot 14 of player with 1 of lapis lazuli named "&9&lNIEBIESKIE NUTY" with lore "&7Status: &c&lOFF" to run [make player execute "incepcja niebieskienuty nnwlacz"]
  59. if {efekty.nn.%player%} is true:
  60. format slot 14 of player with 1 of lapis lazuli named "&9&lNIEBIESKIE NUTY" with lore "&7Status: &a&lON" to run [make player execute "incepcja niebieskienuty nnwylacz"]
  61.  
  62. if {efekty.bs.%player%} is false:
  63. format slot 15 of player with 1 of sugar named "&f&lBIALA SZATA" with lore "&7Status: &c&lOFF" to run [make player execute "incepcja bialaszata bswlacz"]
  64. if {efekty.bs.%player%} is true:
  65. format slot 15 of player with 1 of sugar named "&f&lBIALA SZATA" with lore "&7Status: &a&lON" to run [make player execute "incepcja bialaszata bswylacz"]
  66.  
  67. if {efekty.cd.%player%} is false:
  68. format slot 16 of player with 1 of coal named "&8&lCZARNY DYM" with lore "&7Status: &c&lOFF" to run [make player execute "incepcja czarnydym cdwlacz"]
  69. if {efekty.cd.%player%} is true:
  70. format slot 16 of player with 1 of coal named "&8&lCZARNY DYM" with lore "&7Status: &a&lON" to run [make player execute "incepcja czarnydym cdwylacz"]
  71.  
  72. command /incepcja [<text>] [<text>]:
  73. permission: efekty.szuli
  74. trigger:
  75.  
  76. if arg-1 is "czerwonepierscienie":
  77. if arg-2 is "cpwlacz":
  78. drawComplexCircle particle "redstone", RGB 195, 0, 0, center player, id "%player%-czerwonepierscienie1", randomRotation true, radius .8, density 20, start 0, visibleRange 100, xRotation 23, yRotation 120, zRotation 0
  79. drawComplexCircle particle "redstone", RGB 207, 63, 0, center player, id "%player%-czerwonepierscienie2", randomRotation false, radius .8, density 20, start 0, visibleRange 100, xRotation 70, yRotation 10, zRotation 0
  80. drawComplexCircle particle "redstone", RGB 255, 0, 0, center player, id "%player%-czerwonepierscienie3", randomRotation false, radius .8, density 20, start 0, visibleRange 100, xRotation 0, yRotation 60, zRotation 0
  81. drawComplexCircle particle "redstone", RGB 207, 7, 0, center player, id "%player%-czerwonepierscienie4", randomRotation true, radius .8, density 20, start 0, visibleRange 100, xRotation 25, yRotation 54, zRotation 0
  82. set {efekty.cp.%player%} to true
  83. execute player command "efekty"
  84. set {efekty.zs.%player%} to false
  85. set {efekty.oz.%player%} to false
  86. set {efekty.fs.%player%} to false
  87. set {efekty.nn.%player%} to false
  88. set {efekty.bs.%player%} to false
  89. set {efekty.cd.%player%} to false
  90. stopEffect id "%player%-zielonaspirala"
  91. stopEffect id "%player%-ognistezakola"
  92. stopEffect id "%player%-fioletowesmugi"
  93. stopEffect id "%player%-niebieskienuty1"
  94. stopEffect id "%player%-niebieskienuty2"
  95. stopEffect id "%player%-bialaszata"
  96. stopEffect id "%player%-czarnydym1"
  97. stopEffect id "%player%-czarnydym2"
  98. if arg-2 is "cpwylacz":
  99. stopEffect id "%player%-czerwonepierscienie1"
  100. stopEffect id "%player%-czerwonepierscienie2"
  101. stopEffect id "%player%-czerwonepierscienie3"
  102. stopEffect id "%player%-czerwonepierscienie4"
  103. set {efekty.cp.%player%} to false
  104. execute player command "efekty"
  105.  
  106.  
  107. if arg-1 is "zielonaspirala":
  108. if arg-2 is "zswlacz":
  109. drawComplexSpiral particle "happyvillager", center player, id "%player%-zielonaspirala", rainbowMode false, clockwise true, scan true, radius 1, density 50, height 6, effectMod .05, start 0, visibleRange 30
  110. set {efekty.zs.%player%} to true
  111. execute player command "efekty"
  112. set {efekty.cp.%player%} to false
  113. set {efekty.oz.%player%} to false
  114. set {efekty.fs.%player%} to false
  115. set {efekty.nn.%player%} to false
  116. set {efekty.bs.%player%} to false
  117. set {efekty.cd.%player%} to false
  118. stopEffect id "%player%-czerwonepierscienie1"
  119. stopEffect id "%player%-czerwonepierscienie2"
  120. stopEffect id "%player%-czerwonepierscienie3"
  121. stopEffect id "%player%-czerwonepierscienie4"
  122. stopEffect id "%player%-ognistezakola"
  123. stopEffect id "%player%-fioletowesmugi"
  124. stopEffect id "%player%-niebieskienuty1"
  125. stopEffect id "%player%-niebieskienuty2"
  126. stopEffect id "%player%-bialaszata"
  127. stopEffect id "%player%-czarnydym1"
  128. stopEffect id "%player%-czarnydym2"
  129. if arg-2 is "zswylacz":
  130. stopEffect id "%player%-zielonaspirala"
  131. set {efekty.zs.%player%} to false
  132. execute player command "efekty"
  133.  
  134.  
  135. if arg-1 is "ognistezakola":
  136. if arg-2 is "ozwlacz":
  137. drawRings particle "flame", center player, id "%player%-ognistezakola", rainbowMode false, randomRotation true, animated false, radius 1, ringCount 1, ringDensity 5, visibleRange 32, pulseDelay 2
  138. set {efekty.oz.%player%} to true
  139. execute player command "efekty"
  140. set {efekty.zs.%player%} to false
  141. set {efekty.cp.%player%} to false
  142. set {efekty.fs.%player%} to false
  143. set {efekty.nn.%player%} to false
  144. set {efekty.bs.%player%} to false
  145. set {efekty.cd.%player%} to false
  146. stopEffect id "%player%-czerwonepierscienie1"
  147. stopEffect id "%player%-czerwonepierscienie2"
  148. stopEffect id "%player%-czerwonepierscienie3"
  149. stopEffect id "%player%-czerwonepierscienie4"
  150. stopEffect id "%player%-zielonaspirala"
  151. stopEffect id "%player%-fioletowesmugi"
  152. stopEffect id "%player%-niebieskienuty1"
  153. stopEffect id "%player%-niebieskienuty2"
  154. stopEffect id "%player%-bialaszata"
  155. stopEffect id "%player%-czarnydym1"
  156. stopEffect id "%player%-czarnydym2"
  157. if arg-2 is "ozwylacz":
  158. stopEffect id "%player%-ognistezakola"
  159. set {efekty.oz.%player%} to false
  160. execute player command "efekty"
  161.  
  162.  
  163. if arg-1 is "fioletowesmugi":
  164. if arg-2 is "fswlacz":
  165. drawWarpRings style 1, particle "dragonbreath", center player, id "%player%-fioletowesmugi", rainbowMode false, scan true, height 1, radius 1, ringCount 40, ringDensity 5, visibleRange 3, pulseDelay 2
  166. set {efekty.fs.%player%} to true
  167. execute player command "efekty"
  168. set {efekty.cp.%player%} to false
  169. set {efekty.zs.%player%} to false
  170. set {efekty.oz.%player%} to false
  171. set {efekty.nn.%player%} to false
  172. set {efekty.bs.%player%} to false
  173. set {efekty.cd.%player%} to false
  174. stopEffect id "%player%-czerwonepierscienie1"
  175. stopEffect id "%player%-czerwonepierscienie2"
  176. stopEffect id "%player%-czerwonepierscienie3"
  177. stopEffect id "%player%-czerwonepierscienie4"
  178. stopEffect id "%player%-zielonaspirala"
  179. stopEffect id "%player%-ognistezakola"
  180. stopEffect id "%player%-niebieskienuty1"
  181. stopEffect id "%player%-niebieskienuty2"
  182. stopEffect id "%player%-bialaszata"
  183. stopEffect id "%player%-czarnydym1"
  184. stopEffect id "%player%-czarnydym2"
  185. if arg-2 is "fswylacz":
  186. stopEffect id "%player%-fioletowesmugi"
  187. set {efekty.fs.%player%} to false
  188. execute player command "efekty"
  189.  
  190.  
  191. if arg-1 is "niebieskienuty":
  192. if arg-2 is "nnwlacz":
  193. drawComplexCircle particle "note", RGB 0, 0, 0, center player, id "%player%-niebieskienuty1", randomRotation false, radius .8, density 20, start 0, visibleRange 100, xRotation 70, yRotation 10, zRotation 0
  194. drawSphere style 1, particle "watersplash", center player, id "%player%-niebieskienuty2", rainbowMode false, radius 1, density 20, visibleRange 32, pulseDelay 1
  195. set {efekty.nn.%player%} to true
  196. execute player command "efekty"
  197. set {efekty.cp.%player%} to false
  198. set {efekty.zs.%player%} to false
  199. set {efekty.oz.%player%} to false
  200. set {efekty.fs.%player%} to false
  201. set {efekty.bs.%player%} to false
  202. set {efekty.cd.%player%} to false
  203. stopEffect id "%player%-czerwonepierscienie1"
  204. stopEffect id "%player%-czerwonepierscienie2"
  205. stopEffect id "%player%-czerwonepierscienie3"
  206. stopEffect id "%player%-czerwonepierscienie4"
  207. stopEffect id "%player%-zielonaspirala"
  208. stopEffect id "%player%-ognistezakola"
  209. stopEffect id "%player%-fioletowesmugi"
  210. stopEffect id "%player%-bialaszata"
  211. stopEffect id "%player%-czarnydym1"
  212. stopEffect id "%player%-czarnydym2"
  213. if arg-2 is "nnwylacz":
  214. stopEffect id "%player%-niebieskienuty1"
  215. stopEffect id "%player%-niebieskienuty2"
  216. set {efekty.nn.%player%} to false
  217. execute player command "efekty"
  218.  
  219.  
  220. if arg-1 is "bialaszata":
  221. if arg-2 is "bswlacz":
  222. drawComplexCircle particle "fireworkspark", center player, id "%player%-bialaszata", randomRotation false, radius .8, density 20, start 0, visibleRange 100, xRotation 70, yRotation 10, zRotation 0
  223. set {efekty.bs.%player%} to true
  224. execute player command "efekty"
  225. set {efekty.cp.%player%} to false
  226. set {efekty.zs.%player%} to false
  227. set {efekty.oz.%player%} to false
  228. set {efekty.fs.%player%} to false
  229. set {efekty.nn.%player%} to false
  230. set {efekty.cd.%player%} to false
  231. stopEffect id "%player%-czerwonepierscienie1"
  232. stopEffect id "%player%-czerwonepierscienie2"
  233. stopEffect id "%player%-czerwonepierscienie3"
  234. stopEffect id "%player%-czerwonepierscienie4"
  235. stopEffect id "%player%-zielonaspirala"
  236. stopEffect id "%player%-ognistezakola"
  237. stopEffect id "%player%-fioletowesmugi"
  238. stopEffect id "%player%-niebieskienuty1"
  239. stopEffect id "%player%-niebieskienuty2"
  240. stopEffect id "%player%-czarnydym1"
  241. stopEffect id "%player%-czarnydym2"
  242. if arg-2 is "bswylacz":
  243. stopEffect id "%player%-bialaszata"
  244. set {efekty.bs.%player%} to false
  245. execute player command "efekty"
  246.  
  247.  
  248. if arg-1 is "czarnydym":
  249. if arg-2 is "cdwlacz":
  250. drawSphere style 1, particle "smoke", center player, id "%player%-czarnydym1", rainbowMode false, radius 1, density 10, visibleRange 32, pulseDelay 1
  251. drawSphere style 1, particle "lava", center player, id "%player%-czarnydym2", rainbowMode false, radius 1, density 1, visibleRange 1, pulseDelay 1
  252. set {efekty.cd.%player%} to true
  253. execute player command "efekty"
  254. set {efekty.cp.%player%} to false
  255. set {efekty.zs.%player%} to false
  256. set {efekty.oz.%player%} to false
  257. set {efekty.fs.%player%} to false
  258. set {efekty.nn.%player%} to false
  259. set {efekty.bs.%player%} to false
  260. stopEffect id "%player%-czerwonepierscienie1"
  261. stopEffect id "%player%-czerwonepierscienie2"
  262. stopEffect id "%player%-czerwonepierscienie3"
  263. stopEffect id "%player%-czerwonepierscienie4"
  264. stopEffect id "%player%-zielonaspirala"
  265. stopEffect id "%player%-ognistezakola"
  266. stopEffect id "%player%-fioletowesmugi"
  267. stopEffect id "%player%-niebieskienuty1"
  268. stopEffect id "%player%-niebieskienuty2"
  269. stopEffect id "%player%-bialaszata"
  270. if arg-2 is "cdwylacz":
  271. stopEffect id "%player%-czarnydym1"
  272. stopEffect id "%player%-czarnydym2"
  273. set {efekty.cd.%player%} to false
  274. execute player command "efekty"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement