Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #--------------------------------------------
- # SkParticles by WizzedPlayz
- #--------------------------------------------
- #-----------
- # Options
- #-----------
- options:
- prefix: &7[&cParticle&7]
- guiName: &3&lParticles
- guiJoinName: &2&lJoin Particles
- permMsg: &4Sorry you do not have permission for this command.
- messageColor: &c
- command /particle:
- trigger:
- if player has permission "particle.use":
- open chest with 4 row named "{@guiName}" to player
- wait 1 tick
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- command /pinfo:
- trigger:
- send "&c---------------------------------------------------------------------------------------------------------------"
- send "&cThis plugin is new and i will be updating it a lot adding more things to it to make it better"
- send "&cMade by WizzedPlayz"
- send "&cNeed any help contact me on spigot"
- send "&c---------------------------------------------------------------------------------------------------------------"
- # par join
- command /pjoin:
- trigger:
- if player has permission "particle.join.use":
- open chest with 1 row named "{@guiJoinName}" to player
- wait 1 tick
- 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"]
- 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"]
- 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"]
- 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"]
- else:
- send "{@permMsg}"
- command /pjoinf:
- trigger:
- if player has permission "particle.join.flame.use":
- if {flamejoinpar.%player%} is true:
- set {flamejoinpar.%player%} to false
- send "{@prefix} {@messageColor}fire join effect has been disabled."
- else:
- set {flamejoinpar.%player%} to true
- send "{@prefix} {@messageColor}fire join effect has been enabled."
- else:
- send "{@permMsg}"
- command /pjoinsn:
- trigger:
- if player has permission "particle.join.snow.use":
- if {snowjoinpar.%player%} is true:
- set {snowjoinpar.%player%} to false
- send "{@prefix} {@messageColor}snow join effect has been disabled."
- else:
- set {snowjoinpar.%player%} to true
- send "{@prefix} {@messageColor}snow join effect has been enabled."
- else:
- send "{@permMsg}"
- command /pjoinfirework:
- trigger:
- if player has permission "particle.join.firework.use":
- if {fireworkjoinpar.%player%} is true:
- set {fireworkjoinpar.%player%} to false
- send "{@prefix} {@messageColor}firework join effect has been disabled."
- else:
- set {fireworkjoinpar.%player%} to true
- send "{@prefix} {@messageColor}firework join effect has been enabled."
- else:
- send "{@permMsg}"
- command /pjoinsl:
- trigger:
- if player has permission "particle.join.slime.use":
- if {slimejoinpar.%player%} is true:
- set {slimejoinpar.%player%} to false
- send "{@prefix} {@messageColor}slime join effect has been disabled."
- else:
- set {slimejoinpar.%player%} to true
- send "{@prefix} {@messageColor}slime join effect has been enabled."
- else:
- send "{@permMsg}"
- on join:
- if {flamejoinpar.%player%} is true:
- wait 2 ticks
- show 30 "flame" particles at location of player for player offset by 0.4, 0.7, 0.4
- on join:
- if {snowjoinpar.%player%} is true:
- wait 2 ticks
- show 30 "snowball" particles at location of player for player offset by 0.4, 0.7, 0.4
- on join:
- if {fireworkjoinpar.%player%} is true:
- spawn 1 fireworks at location of player
- on join:
- if {slimejoinpar.%player%} is true:
- wait 2 ticks
- show 30 "slimeball" particles at location of player for player offset by 0.4, 0.7, 0.4
- # end of par join cmds
- command /pflame:
- trigger:
- if player has permission "particle.fire.use":
- if {flame.%player%} is true:
- set {flame.%player%} to false
- send "{@prefix} {@messageColor}fire effect has been disabled."
- else:
- set {flame.%player%} to true
- send "{@prefix} {@messageColor}fire effect has been enabled."
- else:
- send "{@permMsg}"
- command /psnow:
- trigger:
- if player has permission "particle.snow.use":
- if {snow.%player%} is true:
- set {snow.%player%} to false
- send "{@prefix} {@messageColor}snow effect has been disabled."
- else:
- set {snow.%player%} to true
- send "{@prefix} {@messageColor}snow effect has been enabled."
- else:
- send "{@permMsg}"
- command /pslime:
- trigger:
- if player has permission "particle.slime.use":
- if {slime.%player%} is true:
- set {slime.%player%} to false
- send "{@prefix} {@messageColor}slime effect has been disabled."
- else:
- set {slime.%player%} to true
- send "{@prefix} {@messageColor}slime effect has been enabled."
- else:
- send "{@permMsg}"
- command /pspell:
- trigger:
- if player has permission "particle.spell.use":
- if {spell.%player%} is true:
- set {spell.%player%} to false
- send "{@prefix} {@messageColor}spell effect has been disabled."
- else:
- set {spell.%player%} to true
- send "{@prefix} {@messageColor}spell effect has been enabled."
- else:
- send "{@permMsg}"
- command /pmagic:
- trigger:
- if player has permission "particle.magic.use":
- if {magic.%player%} is true:
- set {magic.%player%} to false
- send "{@prefix} {@messageColor}magic effect has been disabled."
- else:
- set {magic.%player%} to true
- send "{@prefix} {@messageColor}magic effect has been enabled."
- else:
- send "{@permMsg}"
- command /pclear:
- trigger:
- if player has permission "particle.clear.use":
- set {flame.%player%} to false
- set {snow.%player%} to false
- set {slime.%player%} to false
- set {magic.%player%} to false
- set {spell.%player%} to false
- set {fireworkjoinpar.%player%} to false
- set {snowjoinpar.%player%} to false
- set {flamejoinpar.%player%} to false
- set {snowjoinpar.%player%} to false
- set {slimejoinpar.%player%} to false
- send "{@prefix} {@messageColor}you have cleared all your particles."
- else:
- send "{@permMsg}"
- on any move:
- if {flame.%player%} is true:
- set {loc.%player%} to location of player
- show 50 "flame" particles at location of player for player offset by 0.4, 0.7, 0.4
- on any move:
- if {snow.%player%} is true:
- set {loc.%player%} to location of player
- show 50 "snowball" particles at location of player for player offset by 0.4, 0.7, 0.4
- on any move:
- if {slime.%player%} is true:
- set {loc.%player%} to location of player
- show 50 "slime" particles at location of player for player offset by 0.4, 0.7, 0.4
- on any move:
- if {magic.%player%} is true:
- set {loc.%player%} to location of player
- show 50 "magicCrit" particles at location of player for player offset by 0.4, 0.7, 0.4
- on any move:
- if {spell.%player%} is true:
- set {loc.%player%} to location of player
- show 50 "spell" particles at location of player for player offset by 0.4, 0.7, 0.4
- command /addparticle [<text>]:
- trigger:
- if player has permission "particle.add.use":
- if arg 1 is not set:
- send "&c----------------"
- send "&cFlame"
- send "&cSpell"
- send "&cSlime"
- send "&cSnow"
- send "&cRedstone"
- send "&c----------------"
- else:
- if arg 1 is "flame":
- add 1 to {flamecount}
- create an animated ball effect at location of player with id "%{flamecount}%" with particle flame
- send "{@prefix} {@messageColor}flame was created."
- else if arg 1 is "spell":
- add 1 to {spellcount}
- create an animated ball effect at location of player with id "%{spellcount}%" with particle spell
- send "{@prefix} {@messageColor}spell was created."
- else if arg 1 is "slime":
- add 1 to {slimecount}
- create an animated ball effect at location of player with id "%{slimecount}%" with particle slime
- send "{@prefix} {@messageColor}slime was created."
- else if arg 1 is "snow":
- add 1 to {snowcount}
- create an animated ball effect at location of player with id "%{snowcount}%" with particle snowball
- send "{@prefix} {@messageColor}snow was created."
- else if arg 1 is "redstone":
- add 1 to {redstonecount}
- create an animated ball effect at location of player with id "%{redstonecount}%" with particle redstone
- send "{@prefix} {@messageColor}redstone was created."
- else:
- send "{@prefix} &4Something went wrong with your typing."
- else:
- send "{@permMsg}"
- command /removeparticle <text>:
- usage: /removeparticle <text>
- trigger:
- if player has permission "particle.remove.use":
- if arg 1 is "flame":
- delete effect "%{flamecount}%"
- send "{@prefix} {@messageColor}removed number %{flamecount}% for flame"
- wait 1 tick
- subtract 1 from {flamecount}
- if arg 1 is "spell":
- delete effect "%{spellcount}%"
- send "{@prefix} {@messageColor}removed number %{spellcount}% for spell"
- wait 1 tick
- subtract 1 from {spellcount}
- if arg 1 is "slime":
- delete effect "%{slimecount}%"
- send "{@prefix} {@messageColor}removed number %{slimecount}% for slime"
- wait 1 tick
- subtract 1 from {slimecount}
- if arg 1 is "snow":
- delete effect "%{snowcount}%"
- send "{@prefix} {@messageColor}removed number %{snowcount}% for snow"
- wait 1 tick
- subtract 1 from {snowcount}
- if arg 1 is "redstone":
- delete effect "%{redstonecount}%"
- send "{@prefix} {@messageColor}removed number %{redstonecount}% for explosion"
- wait 1 tick
- subtract 1 from {redstonecount}
- else:
- send "{@permMsg}"
Advertisement
Add Comment
Please, Sign In to add comment