Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {diamenty.%player%} = 0
- {emeraldy.%player%} = 0
- {zelazo.%player%} = 0
- {zloto.%player%} = 0
- {gunpowder.%player%} = 0
- {enderpearl.%player%} = 0
- {apple.%player%} = 0
- {redstone.%player%} = 0
- {lapis.%player%} = 0
- {wegiel.%player%} = 0
- {piasek.%player%} = 0
- {monety.%player%} = 0
- {wykopanystone.%player%} = 0
- {cobblestone.%player%} = true
- {cobblestone.%player%} = ON
- {drop.%player%.punkty} = 0
- {drop.%player%.lvl} = 1
- options:
- tag: &3&lDrop &4&lZe &3&lStone
- czat: &6[&7{LVL}&6] &7{DISPLAY}: &f{MESSAGE}
- szansa_monety: 30
- szansa_diament: 30
- szansa_emerald: 50
- szansa_zelazo: 100
- szansa_zloto: 100
- szansa_gunpowder: 90
- szansa_apple: 90
- szansa_enderpearl: 90
- szansa_redstone: 90
- szansa_lapis: 90
- szansa_wegiel: 90
- szansa_piasek: 90
- szansa_magicznaskrzynka: 90
- wysokosc_monety: 25
- wysokosc_diament: 25
- wysokosc_emerald: 25
- wysokosc_zelazo: 65
- wysokosc_zloto: 25
- wysokosc_gunpowder: 45
- wysokosc_apple: 45
- wysokosc_enderpearl: 25
- wysokosc_redstone: 50
- wysokosc_lapis: 50
- wysokosc_wegiel: 60
- wysokosc_piasek: 60
- wysokosc_magicznaskrzynka: 65
- on break of stone or cobblestone:
- if {cobblestone.%player%} is false:
- cancel event
- set event-block to air
- on mine of stone:
- chance of 100%:
- add 1 xp to the player
- on mine of stone:
- chance of {@szansa_magicznaskrzynka}%:
- if player's y-coordinate is smaller than {@wysokosc_magicznaskrzynka}:
- drop 1 mossy cobblestone named "&2Cobble&7X" with lore "&8Postaw na ziemi!"
- send "&aWylecial ci &7&lCobble&f&lX! Gratulacje!"
- on mine of stone:
- if player's gamemode is survival:
- add 1 to {wykopanystone.%player%}
- chance of {@szansa_diament}%:
- if player's y-coordinate is smaller than {@wysokosc_diament}:
- drop 1 diamond
- add 1 to {diamenty.%player%}
- send "&7&lZnalazles: &b&lDiament! &4&l(+3 Pkt)"
- add 3 to {drop.%player%.punkty}
- chance of {@szansa_monety}%:
- if player's y-coordinate is smaller than {@wysokosc_monety}:
- drop 1 sunflower named "&c&lMonety"
- add 1 to {monety.%player%}
- send "&7&lZnalazles: &b&lMonete! &4&l(+3 Pkt)"
- add 3 to {drop.%player%.punkty}
- chance of {@szansa_piasek}%:
- if player's y-coordinate is smaller than {@wysokosc_piasek}:
- drop 1 sand
- add 1 to {piasek.%player%}
- send "&7&lZnalazles: &6&lPiasek! &4&l(+1 Pkt)"
- add 1 to {drop.%player%.punkty}
- chance of {@szansa_emerald}%:
- if player's y-coordinate is smaller than {@wysokosc_emerald}:
- drop 1 emerald
- add 1 to {emeraldy.%player%}
- send "&7&lZnalazles: &2&lEmerald! &4&l(+4 Pkt)"
- add 4 to {drop.%player%.punkty}
- chance of {@szansa_zelazo}%:
- if player's y-coordinate is smaller than {@wysokosc_zelazo}:
- drop 1 iron ore
- add 1 to {zelazo.%player%}
- send "&7&lZnalazles: &1&8Zelazo &4&l(+1 Pkt)"
- add 1 to {drop.%player%.punkty}
- chance of {@szansa_zloto}%:
- if player's y-coordinate is smaller than {@wysokosc_zloto}:
- drop 1 gold ore
- add 1 to {zloto.%player%}
- send "&7&lZnalazles: &6&lZloto &4&l(+2 pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_gunpowder}%:
- if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
- drop 1 gunpowder
- add 1 to {gunpowder.%player%}
- send "&7&lZnalazles: &9&lProch &4&l(+1 Pkt)"
- add 1 to {drop.%player%.punkty}
- chance of {@szansa_enderpearl}%:
- if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
- drop 1 ender pearl
- add 1 to {enderpearl.%player%}
- send "&7&lZnalazles: &1&2Enderperle! &4&l(+4 Pkt)"
- add 3 to {drop.%player%.punkty}
- chance of {@szansa_apple}%:
- if player's y-coordinate is smaller than {@wysokosc_apple}:
- drop 1 apple
- add 1 to {apple.%player%}
- send "&7&lZnalazles: &4&lJablko! &4&l(+1 Pkt)"
- add 1 to {drop.%player%.punkty}
- chance of {@szansa_redstone}%:
- if player's y-coordinate is smaller than {@wysokosc_redstone}:
- drop a random number between 4 and 1 of redstone
- add 1 to {redstone.%player%}
- send "&7&lZnalazles: &4&lRedstone'a! &4&l(+1 Pkt)"
- add 1 to {drop.%player%.punkty}
- chance of {@szansa_lapis}%:
- if player's y-coordinate is smaller than {@wysokosc_lapis}:
- drop a random number between 4 and 1 of lapis lazuli
- add 1 to {lapis.%player%}
- send "&7&lZnalazles: &1&lLapis! &4&l(+1 Pkt)"
- add 1 to {drop.%player%.punkty}
- chance of {@szansa_wegiel}%:
- if player's y-coordinate is smaller than {@wysokosc_wegiel}:
- drop 1 coal
- add 1 to {wegiel.%player%}
- send "&7&lZnalazles: &0&lWegiel! &4&l(+1 Pkt)"
- add 1 to {drop.%player%.punkty}
- if player's tool is a diamond pickaxe of fortune 1:
- chance of {@szansa_diament}%:
- if player's y-coordinate is smaller than {@wysokosc_diament}:
- drop a random number between 3 and 2 of diamond
- add 1 to {diamenty.%player%}
- send "&7&lZnalazles: &b&lDiamenty! &4&l(+4 Pkt)"
- add 4 to {drop.%player%.punkty}
- chance of {@szansa_piasek}%:
- if player's y-coordinate is smaller than {@wysokosc_piasek}:
- drop a random number between 2 and 3 of sand
- add 1 to {piasek.%player%}
- send "&7&lZnalazles: &6&lPiasek! &4&l(+1 Pkt)"
- add 1 to {drop.%player%.punkty}
- chance of {@szansa_monety}%:
- if player's y-coordinate is smaller than {@wysokosc_monety}:
- drop 1 sunflower named "&c&lMonety"
- add 1 to {monety.%player%}
- send "&7&lZnalazles: &b&lMonete! &4&l(+3 Pkt)"
- add 3 to {drop.%player%.punkty}
- chance of {@szansa_emerald}%:
- if player's y-coordinate is smaller than {@wysokosc_emerald}:
- drop a random number between 3 and 2 of emerald
- add 1 to {emeraldy.%player%}
- send "&7&lZnalazles: &2&lEmeraldy! (&4&l+5 Pkt)"
- add 5 to {drop.%player%.punkty}
- chance of {@szansa_zelazo}%:
- if player's y-coordinate is smaller than {@wysokosc_zelazo}:
- drop a random number between 3 and 2 of iron ore
- add 1 to {zelazo.%player%}
- send "&7&lZnalazles: &8&lZelazo! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_zloto}%:
- if player's y-coordinate is smaller than {@wysokosc_zloto}:
- drop a random number between 3 and 2 of emerald
- add 1 to {zloto.%player%}
- send "&7&lZnalazles: &6&lZloto! &4&l(+3 Pkt)"
- add 3 to {drop.%player%.punkty}
- chance of {@szansa_gunpowder}%:
- if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
- drop a random number between 3 and 2 of gunpowder
- add 1 to {gunpowder.%player%}
- send "&7&lZnalazles: &8&lProch! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_apple}%:
- if player's y-coordinate is smaller than {@wysokosc_apple}:
- drop a random number between 3 and 2 of apple
- add 1 to {apple.%player%}
- send "&7&lZnalazles: &4&lJablka! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_enderpearl}%:
- if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
- drop a random number between 3 and 2 of ender pearl
- add 1 to {enderpearl.%player%}
- send "&7&lZnalazles: &a&lEnderperly! &4&l(+5 Pkt)"
- add 5 to {drop.%player%.punkty}
- chance of {@szansa_redstone}%:
- if player's y-coordinate is smaller than {@wysokosc_redstone}:
- drop a random number between 5 and 4 of redstone
- add 1 to {redstone.%player%}
- send "&7&lZnalazles: &4&lRedstone'a! &4&l(1 Pkt)"
- add 1 to {drop.%player%.punkty}
- chance of {@szansa_lapis}%:
- if player's y-coordinate is smaller than {@wysokosc_lapis}:
- drop a random number between 5 and 4 of lapis lazuli
- add 1 to {lapis.%player%}
- send "&7&lZnalazles: &1&lLapis! &4&l(1 Pkt)"
- add 1 to {drop.%player%.punkty}
- chance of {@szansa_wegiel}%:
- if player's y-coordinate is smaller than {@wysokosc_wegiel}:
- drop a random number between 3 and 2 of coal
- add 1 to {wegiel.%player%}
- send "&7&lZnalazles: &0&lWegiel! &4&l(1 Pkt)"
- add 1 to {drop.%player%.punkty}
- if player's tool is a diamond pickaxe of fortune 2:
- chance of {@szansa_diament}%:
- if player's y-coordinate is smaller than {@wysokosc_diament}:
- drop a random number between 4 and 3 of diamond
- add 1 to {diamenty.%player%}
- send "&7&lZnalazles: &b&lDiamenty! &4&l(+5 Pkt)"
- add 5 to {drop.%player%.punkty}
- chance of {@szansa_piasek}%:
- if player's y-coordinate is smaller than {@wysokosc_piasek}:
- drop a random number between 4 and 3 of sand
- add 1 to {piasek.%player%}
- send "&7&lZnalazles: &6&lPiasek! &4&l(+1 Pkt)"
- add 1 to {drop.%player%.punkty}
- chance of {@szansa_monety}%:
- if player's y-coordinate is smaller than {@wysokosc_monety}:
- drop 1 sunflower named "&c&lMonety"
- add 1 to {monety.%player%}
- send "&7&lZnalazles: &b&lMonete! &4&l(+3 Pkt)"
- add 3 to {drop.%player%.punkty}
- chance of {@szansa_emerald}%:
- if player's y-coordinate is smaller than {@wysokosc_emerald}:
- drop a random number between 4 and 3 of emerald
- add 1 to {emeraldy.%player%}
- send "&7&lZnalazles: &2&lEmeraldy! &4&l(+5 Pkt)"
- add 5 to {drop.%player%.punkty}
- chance of {@szansa_zelazo}%:
- if player's y-coordinate is smaller than {@wysokosc_zelazo}:
- drop a random number between 4 and 3 of iron ore
- add 1 to {zelazo.%player%}
- send "&7&lZnalazles: &8&lZelazo! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_zloto}%:
- if player's y-coordinate is smaller than {@wysokosc_zloto}:
- drop a random number between 4 and 3 of emerald
- add 1 to {zloto.%player%}
- send "&7&lZnalazles: &6&lZloto! &4&l(+3 Pkt)"
- add 3 to {drop.%player%.punkty}
- chance of {@szansa_gunpowder}%:
- if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
- drop a random number between 4 and 3 of gunpowder
- add 1 to {gunpowder.%player%}
- send "&7&lZnalazles: &8&lProch! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_apple}%:
- if player's y-coordinate is smaller than {@wysokosc_apple}:
- drop a random number between 4 and 3 of apple
- add 1 to {apple.%player%}
- send "&7&lZnalazles: &4&lJablka! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_enderpearl}%:
- if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
- drop a random number between 4 and 3 of ender pearl
- add 1 to {enderpearl.%player%}
- send "&7&lZnalazles: &a&lEnderperly! &4&l(+6 Pkt)"
- add 5 to {drop.%player%.punkty}
- chance of {@szansa_redstone}%:
- if player's y-coordinate is smaller than {@wysokosc_redstone}:
- drop a random number between 6 and 5 of redstone
- add 1 to {redstone.%player%}
- send "&7&lZnalazles: &4&lRedstone'a! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_lapis}%:
- if player's y-coordinate is smaller than {@wysokosc_lapis}:
- drop a random number between 6 and 5 of lapis lazuli
- add 1 to {lapis.%player%}
- send "&7&lZnalazles: &1&lLapis! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- if player's tool is a diamond pickaxe of fortune 3:
- chance of {@szansa_diament}%:
- if player's y-coordinate is smaller than {@wysokosc_diament}:
- drop a random number between 5 and 4 of diamond
- add 1 to {diamenty.%player%}
- send "&7&lZnalazles: &b&lDiamenty! &4&l(+5 Pkt)"
- add 5 to {drop.%player%.punkty}
- chance of {@szansa_monety}%:
- if player's y-coordinate is smaller than {@wysokosc_monety}:
- drop 1 sunflower named "&c&lMonety"
- add 1 to {monety.%player%}
- send "&7&lZnalazles: &b&lMonete! &4&l(+3 Pkt)"
- add 3 to {drop.%player%.punkty}
- chance of {@szansa_piasek}%:
- if player's y-coordinate is smaller than {@wysokosc_piasek}:
- drop a random number between 5 and 4 of sand
- add 1 to {piasek.%player%}
- send "&7&lZnalazles: &6&lPiasek! &4&l(+1 Pkt)"
- add 1 to {drop.%player%.punkty}
- chance of {@szansa_emerald}%:
- if player's y-coordinate is smaller than {@wysokosc_emerald}:
- drop a random number between 5 and 4 of emerald
- add 1 to {emeraldy.%player%}
- send "&7&lZnalazles: &2&lEmeraldy! &4&l(+5 Pkt)"
- add 5 to {drop.%player%.punkty}
- chance of {@szansa_zelazo}%:
- if player's y-coordinate is smaller than {@wysokosc_zelazo}:
- drop a random number between 5 and 4 of iron ore
- add 1 to {zelazo.%player%}
- send "&7&lZnalazles: &8&lZelazo! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_zloto}%:
- if player's y-coordinate is smaller than {@wysokosc_zloto}:
- drop a random number between 5 and 4 of emerald
- add 1 to {zloto.%player%}
- send "&7&lZnalazles: &6&lZloto! &4&l(+3 Pkt)"
- add 3 to {drop.%player%.punkty}
- chance of {@szansa_gunpowder}%:
- if player's y-coordinate is smaller than {@wysokosc_gunpowder}:
- drop a random number between 5 and 4 of gunpowder
- add 1 to {gunpowder.%player%}
- send "&7&lZnalazles: &8&lProch! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_apple}%:
- if player's y-coordinate is smaller than {@wysokosc_apple}:
- drop a random number between 5 and 4 of apple
- add 1 to {apple.%player%}
- send "&7&lZnalazles: &4&lJablka! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_enderpearl}%:
- if player's y-coordinate is smaller than {@wysokosc_enderpearl}:
- drop a random number between 5 and 4 of ender pearl
- add 1 to {enderpearl.%player%}
- send "&7&lZnalazles: &a&lEnderperly! &4&l(+5 Pkt)"
- add 5 to {drop.%player%.punkty}
- chance of {@szansa_redstone}%:
- if player's y-coordinate is smaller than {@wysokosc_redstone}:
- drop a random number between 6 and 5 of redstone
- add 1 to {redstone.%player%}
- send "&7&lZnalazles: &4&lRedstone'a! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_lapis}%:
- if player's y-coordinate is smaller than {@wysokosc_lapis}:
- drop a random number between 6 and 5 of lapis lazuli
- add 1 to {lapis.%player%}
- send "&7&lZnalazles: &1&lLapis! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- chance of {@szansa_wegiel}%:
- if player's y-coordinate is smaller than {@wysokosc_wegiel}:
- drop a random number between 5 and 4 of coal
- add 1 to {wegiel.%player%}
- send "&7&lZnalazles: &0&lWegiel! &4&l(+2 Pkt)"
- add 2 to {drop.%player%.punkty}
- if {drop.%player%.lvl} is 1:
- If {drop.%player%.punkty} is larger than 50:
- set {drop.%player%.lvl} to 2
- drop 35 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- send "&6Awansowales na &22 &6poziom kopania!"
- set {drop.%player%.punkty} to 0
- if {drop.%player%.lvl} is 2:
- If {drop.%player%.punkty} is larger than 200:
- send "&6Awansowales na &23 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 3
- set {drop.%player%.punkty} to 0
- if {drop.%player%.lvl} is 3:
- If {drop.%player%.punkty} is larger than 400:
- send "&6Awansowales na &24 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 4
- set {drop.%player%.punkty} to 0
- if {drop.%player%.lvl} is 4:
- If {drop.%player%.punkty} is larger than 600:
- send "&6Awansowales na &25 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 5
- set {drop.%player%.punkty} to 0
- if {drop.%player%.lvl} is 5:
- If {drop.%player%.punkty} is larger than 700:
- send "&6Awansowales na &26 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 6
- set {drop.%player%.punkty} to 0
- if {drop.%player%.lvl} is 6:
- If {drop.%player%.punkty} is larger than 900:
- send "&6Awansowales na &27 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 7
- if {drop.%player%.lvl} is 7:
- If {drop.%player%.punkty} is larger than 1100:
- send "&6Awansowales na &28 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 8
- set {drop.%player%.punkty} to 0
- if {drop.%player%.lvl} is 8:
- If {drop.%player%.punkty} is larger than 1300:
- send "&6Awansowales na &29 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 9
- set {drop.%player%.punkty} to 0
- if {drop.%player%.lvl} is 9:
- If {drop.%player%.punkty} is larger than 1500:
- send "&6Awansowales na &210 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 10
- set {drop.%player%.punkty} to 0
- if {drop.%player%.lvl} is 10:
- If {drop.%player%.punkty} is larger than 1700:
- send "&6Awansowales na &211 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 11
- set {drop.%player%.punkty} to 0
- if {drop.%player%.lvl} is 11:
- If {drop.%player%.punkty} is larger than 1900:
- send "&6Awansowales na &212 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 12
- set {drop.%player%.punkty} to 0
- if {drop.%player%.lvl} is 12:
- If {drop.%player%.punkty} is larger than 2100:
- send "&6Awansowales na &213 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 13
- set {drop.%player%.punkty} to 0
- if {drop.%player%.lvl} is 13:
- If {drop.%player%.punkty} is larger than 2300:
- send "&6Awansowales na &214 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 14
- set {drop.%player%.punkty} to 0
- if {drop.%player%.lvl} is 14:
- If {drop.%player%.punkty} is larger than 2500:
- send "&6Awansowales na &215 &6poziom kopania!"
- drop 45 xp
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- execute console command "/playsound random.levelup %player%"
- set {drop.%player%.lvl} to 15
- set {drop.%player%.punkty} to 0
- command /lvlreset [<text>]:
- permission: pstone.admin
- permission message: &4&lNie masz permisji do uzywania tej komendy!
- trigger:
- if arg 1 is player:
- set {drop.%player%.lvl} to 1
- set {drop.%player%.punkty} to 0
- send "&4&lLvl Gracza %arg 1% Został Zmieniony na 1!"
- if arg 1 is not set:
- send "&4&lWpisz Nick Gracza Któremu chcesz zmienić lvl!"
- on mine of any ore:
- cancel event
- drop 1 cobblestone
- set block to air
- send "&a&lTen surowiec dropi tylko ze stone! Wiecej Informacji: /stone"
- on mine of emerald ore:
- cancel event
- drop 1 cobblestone
- set block to air
- send "&a&lTen surowiec dropi tylko ze stone! Wiecej Informacji: /stone"
- command /cobble:
- trigger:
- if {cobblestone.%player%} is true:
- set {cobblestonee.%player%} to "&c&lOFF"
- set {cobblestone.%player%} to false
- send "&eDrop cobblestone z drop: &c&l %{cobblestonee.%player%}%!"
- else if {cobblestone.%player%} is false:
- set {cobblestone.%player%} to true
- set {cobblestonee.%player%} to "&a&lON"
- send "&eDrop cobblestone z drop: &c&l %{cobblestonee.%player%}%!"
- command /punkty:
- aliases: pkt, points
- trigger:
- if {drop.%player%.lvl} is 1:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&250&7, Aktualnie posiadasz &21 POZIOM&7."
- if {drop.%player%.lvl} is 2:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2200&7, posiadasz &22 POZIOM&7."
- if {drop.%player%.lvl} is 3:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2400&7, posiadasz &23 POZIOM&7."
- if {drop.%player%.lvl} is 4:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2600&7, posiadasz &24 POZIOM&7."
- if {drop.%player%.lvl} is 5:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2700&7, posiadasz &25 POZIOM&7."
- if {drop.%player%.lvl} is 6:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2900&7, posiadasz &26 POZIOM&7."
- if {drop.%player%.lvl} is 7:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21100&7, posiadasz &27 POZIOM&7."
- if {drop.%player%.lvl} is 8:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21300&7, posiadasz &28 POZIOM&7."
- if {drop.%player%.lvl} is 9:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21500&7, posiadasz &29 POZIOM&7."
- if {drop.%player%.lvl} is 10:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21700&7, posiadasz &210 POZIOM&7."
- if {drop.%player%.lvl} is 11:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21900&7, posiadasz &211 POZIOM&7."
- if {drop.%player%.lvl} is 12:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22100&7, posiadasz &212 POZIOM&7."
- if {drop.%player%.lvl} is 13:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22300&7, posiadasz &213 POZIOM&7."
- if {drop.%player%.lvl} is 14:
- send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22500&7, posiadasz &214 POZIOM&7."
- if {drop.%player%.lvl} is 15:
- send "&7Twoja ilosc punktow to: &2MAX&7/&2MAX&7, posiadasz MAXYMALNY &215 POZIOM&7."
- else:
- stop
- on chat:
- set {_chat} to "{@czat}"
- replace all "{LVL}" with "%{drop.%player%.lvl}%" in {_chat}
- replace all "{PLAYER}" with "%player%" in {_chat}
- replace all "{DISPLAY}" with "%display name of player%" in {_chat}
- replace all "{MESSAGE}" with "%message%" in {_chat}
- send "%{_chat}%" to all players
- cancel event
- command /stone:
- aliases: kamien, drop
- trigger:
- if player has permission "pstone.gracz":
- open chest with 5 rows named "&f&lRekt&9&lStone" to player
- wait 1 tick
- format slot 0 of player with 1 of diamond named "&bDiament" with lore "&4» &6Szansa:&7 {@szansa_diament}%%||&4» &6Poziom:&7 {@wysokosc_diament}" to be unstealable
- format slot 1 of player with 1 of emerald named "&aSzmaragd" with lore "&4» &6Szansa:&7 {@szansa_emerald}%%||&4» &6Poziom:&7 {@wysokosc_emerald}" to be unstealable
- format slot 2 of player with 1 of ender pearl named "&aPerla endermana" with lore "&4» &6Szansa:&7 {@szansa_enderpearl}%%||&4» &6Poziom:&7 {@wysokosc_enderpearl}" to be unstealable
- format slot 3 of player with 1 of gold ingot named "&6Zloto" with lore "&4» &6Szansa:&7 {@szansa_zloto}%%||&4» &6Poziom:&7 {@wysokosc_zloto}" to be unstealable
- format slot 4 of player with 1 of iron ingot named "&8Zelazo" with lore "&4» &6Szansa:&7 {@szansa_zelazo}%%||&4» &6Poziom:&7 {@wysokosc_zelazo}" to be unstealable
- format slot 5 of player with 1 of coal named "&0Wegiel" with lore "&4» &6Szansa:&7 {@szansa_wegiel}%%||&4» &6Poziom:&7 {@wysokosc_wegiel}" to be unstealable
- format slot 6 of player with 1 of redstone named "&4RedStone" with lore "&4» &6Szansa:&7 {@szansa_redstone}%%||&4» &6Poziom:&7 {@wysokosc_redstone}" to be unstealable
- format slot 7 of player with 1 of lapis lazuli named "&3Lapis" with lore "&4» &6Szansa:&7 {@szansa_lapis}%%||&4» &6Poziom:&7 {@wysokosc_lapis}" to be unstealable
- format slot 8 of player with 1 of apple named "&4Apple" with lore "&4» &6Szansa:&7 {@szansa_apple}%%||&4» &6Poziom:&7 {@wysokosc_apple}" to be unstealable
- format slot 9 of player with 1 of gunpowder named "&7Gunpowder" with lore "&4» &6Szansa:&7 {@szansa_gunpowder}%%||&4» &6Poziom:&7 {@wysokosc_gunpowder}" to be unstealable
- format slot 10 of player with 1 of sand named "&ePiasek" with lore "&4» &6Szansa:&7 {@szansa_piasek}%%||&4» &6Poziom:&7 {@wysokosc_piasek}" to be unstealable
- format slot 11 of player with 1 of mossy cobblestone named "&7&lCobble&f&lX" with lore "&4» &6Szansa:&7 {@szansa_magicznaskrzynka}%%||&4» &6Poziom:&7 {@wysokosc_magicznaskrzynka}" to be unstealable
- format slot 12 of player with 1 of sunflower named "&cMonety" with lore "&4» &6Szansa:&7 {@szansa_monety}%%||&4» &6Poziom:&7 {@wysokosc_monety}" to be unstealable
- format slot 43 of player with 1 of stone named "&eDrop z cobblestone: %{cobblestonee.%player%}%" to close then run [make player execute command "/cobble"]
- format slot 44 of player with 1 of red wool named "&4&lZamknij" with lore "&cNacisnij LPM aby zamknac" to close
- command /statystyki:
- aliases: staty, stats
- trigger:
- if player has permission "pstone.gracz":
- open chest with 2 rows named "Statystyki %player%" to player
- wait 1 tick
- format slot 3 of player with 1 of diamond named "&bDiamenty" with lore "&&4» &6Wykopane Diamenty:&7 %{diamenty.%arg 1%}%" to be unstealable
- format slot 1 of player with 1 of emerald named "&aSzmaragd" with lore "&4» &6Wykopane Szmaragdy:&7 %{emeraldy.%arg 1%}%" to be unstealable
- format slot 2 of player with 1 of ender pearl named "&aPerla endermana" with lore "&4» &6Wykopane Perelki:&7 %{enderpearl.%arg 1%}%" to be unstealable format slot 3 of player with 1 of gold ingot named "&6Zloto" with lore "&4» &6Wykopane Zloto:&7 %{zloto.%arg 1%}%" to be unstealable
- format slot 4 of player with 1 of iron ingot named "&8Zelazo" with lore "&4» &6Wykopane Zelazo:&7 %{zelazo.%arg 1%}%" to be unstealable
- format slot 5 of player with 1 of coal named "&0Wegiel" with lore "&4» &6Wykopany Wegiel:&7 %{wegiel.%arg 1%}%" to be unstealable
- format slot 6 of player with 1 of redstone named "&4RedStone" with lore "&4» &6Wykopany RedStone:&7 %{redstone.%arg 1%}%" to be unstealable
- format slot 7 of player with 1 of lapis lazuli named "&3Lapis" with lore "&4» &6Wykopany Lapis :&7 %{lapis.%arg 1%}%" to be unstealable
- format slot 8 of player with 1 of apple named "&4Apple" with lore "&4» &6Wykopane Jablka:&7 %{apple.%arg 1%}%" to be unstealable
- format slot 9 of player with 1 of gunpowder named "&7Stone" with lore "&4» &6Wykopany Proch:&7 %{gunpowder.%arg 1%}%" to be unstealable
- format slot 10 of player with 1 of sand named "&6Sand" with lore "&4» &6Wykopany Piasek:&7 %{piasek.%arg 1%}%" to be unstealable
- format slot 10 of player with 1 of sunflower named "&cMonety" with lore "&6» &6Wykopane Monety:&7 %{monety.%arg 1%}%" to be unstealable
- format slot 12 of player with 1 of stone named "&7Stone" with lore "&4» &6Wykopany Stone:&7 %{wykopanystone.%arg 1%}%" to be unstealable
- else:
- stop
Advertisement
Add Comment
Please, Sign In to add comment