#▒█▀▀▀█ █░░█ █▀▀█ ▀█░█▀ ░▀░ ▀█░█▀ █▀▀█ █░░ #░▀▀▀▄▄ █░░█ █▄▄▀ ░█▄█░ ▀█▀ ░█▄█░ █▄▄█ █░░ #▒█▄▄▄█ ░▀▀▀ ▀░▀▀ ░░▀░░ ▀▀▀ ░░▀░░ ▀░░▀ ▀▀▀ # #▒█▀▀▀ █▀▀ █▀▀ █▀▀ █▀▀▄ ▀▀█▀▀ ░▀░ █▀▀█ █░░ █▀▀ #▒█▀▀▀ ▀▀█ ▀▀█ █▀▀ █░░█ ░░█░░ ▀█▀ █▄▄█ █░░ ▀▀█ #▒█▄▄▄ ▀▀▀ ▀▀▀ ▀▀▀ ▀░░▀ ░░▀░░ ▀▀▀ ▀░░▀ ▀▀▀ ▀▀▀ #------------------------------------# # Opcje # #------------------------------------# options: tag: &8[&c&lSE&8]&7 # Tag wyswietlany przed wszystkimi wiadomosciami no-perm: &cNie masz uprawnien! # Wiadomosc informujaca o braku uprawnien # Opcje puszki pandory chance-1: 1% # Szansa na item 1 chance-2: 5% # Szansa na item 2 chance-3: 10% # Szansa na item 3 chance-4: 10% # Szansa na item 4 chance-5: 10% # Szansa na item 5 chance-6: 25% # Szansa na item 6 chance-7: 25% # Szansa na item 7 chance-8: 50% # Szansa na item 8 chance-9: 60% # Szansa na item 9 chance-10: 70% # Szansa na item 10 drop-1: 5 enchanted golden apples # Item 1 drop-2: 1 diamond armor # Item 2 drop-3: 10 gold blocks # Item 3 drop-4: 5 diamond block # Item 4 drop-5: 15 tnt # Item 5 drop-6: 5 ender pearl # Item 6 drop-7: 1 ender chest # Item 7 drop-8: 25 obsidian # Item 8 drop-9: 64 bottle of enchanting # Item 9 drop-10: 1 saddle # Item 10 # Opcje dropu chance-diamond: 0.4 # Szansa na diament chance-gold: 1.0 # Szansa na zloto chance-iron: 2.0 # Szansa na zelazo chance-coal: 4.0 # Szansa na wegiel chance-lapis: 5.0 # Szansa na lapis chance-redstone: 3.0 # Szansa na redstone chance-emerald: 0.6 # Szansa na emerald exp: 1 # Ilosc expa po zniszczeniu stone #------------------------------------# # Puszka pandory # #------------------------------------# command /pandora: trigger: if player has permission "se.pandora": if player has 576 cobblestone: send "{@tag} Puszka pandory stworzona!" remove 576 cobblestone from player give dragon egg named "&cPuszka pandory" to the player else: send "{@tag} &cAby stworzyc puszke pandory potrzebujesz 9 stackow cobblestone!" else: send "{@tag} {@no-perm}" on rightclick on a dragon egg: cancel event set clicked block to air send "{@tag} Puszka pandory zostala otwarta!" loop 5 times: wait 5 ticks create fake explosion chance of {@chance-1}: drop {@drop-1} chance of {@chance-2}: drop {@drop-2} chance of {@chance-3}: drop {@drop-3} chance of {@chance-4}: drop {@drop-4} chance of {@chance-5}: drop {@drop-5} chance of {@chance-6}: drop {@drop-6} chance of {@chance-7}: drop {@drop-7} chance of {@chance-8}: drop {@drop-8} chance of {@chance-9}: drop {@drop-9} chance of {@chance-10}: drop {@drop-10} #------------------------------------# # Drop # #------------------------------------# on mine any ore: cancel event set event-block to air send "{@tag} Rudy wypadaja tylko ze stone!" on explode: loop blocks in radius 10: if loop-block is any ore: set loop-block to air on mine a stone: if player's gamemode is survival: add {@exp} exp to player add 1 to {wykopane.stone.%player%} chance of {@chance-diamond}%: drop 1 diamond send "{@tag} Wypadl diament!" add 1 to {wykopane.diament.%player%} chance of {@chance-gold}%: drop 1 gold ore send "{@tag} Wypado zloto!" add 1 to {wykopane.zloto.%player%} chance of {@chance-iron}%: drop 1 iron ore send "{@tag} Wypado zelazo!" add 1 to {wykopane.zelazo.%player%} chance of {@chance-coal}%: drop 1 coal send "{@tag} Wypadl wegiel!" add 1 to {wykopane.wegiel.%player%} chance of {@chance-lapis}%: drop 4 lapis lazuli send "{@tag} Wypadl lapis!" add 1 to {wykopane.lapis.%player%} chance of {@chance-redstone}%: drop 4 redstone send "{@tag} Wypadl redstone!" add 1 to {wykopane.redstone.%player%} chance of {@chance-emerald}%: drop 1 redstone send "{@tag} Wypadl emerald!" add 1 to {wykopane.emerald.%player%} command /stone: aliases: drop, rudy, ore, dropy trigger: send "&6<-----------{@tag}&6----------->" send "&bDiament &6- {@chance-diamond} proc." send "&eZloto &6- {@chance-gold} proc." send "&7Zelazo &6- {@chance-iron} proc." send "&0Wegiel &6- {@chance-coal} proc." send "&1Lapis &6- {@chance-lapis} proc." send "&cRedstone &6- {@chance-redstone} proc." send "&aEmerald &6- {@chance-emerald} proc." send "&6<-----------{@tag}&6----------->" command /statystyki: trigger: send "&6<-----------{@tag}&6----------->" send "&8Stone &6- %{wykopane.stone.%player%}% razy" send "&bDiament &6- %{wykopane.diament.%player%}% razy" send "&eZloto &6- %{wykopane.zloto.%player%}% razy" send "&7Zelazo &6- %{wykopane.zelazo.%player%}% razy" send "&0Wegiel &6- %{wykopane.wegiel.%player%}% razy" send "&1Lapis &6- %{wykopane.lapis.%player%}% razy" send "&cRedstone &6- %{wykopane.redstone.%player%}% razy" send "&aEmerald &6- %{wykopane.emerald.%player%}% razy" send "&6<-----------{@tag}&6----------->" on join: if {wykopane.stone.%player%} is not set: set {wykopane.stone.%player%} to 0 if {wykopane.diament.%player%} is not set: set {wykopane.diament.%player%} to 0 if {wykopane.zloto.%player%} is not set: set {wykopane.zloto.%player%} to 0 if {wykopane.zelazo.%player%} is not set: set {wykopane.zelazo.%player%} to 0 if {wykopane.wegiel.%player%} is not set: set {wykopane.wegiel.%player%} to 0 if {wykopane.lapis.%player%} is not set: set {wykopane.lapis.%player%} to 0 if {wykopane.redstone.%player%} is not set: set {wykopane.redstone.%player%} to 0 if {wykopane.emerald.%player%} is not set: set {wykopane.emerald.%player%} to 0 #------------------------------------# # Timber # #------------------------------------# on mine a wood: if player's tool is any axe: if {timber.%player%} is 1: if event-block is wood: loop blocks upwards: if loop-block is oak wood: drop 1 oak wood at event-block set loop-block to air damage player's tool by 1 if loop-block is spruce wood: set loop-block to air damage player's tool by 1 drop 1 spruce wood at loop-block if loop-block is birch wood: set loop-block to air damage player's tool by 1 drop 1 birch wood at loop-block if loop-block is jungle wood: set loop-block to air damage player's tool by 1 drop 1 jungle wood at loop-block if loop-block is acacia wood: set loop-block to air damage player's tool by 1 drop 1 acacia wood at loop-block if loop-block is dark oak wood: set loop-block to air damage player's tool by 1 drop 1 dark oak wood at loop-block on rightclick with any axe: if {timber.%player%} is set: if {timber.%player%} is 1: set {timber.%player%} to 0 send "{@tag} Timber wylaczony!" else if {timber.%player%} is 0: set {timber.%player%} to 1 send "{@tag} Timber wlaczony!" else: set {timber.%player%} to 1 send "{@tag} Timber wlaczony!" #------------------------------------# # Generatory # #------------------------------------# on script load: register new shaped recipe for diamond ore named "&cPiekielna stoniarka" using 0, 1, 0, 0, 33, 0, 0, 331, 0 register new shaped recipe for redstone ore named "&5Piekielna obsidianiarka" using 0, 49, 0, 0, 33, 0, 0, 331, 0 on place a diamond ore: if name of player's tool is "&cPiekielna stoniarka": set {stoniarka.%event-block%} to 1 set event-block to stone send "{@tag} Stroniarka postawiona!" on mine a stone: if {stoniarka.%event-block%} is 1: wait 2 seconds set event-block to stone on leftclick with gold axe: if {stoniarka.%clicked block%} is 1: clear {stoniarka.%clicked block%} send "{@tag} Stoniarka zniszczona!" damage player's tool by 1 set clicked block to air drop 1 diamond ore named "&cPiekielna stoniarka" on place a redstone ore: if name of player's tool is "&5Piekielna obsidianiarka": set {obsidianiarka.%event-block%} to 1 set event-block to obsidian send "{@tag} Obsidianiarka postawiona!" on mine a obsidian: if {obsidianiarka.%event-block%} is 1: wait 2 seconds set event-block to obsidian on leftclick with gold axe: if {obsidianiarka.%clicked block%} is 1: clear {obsidianiarka.%clicked block%} send "{@tag} Obsidianiarka zniszczona!" damage player's tool by 1 set clicked block to air give 1 redstone ore named "&5Piekielna obsidianiarka" to the player #------------------------------------# # Rzucane TNT # #------------------------------------# on script load: register new shaped recipe for tnt named "&cRzucane TNT" using 0, 0, 0, 0, 46, 0, 0, 261, 0 on rightclick with tnt: if name of player's tool is "&cRzucane TNT": cancel event make the player shoot a primed tnt at speed 1 remove 1 tnt named "&cRzucane TNT" from player #------------------------------------# # Konskie ostrze # #------------------------------------# on script load: register new shaped recipe for golden sword named "&eKonskie ostrze" using 0, 41, 0, 0, 41, 0, 0, 280, 0 on rightclick with gold sword: if name of player's tool is "&eKonskie ostrze": spawn 1 horse at player's location set name of spawned entity to "&6%player%" remove 1 gold sword named "&eKonskie ostrze" from the player send "{@tag} Kon zrespiony!" on damage: victim is horse attacker is player if name of attacker is "&6%victim%": cancel event send "{@tag} To nie twoj kon!" # -------------- Koniec -------------- # # Parrot #