#Potrzebne pluginy #Skript, SkQuery, WildSkript, TitleManager on script load: send " " to console send " " to console send " " to console send " Loaded KotCore " to console send " " to console send " " to console send " " to console variables: {chat} = true command /chat []: trigger: if arg 1 is not set: if player has permission "chat.pomoc" or "chat.*": send "&8» &6&n/chat on&7 - &eUruchamiasz CHAT Serwera" send "&8» &6&n/chat off&7 - &eWylaczasz CHAT Serwera." send "&8» &6&n/chat cc&7 - &eCZYSCISZ CHAT serwera." stop else: send "&8» &cNie posiadasz uprawnien!" stop if arg 1 is "on": if player has permission "chat.on" or "chat.*": if {chat} is false: set {chat} to true loop 128 times: broadcast "" broadcast "&8» &7Chat został &awlaczony &7przez &a&l%player%&7!" stop else: send "&&8» &aChat jest aktualnie WLACZONY!!" stop else: send "&8» &cNie posiadasz uprawnien!" stop if arg 1 is "off": if player has permission "chat.off" or "chat.*": if {chat} is true: set {chat} to false loop 128 times: broadcast "" broadcast "&8» &7Chat został &cwylaczony &7przez &c&l%player%&7!" stop else: send "&8» &cChat jest aktualnie wylaczony." else: send " &8» &cNie posiadasz uprawnien " if arg 1 is "cc" or "clear": if player has permission "chat.cc" or "chat.clear" or "chat.*": loop 128 times: broadcast " " broadcast "&8» &7Chat został &cWYCZYSZCZONY &7przez &c&l%player%&7!" on chat: if {chat} is false: if player has permission "chat.pisanie" or "chat.*": stop else: cancel event send "&8» &cChat jest aktualnie wylaczony" command /alert []: permission: alert.alert trigger: execute console command "/tm bc &8* &4Alert &8*\n&6%coloured arg%" options: permission: core.pandora.daj permissionMessage: &8#&cBrak uprawnien noOnline: &cTakiego gracza nie ma online! noArguments: &7Poprawne uzycie: &c/pandora &a[gracz(online)] [ilosc] noArguments.all: &7Poprawne uzycie: &c/pandoraall &a[ilosc] Pandora.named: &5&lPANDORA Pandora.lore1: &c» &7Postaw aby otrzymac losowy item Pandora.lore2: &c» &7Kup na stronie WWW chestName: &6Odbierz swoj item Items1: 1 diamond sword of sharpness 5 and unbreaking 3 Items2: 64 diamonds Items3: 8 ender pearl Items4: 1 diamond pickaxe of efficiency 5 and unbreaking 3 and fortune 3 Items5: 1 beacon Items6: 1 ender chest Items7: 1 iron sword Items8: 1 diamond helmet of protection 4 and unbreaking 3 Items9: 1 diamond chestplate of protection 4 and unbreaking 3 Items10: 1 diamond leggings of protection 4 and unbreaking 3 Items11: 1 diamond boots of protection 4 and unbreaking 3 Items12: 3 dragon egg named "&5&lPANDORA" with lore "&c» &7Postaw aby otrzymac losowy item||&c» &&Kup na stronie WWW" Items13: 1 bow of punch 2 Items14: 64 emeralds item1: 1 diamond sword item1.name: &3&oDiaxowy miecz item1.lore: &6Diaxowy miecz 5/2 item1.enchant: sharpness 5 item1.enchant2: fire aspect 2 item2: 64 diamonds item2.name: &8&ox64 &b&odiamenty item3: 8 ender pearl item3.name: &8&ox8 &3&operelki endermana item4: 1 diamond pickaxe item4.name: &3&oDiaxowy kilof item4.lore: &6Diaxowy kilof 5/3/3 item4.enchant: efficiency 5 item4.enchant2: unbreaking 3 item4.enchant3: fortune 3 item5: 1 beacon item5.name: &b&l&oBeacon item6: 1 ender chest item6.name: &5&oEnderchest item7: 1 iron sword item7.name: &7Zelazny miecz item8: 1 diamond helmet item8.name: &b&oDiaxowy helm item8.enchant: protection 4 item8.enchant2: unbreaking 3 item9: 1 diamond chestplate item9.name: &b&oDiaxowa klata item9.enchant: protection 4 item9.enchant2: unbreaking 3 item10: 1 diamond leggings item10.name: &b&oDiaxowe spodnie item10.enchant: protection 4 item10.enchant2: unbreaking 3 item11: 1 diamond boots item11.name: &b&oDiaxowe buty item11.enchant: protection 4 item11.enchant2: unbreaking 3 item12: 3 dragon egg item12.name: &8&o3x &5&l&oPandora item13: 1 bow item13.name: &8&oLuk &d&opunch 2 item13.enchant: punch 2 item14: 64 emeralds item14.name: &8&ox64 &2&oEmeraldy command /pandora [] []: permission: {@permission} permission message: {@permissionMessage} trigger: if arg 1 is set: if arg 2 is set: if arg 1 is online: loop arg 2 times: give 1 dragon egg named "{@Pandora.named}" with lore "{@Pandora.lore1}||{@Pandora.lore2}" to the argument 1 else: send "{@noOnline}" else: send "{@noArguments}" else: send "{@noArguments}" command /pandoraall []: trigger: if arg 1 is set: loop arg 1 times: give 1 dragon egg named "{@Pandora.named}" with lore "{@Pandora.lore1}||{@Pandora.lore2}" to all players else: send "{@noArguments.all}" on place dragon egg: if player's tool is dragon egg named "{@Pandora.named}" with lore "{@Pandora.lore1}||{@Pandora.lore2}": remove 1 dragon egg from player's inventory set block to air add {@Items1} to {items::*} add {@Items2} to {items::*} add {@Items3} to {items::*} add {@Items4} to {items::*} add {@Items5} to {items::*} add {@Items6} to {items::*} add {@Items7} to {items::*} add {@Items8} to {items::*} add {@Items9} to {items::*} add {@Items10} to {items::*} add {@Items11} to {items::*} add {@Items12} to {items::*} add {@Items13} to {items::*} add {@Items14} to {items::*} set {_item} to a random item out of {items::*} wait 1 tick open chest with 6 row named "{@chestName}" to player format slot 0 of player with purple glass named "&5##" to be unstealable format slot 1 of player with magenta glass named "&d##" to be unstealable format slot 2 of player with purple glass named "&5##" to be unstealable format slot 3 of player with magenta glass named "&d##" to be unstealable format slot 4 of player with purple glass named "&5##" to be unstealable format slot 5 of player with magenta glass named "&d##" to be unstealable format slot 6 of player with purple glass named "&5##" to be unstealable format slot 7 of player with magenta glass named "&d##" to be unstealable format slot 8 of player with purple glass named "&5##" to be unstealable format slot 9 of player with magenta glass named "&d##" to be unstealable format slot 10 of player with purple glass named "&5##" to be unstealable format slot 11 of player with magenta glass named "&d##" to be unstealable format slot 12 of player with purple glass named "&5##" to be unstealable format slot 14 of player with purple glass named "&5##" to be unstealable format slot 15 of player with magenta glass named "&d##" to be unstealable format slot 16 of player with purple glass named "&5##" to be unstealable format slot 17 of player with magenta glass named "&d##" to be unstealable format slot 18 of player with purple glass named "&5##" to be unstealable format slot 19 of player with magenta glass named "&d##" to be unstealable format slot 20 of player with purple glass named "&5##" to be unstealable format slot 21 of player with magenta glass named "&d##" to be unstealable format slot 22 of player with purple glass named "&5##" to be unstealable format slot 23 of player with magenta glass named "&d##" to be unstealable format slot 24 of player with purple glass named "&5##" to be unstealable format slot 25 of player with magenta glass named "&d##" to be unstealable format slot 26 of player with purple glass named "&5##" to be unstealable format slot 27 of player with purple glass named "&5##" to be unstealable format slot 35 of player with purple glass named "&5##" to be unstealable format slot 36 of player with purple glass named "&5##" to be unstealable format slot 44 of player with purple glass named "&5##" to be unstealable format slot 45 of player with purple glass named "&5##" to be unstealable format slot 46 of player with purple glass named "&5##" to be unstealable format slot 47 of player with purple glass named "&5##" to be unstealable format slot 48 of player with purple glass named "&5##" to be unstealable format slot 49 of player with purple glass named "&5##" to be unstealable format slot 50 of player with purple glass named "&5##" to be unstealable format slot 51 of player with purple glass named "&5##" to be unstealable format slot 52 of player with purple glass named "&5##" to be unstealable format slot 53 of player with purple glass named "&5##" to be unstealable format slot 28 of player with {@item1} of {@item1.enchant} and {@item1.enchant2} named "{@item1.name}" with lore "{@item1.lore}" to be unstealable format slot 29 of player with {@item2} named "{@item2.name}" to be unstealable format slot 30 of player with {@item3} named "{@item3.name}" to be unstealable format slot 31 of player with {@item4} of {@item4.enchant} and {@item4.enchant2} and {@item4.enchant3} named "{@item4.name}" with lore "{@item4.lore}" to be unstealable format slot 32 of player with {@item5} named "{@item5.name}" to be unstealable format slot 33 of player with {@item6} named "{@item6.name}" to be unstealable format slot 34 of player with {@item7} named "{@item7.name}" to be unstealable format slot 37 of player with {@item8} of {@item8.enchant} and {@item8.enchant2} named "{@item8.name}" to be unstealable format slot 38 of player with {@item9} of {@item9.enchant} and {@item9.enchant2} named "{@item9.name}" to be unstealable format slot 39 of player with {@item10} of {@item10.enchant} and {@item10.enchant2} named "{@item10.name}" to be unstealable format slot 40 of player with {@item11} of {@item11.enchant} and {@item11.enchant2} named "{@item11.name}" to be unstealable format slot 41 of player with {@item12} named "{@item12.name}" to be unstealable format slot 42 of player with {@item13} of {@item13.enchant} named "{@item13.name}" to be unstealable format slot 43 of player with {@item14} named "{@item14.name}" to be unstealable wait 1 tick set slot 13 of player's current inventory to {_item} command /v []: permission: core.vanish permission message: &8» &cBrak uprawnien!! aliases: vanish trigger: if {v::%player%} is not set: set {v::%player%} to true strike lightning effect at player send "&8» &7Jestes &cNIEWIDZIALNY" loop all players: if loop-player don't have permission "core.vanish.seevanished": add loop-player to {_g::*} hide player from {_g::*} stop if {v::%player%} is set: clear {v::%player%} strike lightning effect at player send "&8» &7Jestes &cWIDZIALNY" reveal player to all players stop command /msg [] []: trigger: if arg 1 is not set: send "&8» &cPoprawne uzycie: &7/msg [gracz] [wiadomosc]" if offlineplayer-arg is online: if arg 2 is set: send "&8[&cJa &c-> &c%arg 1%&8] &b%arg 2%" send "&8[&c%player% &c-> &cJa&8] &b%arg 2%" to offlineplayer-arg 1 else: send "&8» &cPodaj &7Wiadomosc!" stop else: send "&cTen gracz jest &7offline!" command /kotcore []: trigger: send "&7Ten serwer uzywa &cKOTCORE &7napisanego przez &cKOT &7aka &cxwindows_" send "&7Wersja core: &c1.0" on right click with tnt: if name of player's tool is "&4Rzucane TNT": if player's gamemode is creative: add 1 to {rzucaki.%player%} shoot tnt with speed 1 else: remove 1 tnt named "&4Rzucane TNT" from player shoot tnt with speed 1 add 1 to {rzucaki.%player%} on place tnt: if name of player's tool is "&4Rzucane TNT": cancel event command /rzucakgive []: trigger: give 1 tnt named "&4Rzucane TNT" to player-arg #delay perly on rightclick holding an ender pearl: if {enderPearlLastUse::%player%} is not set: set {enderPearlLastUse::%player%} to now stop if difference between {enderPearlLastUse::%player%} and now >= 15 seconds: set {enderPearlLastUse::%player%} to now else: cancel event execute console command "/tm message %player% &8* &6&lPerla &8*\n&7Perłe możesz rzucić za %difference between (difference between {enderPearlLastUse::%player%} and now) and 15 seconds% " on join: set join message to "" on quit: set quit message to ""