moeycvbn12

Untitled

Dec 19th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.64 KB | None | 0 0
  1. #--------------------------------------------
  2. # SkParticles by WizzedPlayz
  3. #--------------------------------------------
  4.  
  5. #-----------
  6. # Options
  7. #-----------
  8. options:
  9. prefix: &7[&cParticle&7]
  10. guiName: &3&lParticles
  11. guiJoinName: &2&lJoin Particles
  12. permMsg: &4Sorry you do not have permission for this command.
  13. messageColor: &c
  14. command /particle:
  15. trigger:
  16. if player has permission "particle.use":
  17. open chest with 4 row named "{@guiName}" to player
  18. wait 1 tick
  19. format slot 4 of player with 332 named "&fSnow" with lore "&7This will apply a snow effect to you." to close then run [make player execute command "/psnow"]
  20. format slot 15 of player with 339 named "&dSpell" with lore "&7This will apply a spell effect to you." to close then run [make player execute command "/pspell"]
  21. format slot 13 of player with 341 named "&aSlime" with lore "&7This will apply a slime effect to you." to close then run [make player execute command "/pslime"]
  22. format slot 11 of player with book named "&dMagic" with lore "&7This will apply a magic effect to you." to close then run [make player execute command "/pmagic"]
  23. format slot 22 of player with 377 named "&cFlame" with lore "&7This will apply a flame effect to you." to close then run [make player execute command "/pflame"]
  24. format slot 31 of player with 152 named "&4Clear Particles" with lore "&4Clears all particle effects." to close then run [make player execute command "/pclear"]
  25. command /pinfo:
  26. trigger:
  27.  
  28. send "&c---------------------------------------------------------------------------------------------------------------"
  29. send "&cThis plugin is new and i will be updating it a lot adding more things to it to make it better"
  30. send "&cMade by WizzedPlayz"
  31. send "&cNeed any help contact me on spigot"
  32. send "&c---------------------------------------------------------------------------------------------------------------"
  33. # par join
  34. command /pjoin:
  35. trigger:
  36. if player has permission "particle.join.use":
  37. open chest with 1 row named "{@guiJoinName}" to player
  38. wait 1 tick
  39. format slot 0 of player with 377 named "&cFlame" with lore "&7When you join you will get a flame affect." to close then run [make player execute command "/pjoinf"]
  40. format slot 2 of player with 332 named "&fSnow" with lore "&7When you join you will get a snow affect." to close then run [make player execute command "/pjoinsn"]
  41. format slot 4 of player with 341 named "&aSlime" with lore "&7When you join you will get a slime affect." to close then run [make player execute command "/pjoinsl"]
  42. format slot 6 of player with 401 named "&dFirework" with lore "&7When you join you will get a firework affect." to close then run [make player execute command "/pjoinfirework"]
  43. else:
  44. send "{@permMsg}"
  45. command /pjoinf:
  46. trigger:
  47. if player has permission "particle.join.flame.use":
  48. if {flamejoinpar.%player%} is true:
  49. set {flamejoinpar.%player%} to false
  50. send "{@prefix} {@messageColor}fire join effect has been disabled."
  51. else:
  52. set {flamejoinpar.%player%} to true
  53. send "{@prefix} {@messageColor}fire join effect has been enabled."
  54. else:
  55. send "{@permMsg}"
  56. command /pjoinsn:
  57. trigger:
  58. if player has permission "particle.join.snow.use":
  59. if {snowjoinpar.%player%} is true:
  60. set {snowjoinpar.%player%} to false
  61. send "{@prefix} {@messageColor}snow join effect has been disabled."
  62. else:
  63. set {snowjoinpar.%player%} to true
  64. send "{@prefix} {@messageColor}snow join effect has been enabled."
  65. else:
  66. send "{@permMsg}"
  67. command /pjoinfirework:
  68. trigger:
  69. if player has permission "particle.join.firework.use":
  70. if {fireworkjoinpar.%player%} is true:
  71. set {fireworkjoinpar.%player%} to false
  72. send "{@prefix} {@messageColor}firework join effect has been disabled."
  73. else:
  74. set {fireworkjoinpar.%player%} to true
  75. send "{@prefix} {@messageColor}firework join effect has been enabled."
  76. else:
  77. send "{@permMsg}"
  78. command /pjoinsl:
  79. trigger:
  80. if player has permission "particle.join.slime.use":
  81. if {slimejoinpar.%player%} is true:
  82. set {slimejoinpar.%player%} to false
  83. send "{@prefix} {@messageColor}slime join effect has been disabled."
  84. else:
  85. set {slimejoinpar.%player%} to true
  86. send "{@prefix} {@messageColor}slime join effect has been enabled."
  87. else:
  88. send "{@permMsg}"
  89.  
  90.  
  91. on join:
  92. if {flamejoinpar.%player%} is true:
  93. wait 2 ticks
  94. show 30 "flame" particles at location of player for player offset by 0.4, 0.7, 0.4
  95. on join:
  96. if {snowjoinpar.%player%} is true:
  97. wait 2 ticks
  98. show 30 "snowball" particles at location of player for player offset by 0.4, 0.7, 0.4
  99. on join:
  100. if {fireworkjoinpar.%player%} is true:
  101. spawn 1 fireworks at location of player
  102. on join:
  103. if {slimejoinpar.%player%} is true:
  104. wait 2 ticks
  105. show 30 "slimeball" particles at location of player for player offset by 0.4, 0.7, 0.4
  106. # end of par join cmds
  107.  
  108.  
  109. command /pflame:
  110. trigger:
  111. if player has permission "particle.fire.use":
  112. if {flame.%player%} is true:
  113. set {flame.%player%} to false
  114. send "{@prefix} {@messageColor}fire effect has been disabled."
  115. else:
  116. set {flame.%player%} to true
  117. send "{@prefix} {@messageColor}fire effect has been enabled."
  118. else:
  119. send "{@permMsg}"
  120. command /psnow:
  121. trigger:
  122. if player has permission "particle.snow.use":
  123. if {snow.%player%} is true:
  124. set {snow.%player%} to false
  125. send "{@prefix} {@messageColor}snow effect has been disabled."
  126. else:
  127. set {snow.%player%} to true
  128. send "{@prefix} {@messageColor}snow effect has been enabled."
  129. else:
  130. send "{@permMsg}"
  131. command /pslime:
  132. trigger:
  133. if player has permission "particle.slime.use":
  134. if {slime.%player%} is true:
  135. set {slime.%player%} to false
  136. send "{@prefix} {@messageColor}slime effect has been disabled."
  137. else:
  138. set {slime.%player%} to true
  139. send "{@prefix} {@messageColor}slime effect has been enabled."
  140. else:
  141. send "{@permMsg}"
  142. command /pspell:
  143. trigger:
  144. if player has permission "particle.spell.use":
  145. if {spell.%player%} is true:
  146. set {spell.%player%} to false
  147. send "{@prefix} {@messageColor}spell effect has been disabled."
  148. else:
  149. set {spell.%player%} to true
  150. send "{@prefix} {@messageColor}spell effect has been enabled."
  151. else:
  152. send "{@permMsg}"
  153. command /pmagic:
  154. trigger:
  155. if player has permission "particle.magic.use":
  156. if {magic.%player%} is true:
  157. set {magic.%player%} to false
  158. send "{@prefix} {@messageColor}magic effect has been disabled."
  159. else:
  160. set {magic.%player%} to true
  161. send "{@prefix} {@messageColor}magic effect has been enabled."
  162. else:
  163. send "{@permMsg}"
  164. command /pclear:
  165. trigger:
  166. if player has permission "particle.clear.use":
  167. set {flame.%player%} to false
  168. set {snow.%player%} to false
  169. set {slime.%player%} to false
  170. set {magic.%player%} to false
  171. set {spell.%player%} to false
  172. set {fireworkjoinpar.%player%} to false
  173. set {snowjoinpar.%player%} to false
  174. set {flamejoinpar.%player%} to false
  175. set {snowjoinpar.%player%} to false
  176. set {slimejoinpar.%player%} to false
  177. send "{@prefix} {@messageColor}you have cleared all your particles."
  178. else:
  179. send "{@permMsg}"
  180.  
  181. on any move:
  182. if {flame.%player%} is true:
  183. set {loc.%player%} to location of player
  184. show 50 "flame" particles at location of player for player offset by 0.4, 0.7, 0.4
  185. on any move:
  186. if {snow.%player%} is true:
  187. set {loc.%player%} to location of player
  188. show 50 "snowball" particles at location of player for player offset by 0.4, 0.7, 0.4
  189. on any move:
  190. if {slime.%player%} is true:
  191. set {loc.%player%} to location of player
  192. show 50 "slime" particles at location of player for player offset by 0.4, 0.7, 0.4
  193. on any move:
  194. if {magic.%player%} is true:
  195. set {loc.%player%} to location of player
  196. show 50 "magicCrit" particles at location of player for player offset by 0.4, 0.7, 0.4
  197. on any move:
  198. if {spell.%player%} is true:
  199. set {loc.%player%} to location of player
  200. show 50 "spell" particles at location of player for player offset by 0.4, 0.7, 0.4
  201. command /addparticle [<text>]:
  202. trigger:
  203. if player has permission "particle.add.use":
  204. if arg 1 is not set:
  205. send "&c----------------"
  206. send "&cFlame"
  207. send "&cSpell"
  208. send "&cSlime"
  209. send "&cSnow"
  210. send "&cRedstone"
  211. send "&c----------------"
  212. else:
  213. if arg 1 is "flame":
  214. add 1 to {flamecount}
  215. create an animated ball effect at location of player with id "%{flamecount}%" with particle flame
  216. send "{@prefix} {@messageColor}flame was created."
  217. else if arg 1 is "spell":
  218. add 1 to {spellcount}
  219. create an animated ball effect at location of player with id "%{spellcount}%" with particle spell
  220. send "{@prefix} {@messageColor}spell was created."
  221. else if arg 1 is "slime":
  222. add 1 to {slimecount}
  223. create an animated ball effect at location of player with id "%{slimecount}%" with particle slime
  224. send "{@prefix} {@messageColor}slime was created."
  225. else if arg 1 is "snow":
  226. add 1 to {snowcount}
  227. create an animated ball effect at location of player with id "%{snowcount}%" with particle snowball
  228. send "{@prefix} {@messageColor}snow was created."
  229. else if arg 1 is "redstone":
  230. add 1 to {redstonecount}
  231. create an animated ball effect at location of player with id "%{redstonecount}%" with particle redstone
  232. send "{@prefix} {@messageColor}redstone was created."
  233. else:
  234. send "{@prefix} &4Something went wrong with your typing."
  235. else:
  236. send "{@permMsg}"
  237.  
  238.  
  239. command /removeparticle <text>:
  240. usage: /removeparticle <text>
  241. trigger:
  242. if player has permission "particle.remove.use":
  243. if arg 1 is "flame":
  244. delete effect "%{flamecount}%"
  245. send "{@prefix} {@messageColor}removed number %{flamecount}% for flame"
  246. wait 1 tick
  247. subtract 1 from {flamecount}
  248. if arg 1 is "spell":
  249. delete effect "%{spellcount}%"
  250. send "{@prefix} {@messageColor}removed number %{spellcount}% for spell"
  251. wait 1 tick
  252. subtract 1 from {spellcount}
  253. if arg 1 is "slime":
  254. delete effect "%{slimecount}%"
  255. send "{@prefix} {@messageColor}removed number %{slimecount}% for slime"
  256. wait 1 tick
  257. subtract 1 from {slimecount}
  258. if arg 1 is "snow":
  259. delete effect "%{snowcount}%"
  260. send "{@prefix} {@messageColor}removed number %{snowcount}% for snow"
  261. wait 1 tick
  262. subtract 1 from {snowcount}
  263. if arg 1 is "redstone":
  264. delete effect "%{redstonecount}%"
  265. send "{@prefix} {@messageColor}removed number %{redstonecount}% for explosion"
  266. wait 1 tick
  267. subtract 1 from {redstonecount}
  268. else:
  269. send "{@permMsg}"
Advertisement
Add Comment
Please, Sign In to add comment