#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% " command /efekty []: trigger: if arg 1 is not set: wait 1 tick teleport player to player open chest with 1 rows named "&bEfekty" to player format slot 0 of player with 1 of 373:8194 named "&bSzybkosc" with lore "&3Czas trwania: &b2 minuty||&3Koszt: &b4 bloki szmaragdow" to run [make player execute command "efekty speed"] format slot 3 of player with 1 of 373:8195 named "&bOdpornosc na ogien" with lore "&3Czas trwania: &b4 minuty||&3Koszt: &b8 blokow szmaragdow" to run [make player execute command "efekty fire"] format slot 4 of player with 1 of 285 named "&bSzybkie kopanie" with lore "&3Czas trwania: &b3 minuty||&3Koszt: &b16 blokow szmaragdow" to run [make player execute command "efekty kopanie"] format slot 5 of player with 1 of 373:8270 named "&bNiewidzialnosc" with lore "&3Czas trwania: &b2 minuty||&3Koszt: &b16 blokow szmaragdow" to run [make player execute command "efekty in"] format slot 8 of player with 1 of 373:8193 named "&bRegeneracja" with lore "&3Czas trwania: &b2 minuty||&3Koszt: &b7 blokow szmaragdow" to run [make player execute command "efekty reg"] if arg 1 is "speed": if player has 4 emerald block: remove speed from player apply speed potion of tier 1 to the player for 120 second remove 4 emerald block from player's inventory send "&b%player% &3zakupil efekt &bSzybkosci" else: send "&cNie posiadasz wystarczajacej ilosci szmaragdow aby zakupic ten efekt" if arg 1 is "fire": if player has 8 emerald block: remove fire resistance from player apply fire resistance potion of tier 1 to the player for 240 second remove 8 emerald block from player's inventory send "&b%player% &3zakupil efekt &bOdpornosci na ogien" else: send "&cNie posiadasz wystarczajacej ilosci szmaragdow aby zakupic ten efekt" if arg 1 is "kopanie": if player has 16 emerald block: remove haste from player apply haste potion of tier 1 to the player for 180 second remove 16 emerald block from player's inventory send "&b%player% &3zakupil efekt &bSzybkie kopanie" else: send "&cNie posiadasz wystarczajacej ilosci szmaragdow aby zakupic ten efekt" if arg 1 is "in": if player has 16 emerald block: remove invisibility from player apply invisibility potion of tier 1 to the player for 120 second remove 16 emerald block from player's inventory send "&b%player% &3zakupil efekt &bNiewidzialnosci" else: send "&cNie posiadasz wystarczajacej ilosci szmaragdow aby zakupic ten efekt" if arg 1 is "reg": if player has 7 emerald block: remove regeneration from player apply regeneration potion of tier 1 to the player for 120 second remove 7 emerald block from player's inventory send "&b%player% &3zakupil efekt &bRegeneracji" else: send "&cNie posiadasz wystarczajacej ilosci szmaragdow aby zakupic ten efekt" command /efekt []: trigger: if arg 1 is not set: wait 1 tick teleport player to player open chest with 1 rows named "&bEfekty" to player format slot 0 of player with 1 of 373:8194 named "&bSzybkosc" with lore "&3Czas trwania: &b2 minuty||&3Koszt: &b4 bloki szmaragdow" to run [make player execute command "efekty speed"] format slot 3 of player with 1 of 373:8195 named "&bOdpornosc na ogien" with lore "&3Czas trwania: &b4 minuty||&3Koszt: &b8 blokow szmaragdow" to run [make player execute command "efekt fire"] format slot 4 of player with 1 of 285 named "&bSzybkie kopanie" with lore "&3Czas trwania: &b3 minuty||&3Koszt: &b16 blokow szmaragdow" to run [make player execute command "efekt kopanie"] format slot 5 of player with 1 of 373:8270 named "&bNiewidzialnosc" with lore "&3Czas trwania: &b2 minuty||&3Koszt: &b16 blokow szmaragdow" to run [make player execute command "efekt in"] format slot 8 of player with 1 of 373:8193 named "&bRegeneracja" with lore "&3Czas trwania: &b2 minuty||&3Koszt: &b7 blokow szmaragdow" to run [make player execute command "efekt reg"] if arg 1 is "speed": if player has 4 emerald block: remove speed from player apply speed potion of tier 1 to the player for 120 second remove 4 emerald block from player's inventory send "&b%player% &3zakupil efekt &bSzybkosci" else: send "&cNie posiadasz wystarczajacej ilosci szmaragdow aby zakupic ten efekt" if arg 1 is "fire": if player has 8 emerald block: remove fire resistance from player apply fire resistance potion of tier 1 to the player for 240 second remove 8 emerald block from player's inventory send "&b%player% &3zakupil efekt &bOdpornosci na ogien" else: send "&cNie posiadasz wystarczajacej ilosci szmaragdow aby zakupic ten efekt" if arg 1 is "kopanie": if player has 16 emerald block: remove haste from player apply haste potion of tier 1 to the player for 180 second remove 16 emerald block from player's inventory send "&b%player% &3zakupil efekt &bSzybkie kopanie" else: send "&cNie posiadasz wystarczajacej ilosci szmaragdow aby zakupic ten efekt" if arg 1 is "in": if player has 16 emerald block: remove invisibility from player apply invisibility potion of tier 1 to the player for 120 second remove 16 emerald block from player's inventory send "&b%player% &3zakupil efekt &bNiewidzialnosci" else: send "&cNie posiadasz wystarczajacej ilosci szmaragdow aby zakupic ten efekt" if arg 1 is "reg": if player has 7 emerald block: remove regeneration from player apply regeneration potion of tier 1 to the player for 120 second remove 7 emerald block from player's inventory send "&b%player% &3zakupil efekt &bRegeneracji" else: send "&cNie posiadasz wystarczajacej ilosci szmaragdow aby zakupic ten efekt" on first join: set player's gamemode to survival command /gamemode []: permission: kot.gm permission message: &c&lBrak uprawnień trigger: if arg 1 is not set: send " " send "&8x &7Podaj poprawny tryb gry" send " " if arg 1 is not "0" or "1" or "2" or "3" or "s" or "c" or "a" or "sp": send " " send "&8x &7Podaj poprawny tryb gry" send " " if arg 1 is "0" or "s": send " " send "&8x &7Twoj tryb gry zostal zmieniony na &6SURVIVAL" send " " set player's gamemode to survival if arg 1 is "1" or "c": send " " send "&8x &7Twoj tryb gry zostal zmieniony na &6CREATIVE" send " " set player's gamemode to creative if arg 1 is "2" or "a": send " " send "&8x &7Twoj tryb gry zostal zmieniony na &6ADVENTURE" send " " set player's gamemode to adventure if arg 1 is "3" or "sp": send " " send "&8x &7Twoj tryb gry zostal zmieniony na &6SPECTATOR" send " " execute console command "minecraft:gamemode spectator %player%" command /check [] [] []: permission: sprawdzanie permission: &6&l[SPRAWDZANIE] &4&lNie posiadasz wystarczajacych uprawnien. trigger: if arg 1 is "sprawdz": if arg 2 is set: if arg 3 is set: if {sprawdzanie::%arg-player%} is not set: set {miejsceprzed::%arg-player%} to location of arg-player wait 10 tick teleport arg-player to {sprawdzanie} set {sprawdzanie::%arg-player%} to true broadcast "&6&l[SPRAWDZANIE]" broadcast "&4&lGracz %arg-player% jest sprawdzany" broadcast "&4&lPrzez: %player%" broadcast "&4&lPowod: %arg-3%" broadcast "&4&lLogout = Perm" broadcast "&4&lPrzyznanie sie = 3 dni bana." else: send "&6&l[SPRAWDZANIE] &4&lTen gracz jest juz sprawdzany." else: send "&6&l[SPRAWDZANIE] &4&lPodaj powod." else: send "&6&l[SPRAWDZANIE] &4&lPodaj gracza." if arg 1 is "ban": if arg 2 is set: if arg 3 is set: if {sprawdzanie::%arg-player%} is set: clear {sprawdzanie::%arg-player%} clear {miejsceprzed::%arg-player%} make console execute command "ban %arg-player% %arg-3%" else: send "&6&l[SPRAWDZANIE] &4&lTen gracz nie jest sprawdzany." else: send "&6&l[SPRAWDZANIE] &4&lPodaj powod." else: send "&6&l[SPRAWDZANIE] &4&lPodaj gracza." if arg 1 is "czysty": if arg 2 is set: if {sprawdzanie::%arg-player%} is set: clear {sprawdzanie::%arg-player%} teleport arg-player to {miejsceprzed::%arg-player%} clear {miejsceprzed::%arg-player%} broadcast "&6&l[SPRAWDZANIE] &4&lGracz %arg-player% jest czysty." else: send "&6&l[SPRAWDZANIE] &4&lTen gracz nie jest spradzany." else: send "&6&l[SPRAWDZANIE] &4&lPodaj gracza." if arg 1 is "przyznanie": if arg 2 is set: if {sprawdzanie::%arg-player%} is set: clear {sprawdzanie::%arg-player%} clear {miejsceprzed::%arg-player%} make console execute command "tempban %arg-player% 3d Przyznanie sie do cheatow" broadcast "&6&l[SPRAWDZANIE] &4&lGracz %arg-player% przyznal sie do uzywania cheatow." else: send "&6&l[SPRAWDZANIE] &4&lTen gracz nie jest spradzany." else: send "&6&l[SPRAWDZANIE] &4&lPodaj gracza." if arg 1 is "ustaw": if player have permission "kot.admin": set {sprawdzanie} to location of player send "&6&l[SPRAWDZANIE] &4&lMiejce sprawdzania zostalo ustawione." if arg 1 is not set: send "&6&l[POMOC]:" send "&4&l/sp sprawdz " send "&4&l/sp czysty " send "&4&l/sp przyznanie " send "&4&l/sp ban " on quit: if {sprawdzanie::%player%} is set: clear {sprawdzanie::%player%} clear {miejsceprzed::%player%} make console execute command "ban %player% Logout podczas sprawdzania." on command: if {sprawdzanie::%player%} is set: cancel event send "&cNie mozesz uzywac komend podczas sprawdzania." on join: set join message to "" on quit: set quit message to ""