variables: {happy::%player%} = false {angry::%player%} = false {flame::%player%} = false {crit::%player%} = false {heart::%player%} = false {cloud::%player%} = false {water::%player%} = false command /aczastki [] []: permission: xtt.particles.admin trigger: if arg 1 is set: if arg 2 is "angry": execute console command "pex user %arg 1% add xtt.particles.angry" send "&cDales Mozliwosc Kozystania z Particlesow %arg 1%!" spawn 25 of particle angry villager:1 offset by 1, 1, 1 at player stop if arg 2 is "crit": execute console command "pex user %arg 1% add xtt.particles.crit" send "&cDales Mozliwosc Kozystania z Particlesow %arg 1%!" spawn 25 of particle crit:1 offset by 1, 1, 1 at player stop if arg 2 is "flame": execute console command "pex user %arg 1% add xtt.particles.flame" send "&cDales Mozliwosc Kozystania z Particlesow %arg 1%!" spawn 25 of particle flame:1 offset by 1, 1, 1 at player stop if arg 2 is "heart": execute console command "pex user %arg 1% add xtt.particles.heart" send "&cDales Mozliwosc Kozystania z Particlesow %arg 1%!" spawn 25 of particle heart:1 offset by 1, 1, 1 at player stop if arg 2 is "cloud": execute console command "pex user %arg 1% add xtt.particles.cloud" send "&cDales Mozliwosc Kozystania z Particlesow %arg 1%!" spawn 25 of particle cloud:1 offset by 1, 1, 1 at player stop if arg 2 is "water": execute console command "pex user %arg 1% add xtt.particles.water" send "&cDales Mozliwosc Kozystania z Particlesow %arg 1%!" spawn 25 of particle bubble:1 offset by 1, 1, 1 at player stop if arg 2 is "*" or "all": execute console command "pex user %arg 1% add xtt.particles.*" send "&cDales Mozliwosc Kozystania z WSZYSTKICH Particlesow %arg 1%!" stop command /czastki []: aliases: particles, particlesy, czasteczki trigger: if arg 1 is not set: new Inventory "&cParticlesy"; "&cParticlesy".Inventory.setRow{2}; "&cParticlesy".Inventory.setItem{1, green wool named "&cVillager (Szczesliwy)" with lore "&eKliknij Mnie!"}; "&cParticlesy".Inventory.setCommand{1, "particles happy"}; "&cParticlesy".Inventory.setExecutor{1, "player"}; "&cParticlesy".Inventory.setItem{2, red wool named "&cVillager (Zly)" with lore "&eKliknij Mnie!"}; "&cParticlesy".Inventory.setCommand{2, "particles angry"}; "&cParticlesy".Inventory.setExecutor{2, "player"}; "&cParticlesy".Inventory.setItem{3, diamond sword named "&cKrytyk" with lore "&eKliknij Mnie!"}; "&cParticlesy".Inventory.setCommand{3, "particles crit"}; "&cParticlesy".Inventory.setExecutor{3, "player"}; "&cParticlesy".Inventory.setItem{4, lava bucket named "&cOgien" with lore "&eKliknij Mnie!"}; "&cParticlesy".Inventory.setCommand{4, "particles flame"}; "&cParticlesy".Inventory.setExecutor{4, "player"}; "&cParticlesy".Inventory.setItem{5, apple named "&cSerca" with lore "&eKliknij Mnie!"}; "&cParticlesy".Inventory.setCommand{5, "particles heart"}; "&cParticlesy".Inventory.setExecutor{5, "player"}; "&cParticlesy".Inventory.setItem{6, string named "&cChmurka" with lore "&eKliknij Mnie!"}; "&cParticlesy".Inventory.setCommand{6, "particles cloud"}; "&cParticlesy".Inventory.setExecutor{6, "player"}; "&cParticlesy".Inventory.setItem{7, waiter bucket named "&cWoda" with lore "&eKliknij Mnie!"}; "&cParticlesy".Inventory.setCommand{7, "particles water"}; "&cParticlesy".Inventory.setExecutor{7, "player"}; "&cParticlesy".Inventory.display{player}; stop if arg 1 is "happy": if {happy::%player%} is true: set {happy::%player%} to false send "&cWylaczyles Particlesy!" stop if {happy::%player%} is false: set {happy::%player%} to true send "&aWlaczyles Particlesy!" stop if arg 1 is "angry": if player has permission "xtt.particles.angry" or "xtt.particles.*": if {angry::%player%} is true: set {angry::%player%} to false send "&cWylaczyles Particlesy!" stop if {angry::%player%} is false: set {angry::%player%} to true send "&aWlaczyles Particlesy!" stop else: send "&4BLAD: &cBrak Uprawnien!" if arg 1 is "crit": if player has permission "xtt.particles.crit" or "xtt.particles.*": if {crit::%player%} is true: set {crit::%player%} to false send "&cWylaczyles Particlesy!" stop if {crit::%player%} is false: set {crit::%player%} to true send "&aWlaczyles Particlesy!" stop else: send "&4BLAD: &cBrak Uprawnien!" if arg 1 is "flame": if player has permission "xtt.particles.flame" or "xtt.particles.*": if {flame::%player%} is true: set {flame::%player%} to false send "&cWylaczyles Particlesy!" stop if {flame::%player%} is false: set {flame::%player%} to true send "&aWlaczyles Particlesy!" stop else: send "&4BLAD: &cBrak Uprawnien!" if arg 1 is "heart": if player has permission "xtt.particles.heart" or "xtt.particles.*": if {heart::%player%} is true: set {heart::%player%} to false send "&cWylaczyles Particlesy!" stop if {heart::%player%} is false: set {heart::%player%} to true send "&aWlaczyles Particlesy!" stop else: send "&4BLAD: &cBrak Uprawnien!" if arg 1 is "cloud": if player has permission "xtt.particles.cloud" or "xtt.particles.*": if {cloud::%player%} is true: set {cloud::%player%} to false send "&cWylaczyles Particlesy!" stop if {cloud::%player%} is false: set {cloud::%player%} to true send "&aWlaczyles Particlesy!" stop else: send "&4BLAD: &cBrak Uprawnien!" if arg 1 is "water": if player has permission "xtt.particles.water" or "xtt.particles.*": if {water::%player%} is true: set {water::%player%} to false send "&cWylaczyles Particlesy!" stop if {water::%player%} is false: set {water::%player%} to true send "&aWlaczyles Particlesy!" stop else: send "&4BLAD: &cBrak Uprawnien!" every 1 second: if {happy::%player%} is true: spawn 25 of particle happy villager:1 offset by 1, 1, 1 at player stop if {angry::%player%} is true: spawn 25 of particle angry villager:1 offset by 1, 1, 1 at player stop if {crit::%player%} is true: spawn 25 of particle crit:1 offset by 1, 1, 1 at player stop if {flame::%player%} is true: spawn 25 of particle flame:1 offset by 1, 1, 1 at player stop if {heart::%player%} is true: spawn 25 of particle heart:1 offset by 1, 1, 1 at player stop if {cloud::%player%} is true: spawn 25 of particle cloud:1 offset by 1, 1, 1 at player stop if {water::%player%} is true: spawn 25 of particle bubble:1 offset by 1, 1, 1 at player stop