Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /epic [<text>] [<integer>]:
- permission: premiumcase.give
- permission message: &e• &cNie masz uprawnien do tej komendy!
- trigger:
- if arg-1 is not set:
- send "&8» &cPoprawne uzycie &7/premiumcasedev <nick/all> <ilosc>"
- if arg-1 is set:
- if arg-2 is not set:
- send "&8» &cPoprawne uzycie &7/premiumcasedev <nick/all> <ilosc>"
- if arg-1 is not "all":
- if arg-2 is set:
- loop arg-2 times:
- if player can hold 1 chest:
- execute console command "give %arg-1% chest 1 name:&9&lEPIC&F&LBOX lore:&3&k!&3&k!&9&l_Epic&f&lBox_&7to_magiczna_skrzynia_z_ktorej|&3&k!&3&k!&7_moga_wyleciec_bardzo_&bcenne_przedmioty!|&3&k!&3&k!&7_Miedzy_innymi_takie_jak_&aB&bE&cA&dC&eO&6N"
- else:
- drop 1 chest named "&9&lEPIC&F&LBOX" with lore "&3&k!&3&k!&9&l Epic&f&lBox &7to magiczna skrzynia z ktorej||&3&k!&3&k!&7 moga wyleciec bardzo &bcenne przedmioty!||&3&k!&3&k!&7 Miedzy innymi takie jak &aB&bE&cA&dC&eO&6N" at player
- send "&8» &fGracz &a%arg 1% &fotrzymal &a%arg 2% &fPremiumCase!" to player
- if arg-1 is "all":
- if arg-2 is set:
- loop arg-2 times:
- loop all players:
- if loop-player can hold 1 chest:
- execute console command "give %loop-players% chest 1 name:&9&lEPIC&F&LBOX lore:&3&k!&3&k!&9&l_Epic&f&lBox_&7to_magiczna_skrzynia_z_ktorej|&3&k!&3&k!&7_moga_wyleciec_bardzo_&bcenne_przedmioty!|&3&k!&3&k!&7_Miedzy_innymi_takie_jak_&aB&bE&cA&dC&eO&6N"
- else:
- drop 1 chest named "&9&lEPIC&F&LBOX" with lore "&3&k!&3&k!&9&l Epic&f&lBox &7to magiczna skrzynia z ktorej||&3&k!&3&k!&7 moga wyleciec bardzo &bcenne przedmioty!||&3&k!&3&k!&7 Miedzy innymi takie jak &aB&bE&cA&dC&eO&6N" at loop-player
- broadcast ""
- broadcast "&8» &7Caly serwer otrzymal &cPremiumCase &7x&6%arg 2%&7!"
- broadcast ""
- on place:
- block under event-block is end stone:
- stop
- block is not chest:
- stop
- player's tool is not chest named "&9&lEPIC&F&LBOX" with lore "&3&k!&3&k!&9&l Epic&f&lBox &7to magiczna skrzynia z ktorej||&3&k!&3&k!&7 moga wyleciec bardzo &bcenne przedmioty!||&3&k!&3&k!&7 Miedzy innymi takie jak &aB&bE&cA&dC&eO&6N":
- player's tool is not chest named "&9&lPrrrr":
- stop
- set event-block to air
- set {_i} to 0
- chance of 55%:
- drop diamond helmet of protection 4 and unbreaking 3 at event-block
- drop diamond chestplate of protection 4 and unbreaking 3 at event-block
- drop diamond leggings of protection 4 and unbreaking 3 at event-block
- drop diamond boots of protection 4 and unbreaking 3 at event-block
- add 1 to {_i}
- chance of 15%:
- drop diamond leggings of protection 4 and unbreaking 3 at event-block
- add 1 to {_i}
- chance of 15%:
- drop diamond boots of protection 4 and unbreaking 3 at event-block
- add 1 to {_i}
- chance of 20%:
- drop 64 emerald at event-block
- add 1 to {_i}
- chance of 20%:
- drop 64 gold block at event-block
- add 1 to {_i}
- chance of 20%:
- drop 64 emerald at event-block
- add 1 to {_i}
- chance of 60%:
- drop diamond sword of sharpness 5 and fire aspect 2 at event-block
- add 1 to {_i}
- chance of 0.001%:
- add 1 to {_i}
- chance of 50%:
- drop 64 emerald block at event-block
- add 1 to {_i}
- chance of 50%:
- drop 64 tnt at event-block
- add 1 to {_i}
- chance of 30%:
- drop 16 ender pearl at event-block
- add 1 to {_i}
- chance of 2%:
- drop beacon at event-block
- send "" to all players
- send "&8» &eGratulacje! &7Gracz &a%player% &7wydropil &aB&bE&cA&dC&eO&6N&7!" to all players
- send "&8» &7Z przedmiotu: &9&lEPIC&f&lBOX&7!" to all players
- send "" to all players
- add 1 to {_i}
- chance of 20%:
- drop 32 322:0 at event-block
- add 1 to {_i}
- chance of 20%:
- drop 10 322:1 at event-block
- add 1 to {_i}
- chance of 5%:
- drop diamond pickaxe of efficiency 10 and fortune 3 and unbreaking 3 named "&e&oSzybki kilof &6&o10/3/3" with lore " &f&l» &c&oJesli nie bedziesz mogl|| &f&l» &c&oNaprawic tego przedmiotu|| &f&l» &c&oW kowadle, uzyj komendy:|| &f&l» &a&o/REPAIR|| &f&l» &c&oPrzedmiot zdobyty z &9&l&oEPIC&f&l&oBOX&7&o!" at event-block
- add 1 to {_i}
- chance of 10%:
- drop diamond pickaxe of efficiency 9 and fortune 3 and unbreaking 3 named "&e&oSzybki kilof &6&o9/3/3" with lore " &f&l» &c&oJesli nie bedziesz mogl|| &f&l» &c&oNaprawic tego przedmiotu|| &f&l» &c&oW kowadle, uzyj komendy:|| &f&l» &a&o/REPAIR|| &f&l» &c&oPrzedmiot zdobyty z &9&l&oEPIC&f&l&oBOX&7&o!" at event-block
- add 1 to {_i}
- chance of 15%:
- drop diamond pickaxe of efficiency 8 and fortune 3 and unbreaking 3 named "&e&oSzybki kilof &6&o8/3/3" with lore " &f&l» &c&oJesli nie bedziesz mogl|| &f&l» &c&oNaprawic tego przedmiotu|| &f&l» &c&oW kowadle, uzyj komendy:|| &f&l» &a&o/REPAIR|| &f&l» &c&oPrzedmiot zdobyty z &9&l&oEPIC&f&l&oBOX&7&o!" at event-block
- add 1 to {_i}
- chance of 40%:
- drop diamond pickaxe of efficiency 6 and fortune 3 and unbreaking 3 named "&e&oSzybki kilof &6&o6/3/3" with lore " &f&l» &c&oJesli nie bedziesz mogl|| &f&l» &c&oNaprawic tego przedmiotu|| &f&l» &c&oW kowadle, uzyj komendy:|| &f&l» &a&o/REPAIR|| &f&l» &c&oPrzedmiot zdobyty z &9&l&oEPIC&f&l&oBOX&7&o!" at event-block
- add 1 to {_i}
- chance of 35%:
- drop 4 24:0 named "&6&lSANDFARMER" with lore "&8» &7Dzialanie &6SandFarmera||&8» &7Aby &6SandFarmer &7zadzialal||&8» &7Postaw &6SandFarmera &7w dowolnym miejscu|| ||&8» &7Pod postawionym &6SandFarmerem ||&8» &7Utworzy sie &c200 kratek piasku!" at event-block
- add 1 to {_i}
- chance of 35%:
- drop 4 49 named "&9&lBOYFARMER" with lore "&8» &7Dzialanie &9BoyFarmera||&8» &7Aby &9BoyFarmer &7zadzialal||&8» &7Postaw &9BoyFarmera &7w dowolnym miejscu|| ||&8» &7Pod postawionym &9BoyFarmerem ||&8» &7Utworzy sie &c200 kratek obsydianu!" at event-block
- add 1 to {_i}
- chance of 35%:
- drop 4 116 named "&e&lKOPACZ FOSY" with lore "&8» &7Dzialanie &eKopacza Fosy||&8» &7Aby &eKopacz Fosy &7zadzialal||&8» &7Postaw &eKopacz Fosy &7w dowolnym miejscu|| ||&8» &7Pod postawionym &eKopaczem Fosy||&8» &7Wszystkie bloki ponizej zostana &cusuniete!" at event-block
- add 1 to {_i}
- chance of 100:
- show mob spawner flames at event-block
- launch flickering ball firework colored pink at event-block timed 0.5
- launch ball firework colored blue at event-block timed 0.5
- launch flickering ball firework colored pink at event-block timed 0.5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement