Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {motd} = "&l&6Pl by Immakillu"
- {na.arenie.%player%} = false
- {points.sf.%player%} = 0
- {staly.item.tnt.%player%} = false
- {tnt.staly.info.%player%} = "&aKliknij aby kupic!"
- options:
- tag: &3&lSpleef &6»
- points: 50
- on damage of Villager:
- cancel event
- send "Jeszcze nie" to attacker
- on rightclick on Villager:
- cancel event
- open chest with 5 row named "&6&lItemy stale" to player
- wait 2 tick
- format slot 0 of player with 1 of Tnt named "&4Rzucane tnt" with lore "&6Koszt: 1000 punkotow || %{tnt.staly.info.%player%}%" to close then run [execute player command "tntitemstaly"]
- format slot 44 of player with 1 of gold ingot named "&eStan konta: &6%{points.sf.%player%}%" to close
- command /tntitemstaly:
- trigger:
- if {points.sf.%player%} is more than 999:
- if {tnt.staly.info.%player%} is not "&cPosiadany":
- set {staly.item.tnt.%player%} to true
- send "&aGratulacje! Zakupiles item staly"
- remove 1000 from {points.sf.%player%}
- set {tnt.staly.info.%player%} to "&cPosiadany"
- else:
- send "&cJuz masz ten item staly"
- else:
- send "&cPotrzebujesz wiecej punkotow zeby kupic ten item"
- command /sklep:
- trigger:
- send "Jeszcze nie"
- command /motd [<text>]:
- trigger:
- if arg 1 is set:
- set {motd} to coloured "%arg 1%"
- on server list ping:
- set motd to "&a%{motd}%"
- # On Projectile Hit: #
- # if Projectile is snowball: #
- # loop blocks in radius 1 around event-location: #
- # if loop-block is a snow block: #
- # set loop-block to air #
- On Explode:
- cancel event
- loop blocks in radius 3 around event-location:
- if loop-block is a snow block:
- set loop-block to air
- on rightclick with Tnt:
- cancel event
- if player is holding tnt named "&4Rzucane tnt":
- shoot tnt with speed 1.2
- if player's gamemode is not creative:
- remove 1 Tnt named "&4Rzucane tnt" from player's inventory
- on mine of snow:
- cancel event
- set block to air
- command /itemy:
- trigger:
- give player 1 Tnt named "&4Rzucane tnt"
- command /sf [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- send "&b============================="
- send "&7/sf stworz <numer-areny>"
- send "&7/sf setlobby <numer-areny>"
- send "&7/sf setspawn <numer-areny> &6- Miejsce spawnowania graczy na arenie"
- send "&7/sf status <numer-areny>"
- send "&7/sf nwm"
- else if arg 1 is "stworz":
- if arg 2 is set:
- set {arena.%arg 2%} to "&a✔ Wolna ✔"
- set {arena.%arg 2%.count} to 0
- send "&7[&3Spleef&7] &6Utworzyles arene %arg 2%"
- else if arg 1 is "del":
- if arg 2 is set:
- delete {arena.%arg 2%}
- delete {lobby.arena.%arg 2%}
- delete {spawn.arena.%arg 2%}
- send "{@tag} Usunales arene %arg 2%"
- else if arg 1 is "status":
- if arg 2 is set:
- if {arena.%arg 2%} is set:
- send "{@tag} arena %arg 2% status: %{arena.%arg 2%}%"
- else:
- send "&cNie ma takiej areny"
- else if arg 1 is "setlobby":
- if arg 2 is set:
- if player has permission "sf.*":
- set {lobby.arena.%arg 2%} to location of player
- send "{@tag} Ustawiles punkt lobby dla areny %arg 2% %{lobby.arena.%arg 2%}%"
- else if arg 1 is "setspawn":
- if arg 2 is set:
- if player has permission "sf.*":
- set {spawn.arena.%arg 2%} to location of player
- send "{@tag} Ustawiles spawn dla areny %arg 2%"
- else if arg 1 is "reset":
- if arg 2 is set:
- if executor is console:
- set {arena.%arg 2%.count} to 0
- set {arena.%arg 2%} to "&aaktywna"
- clear {arena.%arg 2%.gracze::*}
- loop all players:
- if {arena.%loop-player%} is "%arg 2%":
- delete {arena.%loop-player%}
- if {arena.%loop-player%.%arg 2%} is set:
- delete {arena.%loop-player%.%arg 2%}
- set {na.arenie.%loop-player%} to false
- teleport loop-player to spawn
- if executor is console:
- send "{@tag} Zresetowano arene %arg 2%"
- execute console command "sf restart %arg 2%"
- else:
- if player has permission "sf.*":
- send "{@tag} Zresetowano arene %arg 2%"
- execute console command "sf restart %arg 2%"
- else:
- send "&cNie mozesz tego zrobic"
- else if arg 1 is "restart":
- if arg 2 is set:
- if {arena.%arg 2%} is not "&4&l✖ RESET ✖":
- set {arena.%arg 2%} to "&4&l✖ RESET ✖"
- loop blocks within {pos1::%arg 2%.1} to {pos2::%arg 2%.1}:
- set block at loop-block to snow
- wait 1 second
- loop blocks within {pos1::%arg 2%.2} to {pos2::%arg 2%.2}:
- set block at loop-block to snow
- wait 1 second
- loop blocks within {pos1::%arg 2%.3} to {pos2::%arg 2%.3}:
- set block at loop-block to snow
- wait 1 second
- loop blocks within {pos1::%arg 2%.4} to {pos2::%arg 2%.4}:
- set block at loop-block to snow
- wait 1 second
- loop blocks within {pos1::%arg 2%.5} to {pos2::%arg 2%.5}:
- set block at loop-block to snow
- wait 1 second
- loop blocks within {pos1::%arg 2%.6} to {pos2::%arg 2%.6}:
- set block at loop-block to snow
- wait 1 second
- loop blocks within {pos1::%arg 2%.7} to {pos2::%arg 2%.7}:
- set block at loop-block to snow
- set {arena.%arg 2%} to "&a✔ Wolna ✔"
- set {arena.%arg 2%.count} to 0
- every 1 seconds:
- loop all players:
- loop all blocks in radius 10 of loop-player:
- if loop-block is sign:
- if line 1 of loop-block is "&a&lDOLACZ" or "spleef":
- set line 3 of loop-block to "&4%{arena.%uncolored line 2 of loop-block%.count}%/10"
- set line 4 of loop-block to "%{arena.%uncolored line 2 of loop-block%}%"
- if {arena.%uncolored line 2 of loop-block%.count} is less than 0:
- execute console command "sf reset %uncolored line 2 of loop-block%"
- if line 4 of loop-block is "&4&l✖ RESET ✖":
- set line 3 of loop-block to "&4-/-"
- on rightclick on sign:
- if line 1 is "spleef":
- if line 2 is set:
- set line 1 to "&a&lDOLACZ"
- set line 3 to "&4%{arena.%line 2%.count}%/10"
- set line 4 to "%{arena.%line 2%}%"
- set line 2 to "&3%line 2%"
- on rightclick on sign:
- set line 4 to "%{arena.%uncolored line 2%}%"
- set line 3 to "&4%{arena.%uncolored line 2%.count}%/10"
- if line 1 is set:
- if line 2 is set:
- if line 3 is set:
- if line 4 is "&a✔ Wolna ✔" or "&1&l✔ &1Odliczanie &1&l✔":
- if {arena.%uncolored line 2%.count} is less than 10:
- if {na.arenie.%player%} is false:
- teleport player to {lobby.arena.%uncolored line 2%}
- heal player
- set player's hunger to 20
- set level of player to 0
- set player's gamemode to survival
- set player's flight mode to false
- clear player's inventory
- set {na.arenie.%player%} to true
- set {arena.%player%} to "%uncolored line 2%"
- set {arena.%player%.%uncolored line 2%} to true
- add 1 to {arena.%uncolored line 2%.count}
- add player to {arena.%uncolored line 2%.gracze::*}
- loop all players:
- if {arena.%loop-player%.%uncolored line 2%} is true:
- send "{@tag} &7%player% &edolaczyl do gry! &e(&b%{arena.%uncolored line 2%.count}%&e/&b10&e&e)" to loop-players
- if {arena.%uncolored line 2%.count} is 2:
- if {arena.%loop-player%.%uncolored line 2%} is true:
- if {arena.%uncolored line 2%.count} is more than 1:
- set {odliczanie.arena.%uncolored line 2%} to true
- send "{@tag} Gra startuje za &a20 &6sec" to loop-players
- if {arena.%uncolored line 2%} is not "&1&l✔ &1Odliczanie &1&l✔":
- execute console command "start %uncolored line 2%"
- set {arena.%uncolored line 2%} to "&1&l✔ &1Odliczanie &1&l✔"
- else:
- send "{@tag} &cJestes juz na arenie nr %{arena.%player%}%"
- else:
- send "{@tag} &cArena jest pelna"
- command /start [<text>]:
- executable by: console
- trigger:
- wait 10 real seconds
- loop {arena.%arg 1%.gracze::*}:
- if {arena.%loop-value%.%arg 1%} is true:
- if {arena.%arg 1%.count} is more than 1:
- send "{@tag} &6Arena staruje za &510 &6sec" to loop-value
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- if {arena.%arg 1%.count} is more than 1:
- execute console command "start1 %arg 1%"
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- command /start1 [<text>]:
- executable by: console
- trigger:
- wait 5 real seconds
- loop {arena.%arg 1%.gracze::*}:
- if {arena.%loop-value%.%arg 1%} is true:
- if {arena.%arg 1%.count} is more than 1:
- send "{@tag} Arena startuje za &c5 &6sec" to loop-value
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- if {arena.%arg 1%.count} is more than 1:
- execute console command "start2 %arg 1%"
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- command /start2 [<text>]:
- executable by: console
- trigger:
- wait 1 real seconds
- loop {arena.%arg 1%.gracze::*}:
- if {arena.%loop-value%.%arg 1%} is true:
- if {arena.%arg 1%.count} is more than 1:
- send "{@tag} Arena startuje za &44 &6sec" to loop-value
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- if {arena.%arg 1%.count} is more than 1:
- execute console command "start3 %arg 1%"
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- command /start3 [<text>]:
- executable by: console
- trigger:
- wait 1 real seconds
- loop {arena.%arg 1%.gracze::*}:
- if {arena.%loop-value%.%arg 1%} is true:
- if {arena.%arg 1%.count} is more than 1:
- send "{@tag} Arena startuje za &43 &6sec" to loop-value
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- if {arena.%arg 1%.count} is more than 1:
- execute console command "start4 %arg 1%"
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- command /start4 [<text>]:
- executable by: console
- trigger:
- wait 1 real seconds
- loop {arena.%arg 1%.gracze::*}:
- if {arena.%loop-value%.%arg 1%} is true:
- if {arena.%arg 1%.count} is more than 1:
- send "{@tag} Arena startuje za &42 &6sec" to loop-value
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- if {arena.%arg 1%.count} is more than 1:
- execute console command "start5 %arg 1%"
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- command /start5 [<text>]:
- executable by: console
- trigger:
- wait 1 real seconds
- loop {arena.%arg 1%.gracze::*}:
- if {arena.%loop-value%.%arg 1%} is true:
- if {arena.%arg 1%.count} is more than 1:
- send "{@tag} Arena startuje za &41 &6sec" to loop-value
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- if {arena.%arg 1%.count} is more than 1:
- execute console command "start6 %arg 1%"
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- command /start6 [<text>]:
- executable by: console
- trigger:
- wait 1 real seconds
- loop {arena.%arg 1%.gracze::*}:
- if {arena.%loop-value%.%arg 1%} is true:
- if {arena.%arg 1%.count} is more than 1:
- teleport loop-value to {spawn.arena.%arg 1%}
- send "{@tag} &aArena wystartowala!" to loop-value
- add Diamond shovel of efficiency 1 and unbreaking 10 to loop-value's inventory
- if {staly.item.tnt.%loop-value%} is true:
- add 3 Tnt named "&4Rzucane tnt" to loop-value's inventory
- set {arena.%arg 1%} to "&4&l✖ W trakcie ✖"
- else:
- set {arena.%arg 1%} to "&a✔ Wolna ✔"
- command /leave:
- trigger:
- if {arena.%player%.%{arena.%player%}%} is set:
- delete {arena.%player%.%{arena.%player%}%}
- remove 1 from {arena.%{arena.%player%}%.count}
- remove player from {arena.%{arena.%player%}%.gracze::*}
- set {na.arenie.%player%} to false
- clear player's inventory
- teleport player to {spawn}
- send "{@tag} &eOpusciles arene &3%{arena.%player%}%"
- loop all players:
- if {arena.%loop-player%.%{arena.%player%}%} is true:
- send "{@tag} &7%player% &eopuscil arene! &e(&b%{arena.%{arena.%player%}%.count}%&e/&b10&e)" to loop-players
- wait 2 tick
- if {arena.%{arena.%player%}%.count} is 1:
- if {arena.%{arena.%player%}%} is "&4&l✖ W trakcie ✖":
- teleport loop-player to {spawn}
- set {arena.%{arena.%player%}%} to "&a✔ Wolna ✔"
- set {arena.%loop-player%.%{arena.%player%}%} to false
- set {na.arenie.%loop-player%} to false
- remove player from {arena.%{arena.%player%}%.gracze::*}
- clear loop-player's inventory
- add {@points} to {points.sf.%loop-player%}
- broadcast "{@tag} &7%loop-player% &9wygral na arenie &6&l%{arena.%loop-player%}% &e(&a+{@points} pkt&e)"
- wait 1 tick
- execute console command "sf reset %{arena.%player%}%"
- else:
- send "{@tag} &cNie jestes na zadniej arenie!"
- on quit:
- if {arena.%player%.%{arena.%player%}%} is set:
- delete {arena.%player%.%{arena.%player%}%}
- remove 1 from {arena.%{arena.%player%}%.count}
- remove player from {arena.%{arena.%player%}%.gracze::*}
- set {na.arenie.%player%} to false
- clear player's inventory
- teleport player to {spawn}
- send "{@tag} &eOpusciles arene &3%{arena.%player%}%"
- loop all players:
- if {arena.%loop-player%.%{arena.%player%}%} is true:
- send "{@tag} &7%player% &eopuscil arene! &e(&b%{arena.%{arena.%player%}%.count}%&e/&b10&e)" to loop-players
- wait 2 tick
- if {arena.%{arena.%player%}%.count} is 1:
- if {arena.%{arena.%player%}%} is "&4&l✖ W trakcie ✖":
- teleport loop-player to {spawn}
- set {arena.%{arena.%player%}%} to "&a✔ Wolna ✔"
- set {arena.%loop-player%.%{arena.%player%}%} to false
- set {na.arenie.%loop-player%} to false
- clear loop-player's inventory
- remove player from {arena.%{arena.%player%}%.gracze::*}
- add {@points} to {points.sf.%loop-player%}
- broadcast "{@tag} &7%loop-player% &9wygral na arenie &6&l%{arena.%loop-player%}% &e(&a+{@points} pkt&e)"
- wait 1 tick
- execute console command "sf reset %{arena.%player%}%"
- on step on water:
- if {arena.%{arena.%player%}%.count} is not 1:
- if {arena.%player%.%{arena.%player%}%} is set:
- if {arena.%{arena.%player%}%} is "&4&l✖ W trakcie ✖":
- delete {arena.%player%.%{arena.%player%}%}
- wait 10 tick
- remove 1 from {arena.%{arena.%player%}%.count}
- set {na.arenie.%player%} to false
- clear player's inventory
- teleport player to {spawn}
- loop all players:
- if {arena.%loop-player%.%{arena.%player%}%} is true:
- send "{@tag} &7%player% &espadl! &e(&b%{arena.%{arena.%player%}%.count}%&e/&b10&e)" to loop-players
- wait 2 tick
- if {arena.%{arena.%player%}%.count} is 1:
- set {arena.%{arena.%player%}%} to "&a✔ Wolna ✔"
- delete {arena.%loop-player%.%{arena.%player%}%}
- set {na.arenie.%loop-player%} to false
- loop 10 times:
- wait 5 tick
- launch flickering trailing ball firework colored green at loop-player timed 1
- teleport loop-player to {spawn}
- clear loop-player's inventory
- add {@points} to {points.sf.%loop-player%}
- broadcast "{@tag} &7%loop-player% &9wygral na arenie &6&l%{arena.%loop-player%}% &e(&a+{@points} pkt&e)"
- if {arena.%{arena.%player%}%.count} is 1:
- execute console command "sf reset %{arena.%player%}%"
- command /odnawianie [<text>] [<text>] [<text>]:
- trigger:
- set {pos%arg 2%::%arg 1%.%arg 3%} to location of targeted block
- send "Ustawiono %arg 2% dla areny %arg 1% numer %arg 3%"
- on damage:
- cancel event
- command /setspawn:
- trigger:
- if player has permission "spawn.spawn":
- set {spawn} to location of player
- send "&aUstawiles spawn na %{spawn}%"
- on join:
- wait 1 second
- if player has permission "Admin.server":
- set player's tag to "&7[&4Admin&7]&7 "
- else if player has permission "server.vip":
- set player's tag to "&7[&6Vip&7]&7 "
- else:
- set player's tag to "&7"
- on break:
- if player has permission "server.admin":
- set {nic} to ""
- else:
- if block is not snow:
- cancel event
- on place:
- if player has permission "server.admin":
- set {nic} to ""
- else:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment