#Core skryptów Norbiego ;) # (Ja je złączałem) #Prosze nie usuwać praw autorskich skryptów i nazw skryptów! ~Folks1337 #sdBase #Prawa autorskie sdBase zastrzeżone do Norbi i tropereks! ~Folks1337 #────────────────────────────────────────────────────────────────────────────────────── #─██████──────────██████─██████████████───██████████████─██████████████─██████████████─ #─██░░██████████──██░░██─██░░░░░░░░░░██───██░░░░░░░░░░██─██░░░░░░░░░░██─██░░░░░░░░░░██─ #─██░░░░░░░░░░██──██░░██─██░░██████░░██───██░░██████░░██─██░░██████████─██░░██████████─ #─██░░██████░░██──██░░██─██░░██──██░░██───██░░██──██░░██─██░░██─────────██░░██───────── #─██░░██──██░░██──██░░██─██░░██████░░████─██░░██████░░██─██░░██████████─██░░██████████─ #─██░░██──██░░██──██░░██─██░░░░░░░░░░░░██─██░░░░░░░░░░██─██░░░░░░░░░░██─██░░░░░░░░░░██─ #─██░░██──██░░██──██░░██─██░░████████░░██─██░░██████░░██─██████████░░██─██░░██████████─ #─██░░██──██░░██████░░██─██░░██────██░░██─██░░██──██░░██─────────██░░██─██░░██───────── #─██░░██──██░░░░░░░░░░██─██░░████████░░██─██░░██──██░░██─██████████░░██─██░░██████████─ #─██░░██──██████████░░██─██░░░░░░░░░░░░██─██░░██──██░░██─██░░░░░░░░░░██─██░░░░░░░░░░██─ #─██████──────────██████─████████████████─██████──██████─██████████████─██████████████─ #────────────────────────────────────────────────────────────────────────────────────── # # Skrypt tworzą: # » Norbi # » tropereks # # Regulamin skryptu # » Zakaz podszywania się pod autora # » Zakaz usuwania informacji o autorze # » Zakaz zmieniania nazwy skryptu # » Zakaz udostępniania zmodyfikowanego skryptu # » Zakaz używania danych części kodu skryptu # # »»» Jeżeli chcesz się więcej dowiedzieć, napisz do Norbi'ego #────────────────────────────────────────────────────────────────────────────────────── command /nBase:nBase [] []: description: nBase » Glowna komenda skryptu. executable by: players aliases: nbase, skentials, ske, nb trigger: if arg 1 is not "autor" or "reload": send "&9==================================================" send " &7Uzyj: &6/nBase &7:" send " &9» &6autor &8-- &7Informacje o danym autorze." send " &9» &6reload &8-- &7Przeladowanie skryptu." send "&9==================================================" if arg 1 is "autor": if arg 2 is not "Norbi" or "tropereks": send "&7[&anBase&7] &9» &7Uzyj: &6/nBase autor " if arg 2 is "Norbi": send "&9==================================================" send " &7Autor: &6Norbi&7/&6norbi002&7/&6xNorbi" send " &9» &7Skype: &6super.norbi" send "&9==================================================" if arg 2 is "tropereks": send "&9==================================================" send " &7Autor: &6tropereks&7/&6tropek" send " &9» &7Skype: &6faldir2" send "&9==================================================" if arg 1 is "reload": if player has permission "nBase.reload" or "nBase.*": send "&7[&anBase&7] &9» &7Przeladowuje &6%script%&7..." execute player command "sk reload %script%" send "&7[&anBase&7] &9» &7Przeladowano &6%script%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.reload)" command /nBase:break: description: nBase » Niszczenie zaznaczonego bloku. executable by: players aliases: break trigger: if player has permission "nBase.break" or "nBase.*": if targeted block is not air: if targeted block is not bedrock: send "&7[&anBase&7] &9» &7Zniszczono blok: &6%targeted block%&7." set targeted block to air else: if player has permission "nBase.break.bedrock" or "nBase.*": send "&7[&anBase&7] &9» &7Zniszczono blok: &6%targeted block%&7." set targeted block to air else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.break.bedrock)" else: send "&7[&anBase&7] &9» &7Nie mozesz zniszczyc powietrza." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.break)" command /nBase:feed []: description: nBase » Nasycanie graczy. executable by: players aliases: feed trigger: if player has permission "nBase.feed" or "nBase.*": if arg 1 is not set: set player's food level to 10 send "&7[&anBase&7] &9» &7Nasycono gracza: &6%player%&7." else: if player has permission "nBase.feed.others" or "nBase.*": set arg 1's food level to 10 send "&7[&anBase&7] &9» &7Nasycono gracza: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.feed.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.feed)" command /nBase:gamemode [] []: description: nBase » Zmienianie trybu gry graczy. executable by: players aliases: gamemode, gm, bukkit:gamemode, minecraft:gamemode trigger: if player has permission "nBase.gamemode" or "nBase.*": if arg 1 is not "0" or "survival" or "s" or "1" or "creative" or "c" or "2" or "adventure" or "a": send "&7[&anBase&7] &9» &7Uzyj: &6/gamemode <0&7|&61&7|&62> [gracz]" if arg 1 is "0" or "survival" or "s": if arg 2 is not set: set player's gamemode to survival send "&7[&anBase&7] &9» &7Zmieniono tryb gry gracza: &6%player% &7na: &6survival&7." else: if player has permission "nBase.gamemode.others" or "nBase.*": set arg 2's gamemode to survival send "&7[&anBase&7] &9» &7Zmieniono tryb gry gracza: &6%arg 2% &7na: &6survival&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.gamemode.others)" if arg 1 is "1" or "creative" or "c": if arg 2 is not set: set player's gamemode to creative send "&7[&anBase&7] &9» &7Zmieniono tryb gry gracza: &6%player% &7na: &6creative&7." else: if player has permission "nBase.gamemode.others" or "nBase.*": set arg 2's gamemode to creative send "&7[&anBase&7] &9» &7Zmieniono tryb gry gracza: &6%arg 2% &7na: &6creative&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.gamemode.others)" if arg 1 is "2" or "adventure" or "a": if arg 2 is not set: set player's gamemode to adventure send "&7[&anBase&7] &9» &7Zmieniono tryb gry gracza: &6%player% &7na: &6adventure&7." else: if player has permission "nBase.gamemode.others" or "nBase.*": set arg 2's gamemode to adventure send "&7[&anBase&7] &9» &7Zmieniono tryb gry gracza: &6%arg 2% &7na: &6adventure&7&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.gamemode.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.gamemode)" command /nBase:god []: description: nBase » Wlaczanie|Wylaczanie niesmiertelnosci. executable by: players aliases: god trigger: if player has permission "nBase.god" or "nBase.*": if arg 1 is not set: if {nBase::god::%player%} is true: set {nBase::god::%player%} to false send "&7[&anBase&7] &9» &7Niesmiertelnosc: &cWYLACZONA&7." else: set {nBase::god::%player%} to true send "&7[&anBase&7] &9» &7Niesmiertelnosc: &aWLACZONA&7." else: if player has permission "nBase.god.others" or "nBase.*": if {nBase::god::%arg 1%} is true: set {nBase::god::%arg 1%} to false send "&7[&anBase&7] &9» &7Niesmiertelnosc gracza: &6%arg 1%&7: &cWYLACZONA&7." else: set {nBase::god::%arg 1%} to true send "&7[&anBase&7] &9» &7Niesmiertelnosc gracza: &6%arg 1%&7: &aWLACZONA&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.god.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.god)" command /nBase:hat: description: nBase » Zakladanie przemiotu na glowe. executable by: players aliases: hat trigger: if player has permission "nBase.hat" or "nBase.*": set {_o} to player's helmet set {_n} to player's tool set player's helmet to {_n} set player's tool to {_o} set {_} to player's helmet send "&7[&anBase&7] &9» &7Zalozono: &6%player's helmet%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.hat)" command /nBase:heal []: description: nBase » Uleczanie graczy. executable by: players aliases: heal trigger: if player has permission "nBase.heal" or "nBase.*": if arg 1 is not set: set player's food level to 10 heal player send "&7[&anBase&7] &9» &7Uleczono gracza: &6%player%&7." else: if player has permission "nBase.heal.others" or "nBase.*": set arg 1's food level to 10 heal arg 1 send "&7[&anBase&7] &9» &7Uleczono gracza: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.heal.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.heal)" command /nBase:repair []: description: nBase » Naprawianie wytrzymalosci przedmiotow. executable by: players aliases: repair, fix trigger: if player has permission "nBase.repair" or "nBase.*": if arg 1 is not "hand" or "all": send "&7[&anBase&7] &9» &7Uzyj: &6/repair " if arg 1 is "hand": repair player's tool send "&7[&anBase&7] &9» &7Naprawiono: &6%player's tool%&7." if arg 1 is "all": repair all items in player's inventory send "&7[&anBase&7] &9» &7Naprawiono: &6all&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.repair)" command /nBase:head []: description: nBase » Otrzymywanie glowy danego gracza. executable by: players aliases: head, skull trigger: if player has permission "nBase.head" or "nBase.*": if arg 1 is not set: give player's skull to player send "&7[&anBase&7] &9» &7Przywolano glowe gracza: &6%player%&7." else: give arg 1's skull to player send "&7[&anBase&7] &9» &7Przywolano glowe gracza: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.head)" command /nBase:time []: description: nBase » Ustawianie czasu na swiecie. executable by: players aliases: time, bukkit:time, minecraft:time trigger: if player has permission "nBase.time" or "nBase.*": if arg 1 is not "day" or "night": send "&7[&anBase&7] &9» &7Uzyj: &6/time " if arg 1 is "night": set world's time to 22:00 send "&7[&anBase&7] &9» &7Zmieniono czas na: &622:00&7." if arg 1 is "day": set world's time to 6:00 send "&7[&anBase&7] &9» &7Zmieniono czas na: &66:00&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.time)" command /nBase:getpos []: description: nBase » Otrzymywanie koordynatow graczy. executable by: players aliases: getpos trigger: if player has permission "nBase.getpos" or "nBase.*": if arg 1 is not set: send "&9==================================================" send " &7Koordynaty gracza: &6%player%" send " &9» &7X: &6%player's x-location%" send " &9» &7Y: &6%player's y-location%" send " &9» &7Z: &6%player's z-location%" send "&9==================================================" else: if player has permission "nBase.getpos.others": send "&9==================================================" send " &7Koordynaty gracza: &6%arg 1%" send " &9» &7X: &6%arg 1's x-location%" send " &9» &7Y: &6%arg 1's y-location%" send " &9» &7Z: &6%arg 1's z-location%" send "&9==================================================" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.getpos.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.getpos)" command /nBase:helpop []: description: nBase » Wysylanie wiadomosci do administracji. executable by: players aliases: helpop trigger: if player has permission "nBase.helpop" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/helpop " else: loop all players: loop-player has permission "nBase.helpop.receive" or "nBase.*": add 1 to {_} send "&b[HELPOP] &6%player%&7: %arg 1%" to loop-player {_} is not set: send "&7[&anBase&7] &9» &7Aktualnie nie ma nikogo obecnego z administracji." if player doesn't have permission "nBase.helpop.receive" or "nBase.*": send "&b[HELPOP] &6%player%&7: %arg 1%" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.helpop)" command /nBase:id: description: nBase » Sprawdzanie id itemu. executable by: players aliases: id, itemdb trigger: if player has permission "nBase.id" or "nBase.*": if player's tool is hand: send "&7[&anBase&7] &9» &7ID: &60&7." else: set {_} to data value of player's tool {_} is 0: send "&7[&anBase&7] &9» &7ID: &6%id of player's tool% &7(%player's tool%)" else: send "&7[&anBase&7] &9» &7ID: &6%id of player's tool%&7:&6%data value of player's tool%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.id)" command /nBase:list: description: nBase » Lista graczy na serwerze. executable by: players aliases: list, who, bukkit:list, bukkit:who, minecraft:list, minecraft:who trigger: if player has permission "nBase.list" or "nBase.*": open chest with 6 rows named "&aLista graczy: &7(%number of all players%)" to player loop all players: add 1 to {_} format slot {_}-1 of player with 1 of head:3 named "&f%loop-player%" to be unstealable else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.list)" command /nBase:me []: description: nBase » Wysyla specjalna wiadomosc do wszystkich. executable by: players aliases: me, bukkit:me, minecraft:me trigger: if player has permission "nBase.me" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/me " else: if player has permission "nBase.me.color" or "nBase.*": broadcast "&b[MYSELF] &6%player%&7: %colored arg 1%" else: broadcast "&b[MYSELF] &6%player%&7: %arg 1%" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.me)" command /nBase:message [] []: description: nBase » Wysylanie prywatnych wiadomosci do graczy. executable by: players aliases: message, msg, m, t, tell, whisper, whispers, bukkit:msg, bukkit:m, bukkit:t, bukkit:tell, bukkit:whisper, bukkit:whispers, minecraft:msg, minecraft:m, minecraft:t, minecraft:tell, minecraft:whisper, minecraft:whispers trigger: if player has permission "nBase.message" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/msg " else: if arg 2 is set: if player has permission "nBase.message.color" or "nBase.*": send "&b[MSG] &7[&6Ja &7» &6%arg 1%&7] &7%colored arg 2%" send "&b[MSG] &7[&6%player% &7» &6Ja&7] &7%colored arg 2%" to arg 1 else: send "&b[MSG] &7[&6Ja &7» &6%arg 1%&7] &7%arg 2%" send "&b[MSG] &7[&6%player% &7» &6Ja&7] &7%arg 2%" to arg 1 else: send "&7[&anBase&7] &9» &7Uzyj: &6/msg " else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.message)" command /nBase:nick [] []: description: nBase » Zmiana serwerowego przezwiska. executable by: players aliases: nick, displayname trigger: if player has permission "nBase.nick" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/nick " send "&7[&anBase&7] &9» &7Aby przywrocic swoja zwykla nazwe uzyj: &6/nick -off&7." else: if arg 1 is not "-off": if arg 2 is not set: set player's display name to "%colored arg 1%" set player's tablist name to "%colored arg 1%" send "&7[&anBase&7] &9» &7Nowe przezwisko gracza: &6%player% &7to &6%colored arg 1%&7." else: if player has permission "nBase.nick.others" or "nBase.*": set arg 2's display name to "%colored arg 1%" set arg 2's tablist name to "%colored arg 1%" send "&7[&anBase&7] &9» &7Nowe przezwisko gracza: &6%arg 2% &7to &6%colored arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.nick.others)" else: if arg 2 is not set: set player's display name to "%player%" set player's tablist name to "%player%" send "&7[&anBase&7] &9» &7Nowe przezwisko gracza: &6%player% &7to &6%player%&7." else: if player has permission "nBase.nick.others" or "nBase.*": set arg 2's display name to "%arg 2%" set arg 2's tablist name to "%arg 2%" send "&7[&anBase&7] &9» &7Nowe przezwisko gracza: &6%arg 2% &7to &6%colored arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.nick.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.nick)" command /nBase:whois []: description: nBase » Sprawdzanie informacji o danym graczus. executable by: players aliases: whois trigger: if player has permission "nBase.whois": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/whois " else: set {_} to {nBase::god::%arg 1%} {_} is "true": set {_} to "&aWLACZONA" else: set {_} to "&cWYLACZONA" send "&9==================================================" send " &7Gracz: &6%arg 1%" send " &9» &7Niesmiertelnosc: &6%{_}%" send " &9» &7IP: &6%arg 1's ip%" send " &9» &7Gamemode: &6%arg 1's gamemode%" send " &9» &7Przezwisko: &6%arg 1's display name%" send " &9» &7Poziom: &6%arg 1's level%" send " &9» &7Progres poziomu: &6%arg 1's level progress%" send " &9» &7Zycie: &6%arg 1's health%" send " &9» &7Najedzenie: &6%arg 1's food level%" send " &9» &7Lokacja:" send " &9* &7X: &6%arg 1's x-location%" send " &9* &7Y: &6%arg 1's y-location%" send " &9* &7Z: &6%arg 1's z-location%" send "&9==================================================" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.whois)" command /nBase:antioch: description: nBase » Strzelanie TNT. executable by: players aliases: antioch, grenade, granade, tnt trigger: if player has permission "nBase.antioch" or "nBase.*": shoot a tnt from player at speed 1.2 send "&7[&anBase&7] &9» &7Wystrzelono tnt." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.antioch)" command /nBase:broadcast []: description: nBase » Ogloszenie. executable by: players aliases: broadcast, bc, say, bukkit:say trigger: if player has permission "nBase.broadcast" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/broadcast " else: broadcast "&b[BROADCAST] &6%colored arg 1%" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.broadcast)" command /nBase:burn []: description: nBase » Podpalanie graczy. executable by: players aliases: burn, fire trigger: if player has permission "nBase.burn" or "nBase.*": if arg 1 is not set: ignite player send "&7[&anBase&7] &9» &7Podpalono gracza: &6%player%&7." else: if player has permission "nBase.burn.others" or "nBase.*": ignite arg 1 send "&7[&anBase&7] &9» &7Podpalono gracza: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.burn.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.burn)" command /nBase:clearinventory []: description: nBase » Czyszczenie ekwipunku. executable by: players aliases: clearinventory, clear, ci, bukkit:clear, minecraft:clear trigger: if player has permission "nBase.clearinventory" or "nBase.*": if arg 1 is not set: clear player's inventory send "&7[&anBase&7] &9» &7Wyczyszczono ekwipunek gracza: &6%player%&7." else: if player has permission "nBase.clearinventory.others" or "nBase.*": clear arg 1's inventory send "&7[&anBase&7] &9» &7Wyczyszczono ekwipunek gracza: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.clearinventory.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.clearinventory)" command /nBase:enderchest []: description: nBase » Otwieranie skrzyni kresu graczy. executable by: players aliases: enderchest, endersee, echest trigger: if player has permission "nBase.enderchest" or "nBase.*": if arg 1 is not set: open player's enderchest for player send "&7[&anBase&7] &9» &7Otworzono skrzynie kresu gracza: &6%player%&7." else: if player has permission "nBase.enderchest.others" or "nBase.*": open arg 1's enderchest for player send "&7[&anBase&7] &9» &7Otworzono skrzynie kresu gracza: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.enderchest.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.enderchest)" command /nBase:fireball: description: nBase » Strzelanie kula ghasta. executable by: players aliases: fireball, fb trigger: if player has permission "nBase.fireball" or "nBase.*": shoot a fireball from player at speed 1.2 send "&7[&anBase&7] &9» &7Wystrzelono kule ghasta." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.fireball)" command /nBase:inventory []: description: nBase » Otwieranie ekwipunku graczy. executable by: players aliases: inventory, invsee, openinv, oi trigger: if player has permission "nBase.inventory" or "nBase.*": if arg 1 is not set: open player's inventory for player send "&7[&anBase&7] &9» &7Otworzono ekwipunek gracza: &6%player%&7." else: if player has permission "nBase.inventory.others" or "nBase.*": open arg 1's inventory for player send "&7[&anBase&7] &9» &7Otworzono ekwipunek gracza: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.inventory.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.inventory)" command /nBase:kick [] []: description: nBase » Wyrzucanie graczy z serwera. executable by: players aliases: kick trigger: if player has permission "nBase.kick" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/kick [powod]" else: if arg 2 is not set: kick arg 1 due to "&6Zostales wyrzucony z serwera. &7(Admin: &6%player%&7)" broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &7wyrzucil gracza: &6%arg 1%&7." else: kick arg 1 due to "&6%colored arg 2% &7(Admin: &6%player%&7)" broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &7wyrzucil gracza: &6%arg 1% &7za: &6%colored arg 2%" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.kick)" command /nBase:kickall []: description: nBase » Wyrzucanie wszystkich graczy z serwera. executable by: players aliases: kick trigger: if player has permission "nBase.kickall" or "nBase.*": if arg 1 is not set: loop all players: loop-player doesn't have permission "nBase.kickall" or "nBase.kickall.exempt" or "nBase.*": kick loop-player due to "&7Zostales wyrzucony z serwera. &7(Admin: &6%player%&7)" broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &7wyrzucil &6wszystkich graczy&7." else: loop all players: loop-player doesn't have permission "nBase.kickall" or "nBase.kickall.exempt" or "nBase.*": kick loop-player due to "&6%colored arg 1% &7(Admin: &6%player%&7)" broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &7wyrzucil &6wszystkich graczy &7za &6%colored arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.kickall)" command /nBase:kill []: description: nBase » Zabijanie graczy. executable by: players aliases: kill trigger: if player has permission "nBase.kill" or "nBase.*": if arg 1 is not set: kill player send "&7[&anBase&7] &9» &7Zabito gracza: &6%player%&7." else: if player has permission "nBase.kill.others" or "nBase.*": kill arg 1 send "&7[&anBase&7] &9» &7Zabito gracza: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.kill.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.kill)" command /nBase:lightning []: description: nBase » Strzelanie piorunem w graczy. executable by: players aliases: lightning, light, thor, strike, smite trigger: if player has permission "nBase.lightning" or "nBase.*": if arg 1 is not set: if targeted block is not air: strike lightning at targeted block's location send "&7[&anBase&7] &9» &7Strzelono piorunem w: &6%targeted block%&7." else: send "&7[&anBase&7] &9» &7Nie mozesz strzelic piorunem w powietrze." else: if player has permission "nBase.strike.others" or "nBase.*": strike lightning at arg 1 send "&7[&anBase&7] &9» &7Strzelono piorunem w gracza: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.lightning.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.lightning)" command /nBase:spawnmob [] []: description: nBase » Spawnowanie mobow. executable by: players aliases: spawnmob, smob, sm trigger: if player has permission "nBase.spawnmob" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/spawnmob [ilosc]" else: set {_} to value "numbers.spawnmob" get of "plugins/Skript/scripts/nBase/config.yml" if arg 2 is bigger than {_}: if player has permission "nBase.spawnmob.exempt" or "nBase.*": set {_n} to arg 2 set {_m} to arg 1 spawn {_n} of {_m} above targeted block send "&7[&anBase&7] &9» &7Zespawnowano &6%{_n}% %{_m}%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.spawnmob.exempt)" else: set {_n} to arg 2 set {_m} to arg 1 spawn {_n} of {_m} above targeted block send "&7[&anBase&7] &9» &7Zespawnowano &6%{_n}% %{_m}%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.spawnmob)" command /nBase:setspawn: description: nBase » Ustawianie miejsca spawnu. executable by: players aliases: setspawn, ss trigger: if player has permission "nBase.setspawn" or "nBase.*": set {nBase::spawn} to location of player send "&7[&anBase&7] &9» &7Ustawiono miejsce spawnu." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.setspawn)" command /nBase:spawn: description: nBase » Teleportacja na spawn. executable by: players aliases: spawn trigger: if player has permission "nBase.spawn" or "nBase.*": if {nBase::spawn} is set: if player doesn't have permission "nBase.spawn.exempt" or "nBase.*": set {_} to value "numbers.teleport" get of "plugins/Skript/scripts/nBase/config.yml" set {_x.%player%} to x-location of player set {_z.%player%} to z-location of player set {_y.%player%} to y-location of player send "&7[&anBase&7] &9» &7Teleportacja na spawn za &6%{_}% sek&7. Nie mozesz sie ruszac." loop {_} times: if difference between x-location of player and {_x.%player%} is bigger than 0.5: send "&7[&anBase&7] &9» &7Ruszyles sie, teleportacja zostala przerwana." stop if difference between z-location of player and {_z.%player%} is bigger than 0.5: send "&7[&anBase&7] &9» &7Ruszyles sie, teleportacja zostala przerwana." stop if difference between y-location of player and {_y.%player%} is bigger than 0.5: send "&7[&anBase&7] &9» &7Ruszyles sie, teleportacja zostala przerwana." stop remove 1 from {_} if {_} is 0: teleport player to {nBase::spawn} send "&7[&anBase&7] &9» &7Zostales przeniesiony na spawn." stop wait 1 second stop else: teleport player to {nBase::spawn} send "&7[&anBase&7] &9» &7Zostales przeniesiony na spawn." else: send "&7[&anBase&7] &9» &7Spawn nie zostal ustawiony. Skontaktuj sie z administratorem." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.spawn)" command /nBase:back: description: nBase » Powracanie na miejsce ostatniego zgonu. executable by: players aliases: back trigger: if player has permission "nBase.back" or "nBase.*": if {nBase::back::%player%} is set: teleport player to {nBase::back::%player%} send "&7[&anBase&7] &9» &7Przeteleportowano do miejsca ostatniego zgonu." else: send "&7[&anBase&7] &9» &7Twoje miejsce smierci nie zostalo zapisane." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.back)" command /nBase:delhome: description: nBase » Usuwanie miejsca swojego domu. executable by: players aliases: delhome, deletehome, remhome, removehome trigger: if player has permission "nBase.delhome" or "nBase.*": if {nBase::home::%player%} is set: delete {nBase::home::%player%} send "&7[&anBase&7] &9» &7Usunieto miejsce twojego domu." else: send "&7[&anBase&7] &9» &7Miejsce twojego domu nie zostalo ustawione." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.delhome)" command /nBase:sethome: description: nBase » Ustawianie miejsca swojego domu. executable by: players aliases: sethome, createhome, crehome trigger: if player has permission "nBase.sethome" or "nBase.*": set {nBase::home::%player%} to location of player send "&7[&anBase&7] &9» &7Ustawiono miejsce swojego domu." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.sethome)" command /nBase:home: description: nBase » Teleportacja do miejsca swojego domu. executable by: players aliases: home trigger: if player has permission "nBase.home" or "nBase.*": if {nBase::home::%player%} is set: if player doesn't have permission "nBase.home.exempt" or "nBase.*": set {_} to value "numbers.teleport" get of "plugins/Skript/scripts/nBase/config.yml" set {_x.%player%} to x-location of player set {_z.%player%} to z-location of player set {_y.%player%} to y-location of player send "&7[&anBase&7] &9» &7Teleportacja do miejsca swojego domu za &6%{_}% sek&7. Nie mozesz sie ruszac." loop {_} times: if difference between x-location of player and {_x.%player%} is bigger than 0.5: send "&7[&anBase&7] &9» &7Ruszyles sie, teleportacja zostala przerwana." stop if difference between z-location of player and {_z.%player%} is bigger than 0.5: send "&7[&anBase&7] &9» &7Ruszyles sie, teleportacja zostala przerwana." stop if difference between y-location of player and {_y.%player%} is bigger than 0.5: send "&7[&anBase&7] &9» &7Ruszyles sie, teleportacja zostala przerwana." stop remove 1 from {_} if {_} is 0: teleport player to {nBase::home::%player%} send "&7[&anBase&7] &9» &7Zostales przeniesiony do miejsca swojego domu." stop wait 1 second stop else: teleport player to {nBase::home::%player%} send "&7[&anBase&7] &9» &7Zostales przeniesiony do miejsca swojego domu." else: send "&7[&anBase&7] &9» &7Twoje miejsce domu nie zostalo ustawione." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.home)" command /nBase:delwarp []: description: nBase » Usuwanie warpu. executable by: players aliases: delwarp, deletewarp, remwarp, removewarp trigger: if player has permission "nBase.delwarp" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/delwarp " else: if {nBase::warp::%arg 1%} is set: delete {nBase::warp::%arg 1%} remove arg 1 from {nBase::warps::*} send "&7[&anBase&7] &9» &7Usunieto warp: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &7Nie znaleziono takiego warpa." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.delwarp)" command /nBase:setwarp []: description: nBase » Ustawianie warpu. executable by: players aliases: setwarp, createwarp, crewarp trigger: if player has permission "nBase.setwarp" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/setwarp " else: set {nBase::warp::%arg 1%} to location of player remove arg 1 from {nBase::warps::*} add arg 1 to {nBase::warps::*} send "&7[&anBase&7] &9» &7Ustawiono warp: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.setwarp)" command /nBase:warp []: description: nBase » Teleportacja do warpu. executable by: players aliases: warp trigger: if player has permission "nBase.warp" or "nBase.*": if arg 1 is set: if {nBase::warp::%arg 1%} is set: if player doesn't have permission "nBase.warp.exempt" or "nBase.*": set {_} to single value "numbers.teleport" get of "plugins/Skript/scripts/nBase/config.yml" set {_x.%player%} to x-location of player set {_z.%player%} to z-location of player set {_y.%player%} to y-location of player send "&7[&anBase&7] &9» &7Teleportacja do na warp &6%arg 1% &7za &6%{_}% sek&7. Nie mozesz sie ruszac." loop {_} times: if difference between x-location of player and {_x.%player%} is bigger than 0.5: send "&7[&anBase&7] &9» &7Ruszyles sie, teleportacja zostala przerwana." stop if difference between z-location of player and {_z.%player%} is bigger than 0.5: send "&7[&anBase&7] &9» &7Ruszyles sie, teleportacja zostala przerwana." stop if difference between y-location of player and {_y.%player%} is bigger than 0.5: send "&7[&anBase&7] &9» &7Ruszyles sie, teleportacja zostala przerwana." stop remove 1 from {_} if {_} is 0: teleport player to {nBase::warp::%arg 1%} send "&7[&anBase&7] &9» &7Zostales przeniesiony do warpu: &6%arg 1%&7." stop wait 1 second stop else: teleport player to {nBase::warp::%arg 1%} send "&7[&anBase&7] &9» &7Zostales przeniesiony do warpu: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &7Warp: &6%arg 1% &7nie zostal ustawiony." else: send "&7[&anBase&7] &9» &7Uzyj: &6/warp " if player has permission "nBase.warp.list" or "nBase.*": if {nBase::warps::*} is set: send "&7[&anBase&7] &9» &7Warpy: &6%{nBase::warps::*}%" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.warp)" command /nBase:jump: description: nBase » Teleportacja na zaznaczony blok. executable by: players aliases: jump, jumpto, j, jt trigger: if player has permission "nBase.jump" or "nBase.*": if targeted block is not air: send "&7[&anBase&7] &9» &7Przeteleportowano na koordynaty: &6%targeted block's location%&7." teleport player above targeted block's location else: send "&7[&anBase&7] &9» &7Nie mozesz skoczyc w powietrze." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.jump)" command /nBase:teleport [] []: description: nBase » Teleportacja graczy. executable by: players aliases: teleport, tp, bukkit:teleport, bukkit:tp, minecraft:teleport, minecraft:tp trigger: if player has permission "nBase.teleport" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/teleport [gracz]" else: if arg 2 is not set: teleport player to arg 1 send "&7[&anBase&7] &9» &7Przeteleportowano do gracza: &6%arg 1%&7." else: if player has permission "nBase.teleport.others" or "nBase.*": teleport arg 1 to arg 2 send "&7[&anBase&7] &9» &7Przeteleportowano gracza: &6%arg 1% &7do gracza: &6%arg 2%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.teleport.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.teleport)" command /nBase:teleportall: description: nBase » Teleportacja wszystkich graczy do siebie. executable by: players aliases: teleportall, tpall trigger: if player has permission "nBase.teleportall" or "nBase.*": teleport all players to player broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &7przeteleportowal wszystkich graczy do siebie." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.teleportall)" command /nBase:rename []: description: nBase » Zmiana nazwy przedmiotu. executable by: players aliases: rename, name trigger: if player has permission "nBase.rename" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/rename " else: set name of player's tool to "%colored arg 1%" send "&7[&anBase&7] &9» &7Zmieniono nazwe na: &f%colored arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.rename)" command /nBase:chat [] []: description: nBase » Wlaczanie|Wylaczanie|Czyszczenie chatu. executable by: players aliases: chat, c trigger: if player has permission "nBase.chat" or "nBase.*": if arg 1 is not "on" or "off" or "clear": send "&7[&anBase&7] &9» &7Uzyj: &6/chat [tekst]" set {_} to {nBase::chat} if {_} is false: set {_} to "&cWYLACZONY" else: set {_} to "&aWLACZONY" send "&7[&anBase&7] &9» &7Chat: &a%{_}%&7." if arg 1 is "on": if {nBase::chat} is true: send "&7[&anBase&7] &9» &7Chat jest: &aWLACZONY&7." else: set {nBase::chat} to true clear {nBase::chat::reason} broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &7zmienil stan chatu na: &aWLACZONY&7." if arg 1 is "off": if {nBase::chat} is false: send "&7[&anBase&7] &9» &7Chat jest: &cWYLACZONY&7." else: if arg 2 is not set: set {nBase::chat} to false set {nBase::chat::reason} to colored arg 2 broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &7zmienil stan chatu na: &cWYLACZONY&7." else: set {nBase::chat} to false clear {nBase::chat::reason} broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &7zmienil stan chatu na: &cWYLACZONY&7. &7Powod: &6%colored arg 2%&7." if arg 1 is "clear": if arg 2 is not set: loop 100 times: send "" to all players broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &bWYCZYSCIL &7chat." else: loop 100 times: send "" to all players broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &bWYCZYSCIL &7chat. &7Powod: &6%colored arg 2%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.chat)" command /nBase:blockcommands [] []: description: nBase » Przypisywanie komend do bloku. executable by: players aliases: blockcommands, blockcommand, blockcmds, blockcmd, cmd, cmds trigger: if player has permission "nBase.blockcommands" or "nBase.*": if arg 1 is not "add" or "clear" or "list": send "&9==================================================" send " &7Uzyj: &6/blockcommands &7:" send " &9» &6add &8-- &7Dodaje komende do bloku." send " &9» &6clear &8-- &7Usuwa wszystkie komendy z bloku." send " &9» &6list &8-- &7Lista wszystkich komend bloku." send "&9==================================================" if arg 1 is "add": if arg 2 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/blockcommands add " else: add arg 2 to {nBase::blockcommands::%targeted block's location%::*} send "&7[&anBase&7] &9» &7Dodano komende: &6%arg 2%&7." if arg 1 is "clear": if {nBase::blockcommands::%targeted block's location%::*} is set: clear {nBase::blockcommands::%targeted block's location%::*} send "&7[&anBase&7] &9» &7Usunieto wszystkie komendy z tego bloku." else: send "&7[&anBase&7] &9» &7Do tego bloku nie ma przypisanych zadnych komend." if arg 1 is "list": if {nBase::blockcommands::%targeted block's location%::*} is set: send "&9==================================================" send " &7Blok: &6%targeted block%" send " &7Komendy:" loop {nBase::blockcommands::%targeted block's location%::*}: send " &9%loop-index%. &6%loop-value%" send "&9==================================================" else: send "&7[&anBase&7] &9» &7Do tego bloku nie ma przypisanych zadnych komend." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.blockcommands)" command /nBase:sign [] []: description: nBase » Ustawianie lini na tabliczce. executable by: players aliases: sign trigger: if player has permission "nBase.sign" or "nBase.*": if arg 1 is not 1 or 2 or 3 or 4: send "&7[&anBase&7] &9» &7Uzyj: &6/sign <1&7|&62&7|&63&7|&64> " else: if arg 2 is set: if targeted block is sign: set {_} to arg 1 set line {_} of targeted block to "%colored arg 2%" send "&7[&anBase&7] &9» &7Zmieniono linie: &6%{_}% &7na: &6%colored arg 2%&7." else: send "&7[&anBase&7] &9» &7Ten blok nie jest tabliczka." else: send "&7[&anBase&7] &9» &7Uzyj: &6/sign <1&7|&62&7|&63&7|&64> " else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.sign)" command /nBase:setmotd []: description: nBase » Ustawianie MOTD serwera. executable by: players aliases: setmotd trigger: if player has permission "nBase.setmotd" or "nBase.*": if arg 1 is not set: send "&9==================================================" send " &7Uzyj: &6/setmotd " send " &7Motd: &7%server's motd%" send "&9==================================================" else: set motd to "%colored arg 1%" set {nBase::motd} to colored arg 1 send "&7[&anBase&7] &9» &7Zmieniono motd na &7%colored arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.setmotd)" command /nBase:cannon []: description: nBase » Strzelanie mobami. executable by: players aliases: cannon, shoot, shot trigger: if player has permission "nBase.cannon" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/cannon " else: shoot arg-1 at speed 1.2 else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.cannon)" command /nBase:near: description: nBase » Lista graczy w zasiegu x kratek od gracza. executable by: players aliases: near trigger: if player has permission "nBase.near" or "nBase.*": set {_} to value "numbers.near" get of "plugins/Skript/scripts/nBase/config.yml" send "&9==================================================" send " &7Zasieg: &6%{_}% &7kratek." send " &7Gracze:" loop all players in radius {_} of player: add 1 to {_p} send " &9» &6%loop-player% &8-- &a%distance between player and loop-player% &7kratek" if {_p} is not set: send " &9» &6BRAK&7." send "&9==================================================" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.near)" command /nBase:tps: description: nBase » Liczba TPS serwera. executable by: players aliases: tps trigger: if player has permission "nBase.tps" or "nBase.*": send "&7[&anBase&7] &9» &7Tps: &6%tps%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.tps)" command /nBase:firework: description: nBase » Strzelanie zwykla fajerwerka. executable by: players aliases: firework, fw trigger: if player has permission "nBase.firework" or "nBase.*": shoot a firework from player at speed 0.001 send "&7[&anBase&7] &9» &7Wystrzelono fajerwerke." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.firework)" command /nBase:seen []: description: nBase » Sprawdzanie, kiedy gracz ostatnio sie wylogowal. executable by: players aliases: seen, lastquit trigger: if player has permission "nBase.seen" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/seen " else: if arg 1 has played before: if {nBase::seen::%arg 1%} is set: send "&7[&anBase&7] &9» &7Gracz: &6%arg 1% &7ostatnio sie wylogowal sie: &6%{nBase::seen::%arg 1%}%&7." else: send "&7[&anBase&7] &9» &7Gracz: &6%arg 1% &7jeszcze nigdy sie nie wylogowal." else: send "&7[&anBase&7] &9» &7Nie znaleziono tego gracza w bazie." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.seen)" command /nBase:extinguish []: description: nBase » Ugaszanie graczy. executable by: players aliases: extinguish, ext, unfire trigger: if player has permission "nBase.extinguish" or "nBase.*": if arg 1 is not set: extinguish player send "&7[&anBase&7] &9» &7Ugaszono gracza: &6%player%&7." else: if player has permission "nBase.extinguish.others" or "nBase.*": extinguish arg 1 send "&7[&anBase&7] &9» &7Ugaszono gracza: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.extinguish.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.extinguish)" command /nBase:sudo [] []: description: nBase » Wykonywanie komend za innego gracza. executable by: players aliases: sudo trigger: if player has permission "nBase.sudo" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/sudo " else: if arg 2 is set: if arg 1 has permission "nBase.sudo.exempt" or "nBase.*": send "&7[&anBase&7] &9» &7Nie mozesz wykonac komend za tego gracza." else: execute arg 1 command "%arg 2%" send "&7[&anBase&7] &9» &7Wykonano komende: &6/%arg 2% &7za gracza: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &7Uzyj: &6/sudo " else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.sudo)" command /nBase:weather []: description: nBase » Ustawianie pogody na swiecie. executable by: players aliases: weather, bukkit:weather, minecraft:weather trigger: if player has permission "nBase.weather" or "nBase.*": if arg 1 is not "sun" or "rain" or "thunder": send "&7[&anBase&7] &9» &7Uzyj: &6/weather " if arg 1 is "sun": set weather in player's world to sun send "&7[&anBase&7] &9» &7Zmieniono pogode na: &6sloneczna&7." if arg 1 is "rain": set weather in player's world to rain send "&7[&anBase&7] &9» &7Zmieniono pogode na &6deszczowa&7." if arg 1 is "thunder": set weather in player's world to thunder send "&7[&anBase&7] &9» &7Zmieniono pogode na &6burzowa&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.weather)" command /nBase:whitelist [] []: description: nBase » Zarzadzanie biala lista. executable by: players aliases: whitelist, wl, bukkit:whitelist, bukkit:wl, minecraft:whitelist, minecraft:wl trigger: if player has permission "nBase.whitelist" or "nBase.*": if arg 1 is not "add" or "remove" or "on" or "off" or "list": send "&9==================================================" send " &7Uzyj: &6/nBase &7:" send " &9» &6add &8-- &7Dodawanie graczy do whitelisty." send " &9» &6remove &8-- &7Usuwanie graczy do whitelisty." send " &9» &6on [powod] &8-- &7Wlaczanie whitelisty." send " &9» &6off &8-- &7Wylaczanie whitelisty." send " &9» &6list &8-- &7Lista graczy na whiteliscie." send "&9==================================================" if arg 1 is "add": if arg 2 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/whitelist add " else: remove arg 2 from {nBase::whitelist::list::*} add arg 2 to {nBase::whitelist::list::*} send "&7[&anBase&7] &9» &7Dodano gracza: &6%arg 2% &7do whitelisty." if arg 1 is "remove": if arg 2 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/whitelist remove " else: remove arg 2 from {nBase::whitelist::list::*} send "&7[&anBase&7] &9» &7Usunieto gracza: &6%arg 2% &7z whitelisty." if arg 1 is "on": if {nBase::whitelist::status} is true: send "&7[&anBase&7] &9» &7Whitelista jest: &aWLACZONA&7." else: if arg 2 is not set: clear {nBase::whitelist::reason} set {nBase::whitelist::status} to true broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &7zmienil stan whitelisty na: &aWLACZONA&7." else: set {nBase::whitelist::reason} to colored arg 2 set {nBase::whitelist::status} to true broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &7zmienil stan whitelisty na: &aWLACZONA&7. Powod: &6%arg 2%" if arg 1 is "off": if {nBase::whitelist::status} is false: send "&7[&anBase&7] &9» &7Whitelista jest: &cWYLACZONA7." else: clear {nBase::whitelist::reason} set {nBase::whitelist::status} to false broadcast "&7[&anBase&7] &9» &7Administrator: &6%player% &7zmienil stan whitelisty na: &cWYLACZONA&7." if arg 1 is "list": send "&9==================================================" send " &7Graczy na whiteliscie: &6%size of {nBase::whitelist::list::*}%" if {nBase::whitelist::list::*} is set: send " &7Gracze: &6%{nBase::whitelist::list::*}%" else: send " &7Gracze: &6BRAK" send "&9==================================================" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.whitelist)" command /nBase:ping []: description: nBase » Sprawdzanie pingu. executable by: players aliases: ping, pong trigger: if player has permission "nBase.ping" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Ping gracza: &6%player% &7to: &6%player's ping%&7." else: if player has permission "nBase.ping.others" or "nBase.*": send "&7[&anBase&7] &9» &7Ping gracza: &6%arg 1% &7to: &6%arg 1's ping%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.ping.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.ping)" command /nBase:up []: description: nBase » Teleportacja na dany punkt nad toba. executable by: players aliases: up trigger: if player has permission "nBase.up" or "nBase.*": if arg 1 is greater or equal to arg 1: set {_} to block arg meters above player add 2 to {_} if y-location of block at {_} is bigger than 254: send "&7[&anBase&7] &9» &7Ta lokacja jest za wysoko." else: teleport player to {_} set block under player to glass send "&7[&anBase&7] &9» &7Przeteleportowano: &6%arg 1% &7blokow nad ciebie." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.up)" command /nBase:killall []: description: nBase » Zabijanie ludzi|podmiotow|mobow. executable by: players aliases: killall, ka trigger: if player has permission "nBase.killall" or "nBase.*": if arg 1 is not "players" or "entities" or "mobs" or "all": send "&9==================================================" send " &7Uzyj: &6/killall &7:" send " &9» &6players &8-- &7Zabijanie wszystkich graczy. (oprocz Ciebie)" send " &9» &6entities &8-- &7Zabijanie wszystkich podmiotow." send " &9» &6mobs &8-- &7Zabijanie wszystkich mobow." send "&9==================================================" if arg 1 is "players": loop all players: add loop-player to {_::*} remove player from {_::*} kill {_::*} send "&7[&anBase&7] &9» &7Zabito: &6%size of {_::*}% &7graczy." if arg 1 is "entities": loop all entities: add loop-entity to {_::*} remove all players from {_::*} kill {_::*} send "&7[&anBase&7] &9» &7Zabito: &6%size of {_::*}% &7podmiotow." if arg 1 is "mobs": loop all creatures: add loop-creature to {_::*} delete loop-creature send "&7[&anBase&7] &9» &7Zabito: &6%size of {_::*}% &7mobow." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.killall)" command /nBase:powertool []: description: nBase » Przypisywanie komend do itemow. executable by: players aliases: powertool, pt, powert, ptool trigger: if player has permission "nBase.killall" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/killall " if arg 1 is "-clear": if player's tool is not air: if {nBase::powertool::%player%::%player's tool%} is set: delete {nBase::powertool::%player%::%player's tool%} send "&7[&anBase&7] &9» &7Usunieto komendy z twojego itemu." else: send "&7[&anBase&7] &9» &7Nie ma zadnych komend przypisanych do: &6reka&7." else: send "&7[&anBase&7] &9» &7Nie mozesz usunac komend z: &6reka&7." else: if player's tool is not air: set {nBase::powertool::%player%::%player's tool%} to arg 1 send "&7[&anBase&7] &9» &7Przypisano komende: &6/%arg 1% &7do: &6%player's tool%&7." else: send "&7[&anBase&7] &9» &7Nie mozesz dodac komend do: &6reka&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.powertool)" command /nBase:speed [] []: description: nBase » Szybkosc latania|chodzenia. executable by: players aliases: speed, speedwalk, walkspeed, flyspeed trigger: if player has permission "nBase.speed" or "nBase.*": if arg 1 is not set: send "&7[&anBase&7] &9» &7Uzyj: &6/speed [gracz]" else: if arg 2 is not set: if arg 1 is not 1: set player's walk speed to arg 1 set player's fly speed to arg 1 send "&7[&anBase&7] &9» &7Ustawiono szybkosc gracza: &6%player% &7na: &6%arg 1%&7." else: reset player's walk speed reset player's fly speed send "&7[&anBase&7] &9» &7Ustawiono szybkosc gracza: &6%player% &7na: &6%arg 1%&7." else: if player has permission "nBase.speed.others" or "nBase.*": if arg 1 is not 1: set arg 2's walk speed to arg 1 set arg 2's fly speed to arg 1 send "&7[&anBase&7] &9» &7Ustawiono szybkosc gracza: &6%arg 1% &7na: &6%arg 1%&7." else: reset arg 2's walk speed reset arg 2's fly speed send "&7[&anBase&7] &9» &7Ustawiono szybkosc gracza: &6%arg 1% &7na: &6%arg 1%&7." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.speed.others)" else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.speed)" command /nBase:motd: description: nBase » Sprawdzanie wiadomosci powitalnej. executable by: players aliases: motd, messageoftheday trigger: if player has permission "nBase.motd" or "nBase.*": set {_replace} to content of file "plugins/Skript/scripts/nBase/motd.txt" if {_replace} is not "": replace "{MAXPLAYERS}" with "%max players%" in {_replace} replace "{DATE.DAY}" with "%day%" in {_replace} replace "{DATE.MONTH}" with "%month%" in {_replace} replace "{DATE.YEAR}" with "%year%" in {_replace} replace "{DATE.HOUR}" with "%hour%" in {_replace} replace "{DATE.MINUTE}" with "%minute%" in {_replace} replace "{DATE.SECOND}" with "%second%" in {_replace} replace "{ONLINE}" with "%number of players%" in {_replace} replace "{DISPLAY}" with "%colored player's display name%" in {_replace} replace "{NICK}" with "%player%" in {_replace} replace "{CBVERSION}" with "%craftbukkit version%" in {_replace} replace "{WSVERSION}" with "%wildskript version%" in {_replace} replace "{SKVERSION}" with "%skript version%" in {_replace} replace "{NBVERSION}" with "1.2 FULL" in {_replace} replace "{PING}" with "%player's ping%" in {_replace} replace "{GAMEMODE}" with "%player's gamemode%" in {_replace} replace "{PLAYERIP}" with "%player's ip%" in {_replace} replace "{UUID}" with "%player's uuid%" in {_replace} replace "{WORLDTIME}" with "%time in player's world%" in {_replace} replace "{TPS}" with "%tps%" in {_replace} replace "{REGION}" with "%region at player%" in {_replace} replace "{WORLD}" with "%player's world%" in {_replace} replace "{BIOME}" with "%biome at player%" in {_replace} replace "{LOCATION}" with "%player's location%" in {_replace} send "%colored {_replace}%" else: send "&7[&anBase&7] &9» &7Plik: &6/plugins/Skript/scripts/nBase/motd.txt &7jest pusty." else: send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.motd)" on script load: if {nBase::motd} is set: set motd to "%{nBase::motd}%" set {_} to result of connect to "https://github.com/norbi002/nBase/raw/master/Wersja" if {_} is not "1.2 FULL": send "&7[&anBase&7] &9» &7Wykryto, ze obecna wersja nie jest najnowsza." to console send "&7[&anBase&7] &9» &7Pobieranie..." to console delete folder "plugins/Skript/scripts/nBase" delete file "plugins/Skript/scripts/%script%.sk" wait 10 ticks download from "https://github.com/norbi002/nBase/raw/master/Skrypt" to "plugins/Skript/scripts/%script%.sk" wait 10 ticks execute console command "sk reload %script%" send "&7[&anBase&7] &9» &7Najnowsza wersja skryptu zostala pobrana." to console send "&7[&anBase&7] &9» &7Zyczymy milego uzytkowania." to console if folder "plugins/Skript/scripts/nBase" doesn't exists: create folder "plugins/Skript/scripts/nBase" download from "https://github.com/norbi002/nBase/raw/master/Config" to "plugins/Skript/scripts/nBase/config.yml" download from "https://github.com/norbi002/nBase/raw/master/Motd" to "plugins/Skript/scripts/nBase/motd.txt" if file "plugins/Skript/scripts/nBase/config.yml" doesn't exists: download from "https://github.com/norbi002/nBase/raw/master/Config" to "plugins/Skript/scripts/nBase/config.yml" if file "plugins/Skript/scripts/nBase/motd.txt" doesn't exists: download from "https://github.com/norbi002/nBase/raw/master/Motd" to "plugins/Skript/scripts/nBase/motd.txt" on ping: if {nBase::motd} is set: set motd to "%{nBase::motd}%" on respawn: if {nBase::spawn} is set: teleport player to {nBase::spawn} else: teleport player to world's spawn on damage: if victim is a player: if {nBase::god::%victim%} is true: cancel event if victim is not a wither or a ender dragon or a player: set {_} to value "healthbar.enable" get of "plugins/Skript/scripts/nBase/config.yml" parsed as text if {_} is "true": set {_m} to colored value "healthbar.%victim%" get of "plugins/Skript/scripts/nBase/config.yml" set {_s} to colored value "healthbar.style" get of "plugins/Skript/scripts/nBase/config.yml" replace "{MOB}" with "%{_m}%" in {_s} replace "{HEALTH}" with "%health of victim%" in {_s} set displayname of victim to "%{_s}%" on sign change: if player has permission "nBase.sign.color" or "nBase.*": set {_} to single value "colored_sign" get of "plugins/Skript/scripts/nBase/config.yml" {_} is "true": set line 1 to "%colored line 1%" set line 2 to "%colored line 2%" set line 3 to "%colored line 3%" set line 4 to "%colored line 4%" on chat: set {_replace} to colored value "messages.chat" get of "plugins/Skript/scripts/nBase/config.yml" replace "{MAXPLAYERS}" with "%max players%" in {_replace} replace "{DATE.DAY}" with "%day%" in {_replace} replace "{DATE.MONTH}" with "%month%" in {_replace} replace "{DATE.YEAR}" with "%year%" in {_replace} replace "{DATE.HOUR}" with "%hour%" in {_replace} replace "{DATE.MINUTE}" with "%minute%" in {_replace} replace "{DATE.SECOND}" with "%second%" in {_replace} replace "{ONLINE}" with "%number of players%" in {_replace} replace "{DISPLAY}" with "%colored player's display name%" in {_replace} replace "{NICK}" with "%player%" in {_replace} replace "{CBVERSION}" with "%craftbukkit version%" in {_replace} replace "{WSVERSION}" with "%wildskript version%" in {_replace} replace "{SKVERSION}" with "%skript version%" in {_replace} replace "{NBVERSION}" with "1.2 FULL" in {_replace} replace "{PING}" with "%player's ping%" in {_replace} replace "{GAMEMODE}" with "%player's gamemode%" in {_replace} replace "{PLAYERIP}" with "%player's ip%" in {_replace} replace "{UUID}" with "%player's uuid%" in {_replace} replace "{WORLDTIME}" with "%time in player's world%" in {_replace} replace "{TPS}" with "%tps%" in {_replace} replace "{REGION}" with "%region at player%" in {_replace} replace "{WORLD}" with "%player's world%" in {_replace} replace "{BIOME}" with "%biome at player%" in {_replace} replace "{LOCATION}" with "%player's location%" in {_replace} replace "{MESSAGE}" with "%message%" in {_replace} replace "{CMESSAGE}" with "%colored message%" in {_replace} cancel event if {nBase::chat} is false: if player doesn't have permission "nBase.chat.write_off" or "nBase.*": if {nBase::chat::reason} is set: send "&7[&anBase&7] &9» &7Chat jest: &cWYLACZONY&7. (%{nBase::chat::reason}%&7)" else: send "&7[&anBase&7] &9» &7Chat jest: &cWYLACZONY&7." else: broadcast "%{_replace}%" else: broadcast "%{_replace}%" on connect: if {nBase::whitelist::status} is true: loop {nBase::whitelist::list::*}: if {nBase::whitelist::list::*} contains player: stop else: if player doesn't have permission "nBase.whitelist.join" or "nBase.*": if {nBase::whitelist::reason} is set: kick player due to "&6Nie jestes zapisany na whiteliscie. &7(Powod: &6%{nBase::whitelist::reason}%&7)" else: kick player due to "&6Nie jestes zapisany na whiteliscie." on join: set {_replace} to colored value "messages.join" get of "plugins/Skript/scripts/nBase/config.yml" replace "{MAXPLAYERS}" with "%max players%" in {_replace} replace "{DATE.DAY}" with "%day%" in {_replace} replace "{DATE.MONTH}" with "%month%" in {_replace} replace "{DATE.YEAR}" with "%year%" in {_replace} replace "{DATE.HOUR}" with "%hour%" in {_replace} replace "{DATE.MINUTE}" with "%minute%" in {_replace} replace "{DATE.SECOND}" with "%second%" in {_replace} replace "{ONLINE}" with "%number of players%" in {_replace} replace "{DISPLAY}" with "%colored player's display name%" in {_replace} replace "{NICK}" with "%player%" in {_replace} replace "{CBVERSION}" with "%craftbukkit version%" in {_replace} replace "{WSVERSION}" with "%wildskript version%" in {_replace} replace "{SKVERSION}" with "%skript version%" in {_replace} replace "{NBVERSION}" with "1.2 FULL" in {_replace} replace "{PING}" with "%player's ping%" in {_replace} replace "{GAMEMODE}" with "%player's gamemode%" in {_replace} replace "{PLAYERIP}" with "%player's ip%" in {_replace} replace "{UUID}" with "%player's uuid%" in {_replace} replace "{WORLDTIME}" with "%time in player's world%" in {_replace} replace "{TPS}" with "%tps%" in {_replace} replace "{REGION}" with "%region at player%" in {_replace} replace "{WORLD}" with "%player's world%" in {_replace} replace "{BIOME}" with "%biome at player%" in {_replace} replace "{LOCATION}" with "%player's location%" in {_replace} set join message to "%{_replace}%" wait 1 tick if player is "norbi002" or "tropereks": send "&7[&anBase&7] &9» &7Ten serwer uzywa &6nBase&7." set {_replace} to content of file "plugins/Skript/scripts/nBase/motd.txt" if {_replace} is not "": replace "{MAXPLAYERS}" with "%max players%" in {_replace} replace "{DATE.DAY}" with "%day%" in {_replace} replace "{DATE.MONTH}" with "%month%" in {_replace} replace "{DATE.YEAR}" with "%year%" in {_replace} replace "{DATE.HOUR}" with "%hour%" in {_replace} replace "{DATE.MINUTE}" with "%minute%" in {_replace} replace "{DATE.SECOND}" with "%second%" in {_replace} replace "{ONLINE}" with "%number of players%" in {_replace} replace "{DISPLAY}" with "%colored player's display name%" in {_replace} replace "{NICK}" with "%player%" in {_replace} replace "{CBVERSION}" with "%craftbukkit version%" in {_replace} replace "{WSVERSION}" with "%wildskript version%" in {_replace} replace "{SKVERSION}" with "%skript version%" in {_replace} replace "{NBVERSION}" with "1.2 FULL" in {_replace} replace "{PING}" with "%player's ping%" in {_replace} replace "{GAMEMODE}" with "%player's gamemode%" in {_replace} replace "{PLAYERIP}" with "%player's ip%" in {_replace} replace "{UUID}" with "%player's uuid%" in {_replace} replace "{WORLDTIME}" with "%time in player's world%" in {_replace} replace "{TPS}" with "%tps%" in {_replace} replace "{REGION}" with "%region at player%" in {_replace} replace "{WORLD}" with "%player's world%" in {_replace} replace "{BIOME}" with "%biome at player%" in {_replace} replace "{LOCATION}" with "%player's location%" in {_replace} send "%colored {_replace}%" on first join: set {_replace} to colored value "messages.first_join" get of "plugins/Skript/scripts/nBase/config.yml" replace "{MAXPLAYERS}" with "%max players%" in {_replace} replace "{DATE.DAY}" with "%day%" in {_replace} replace "{DATE.MONTH}" with "%month%" in {_replace} replace "{DATE.YEAR}" with "%year%" in {_replace} replace "{DATE.HOUR}" with "%hour%" in {_replace} replace "{DATE.MINUTE}" with "%minute%" in {_replace} replace "{DATE.SECOND}" with "%second%" in {_replace} replace "{ONLINE}" with "%number of players%" in {_replace} replace "{DISPLAY}" with "%colored player's display name%" in {_replace} replace "{NICK}" with "%player%" in {_replace} replace "{CBVERSION}" with "%craftbukkit version%" in {_replace} replace "{WSVERSION}" with "%wildskript version%" in {_replace} replace "{SKVERSION}" with "%skript version%" in {_replace} replace "{NBVERSION}" with "1.2 FULL" in {_replace} replace "{PING}" with "%player's ping%" in {_replace} replace "{GAMEMODE}" with "%player's gamemode%" in {_replace} replace "{PLAYERIP}" with "%player's ip%" in {_replace} replace "{UUID}" with "%player's uuid%" in {_replace} replace "{WORLDTIME}" with "%time in player's world%" in {_replace} replace "{TPS}" with "%tps%" in {_replace} replace "{REGION}" with "%region at player%" in {_replace} replace "{WORLD}" with "%player's world%" in {_replace} replace "{BIOME}" with "%biome at player%" in {_replace} replace "{LOCATION}" with "%player's location%" in {_replace} set join message to "%{_}%" if player is "norbi002" or "tropereks": send "&7[&anBase&7] &9» &7Ten serwer uzywa &6nBase&7." on quit: set {_replace} to colored value "messages.quit" get of "plugins/Skript/scripts/nBase/config.yml" replace "{MAXPLAYERS}" with "%max players%" in {_replace} replace "{DATE.DAY}" with "%day%" in {_replace} replace "{DATE.MONTH}" with "%month%" in {_replace} replace "{DATE.YEAR}" with "%year%" in {_replace} replace "{DATE.HOUR}" with "%hour%" in {_replace} replace "{DATE.MINUTE}" with "%minute%" in {_replace} replace "{DATE.SECOND}" with "%second%" in {_replace} replace "{ONLINE}" with "%number of players%" in {_replace} replace "{DISPLAY}" with "%colored player's display name%" in {_replace} replace "{NICK}" with "%player%" in {_replace} replace "{CBVERSION}" with "%craftbukkit version%" in {_replace} replace "{WSVERSION}" with "%wildskript version%" in {_replace} replace "{SKVERSION}" with "%skript version%" in {_replace} replace "{NBVERSION}" with "1.2 FULL" in {_replace} replace "{PING}" with "%player's ping%" in {_replace} replace "{GAMEMODE}" with "%player's gamemode%" in {_replace} replace "{PLAYERIP}" with "%player's ip%" in {_replace} replace "{UUID}" with "%player's uuid%" in {_replace} replace "{WORLDTIME}" with "%time in player's world%" in {_replace} replace "{TPS}" with "%tps%" in {_replace} replace "{REGION}" with "%region at player%" in {_replace} replace "{WORLD}" with "%player's world%" in {_replace} replace "{BIOME}" with "%biome at player%" in {_replace} replace "{LOCATION}" with "%player's location%" in {_replace} set quit message to "%{_}%" set {nBase::seen::%player%} to now on click: if {nBase::blockcommands::%location of clicked block%::*} is set: if player has permission "nBase.blockcommands.use" or "nBase.*": cancel event loop {nBase::blockcommands::%targeted block's location%::*}: make player execute command "%loop-value%" else: cancel event send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.blockcommands.use)" if {nBase::powertool::%player%::%player's tool%} is set: execute player command "%{nBase::powertool::%player%::%player's tool%}%" on break: if {nBase::blockcommands::%location of event-block%::*} is set: if player has permission "nBase.blockcommands.break" or "nBase.*": clear {nBase::blockcommands::%targeted block's location%::*} send "&7[&anBase&7] &9» &7Zniszczyles tabliczke z przypisanymi komendami." else: cancel event send "&7[&anBase&7] &9» &cNie masz uprawnien! &8(nBase.blockcommands.break)" #nBackpack #Prawa autorskie nBackpack zastrzeżone do Norbi! ~Folks1337 options: linijki: 3 nazwaPlecakaWGui: &fPlecak #slot 1 | slot 2 | slot 3 #slot 4 | slot 5 | slot 6 #slot 7 | slot 8 | slot 9 slot1: leather slot2: leather slot3: leather slot4: leather slot5: chest slot6: leather slot7: leather slot8: leather slot9: leather plecak: chest named "&aPlecak podroznika" with lore "&7Kliknij PPM aby otworzyc." on script load: wait 1 tick register new shaped recipe for {@plecak} using {@slot1}, {@slot2}, {@slot3}, {@slot4}, {@slot5}, {@slot6}, {@slot7}, {@slot8}, {@slot9} on rightclick: if player's tool is {@plecak}: cancel event open chest with {@linijki} rows named "{@nazwaPlecakaWGui}" to player wait 1 tick loop {@linijki}*9 times: set slot loop-number - 1 of current inventory of player to {nBackpack::%player%::%loop-number%} on inventory close: if inventory name of current inventory of player is "{@nazwaPlecakaWGui}": clear {nBackpack::%player%::*} loop {@linijki}*9 times: set {nBackpack::%player%::%loop-number%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player #bnnyDrop #Prawa autorskie bnnyDrop zastrzeżone do Norbi! ~Folks1337 function bnnyDrop_sendMessage(player: player, value: text, arg-1: text, arg-2: text): set {_value} to value "messages.%{_value}%" get of "plugins/Skript/scripts/bnnyDrop/style.yml" if {_value} is not "": set {_tag} to value "messages.other.tag" get of "plugins/Skript/scripts/bnnyDrop/style.yml" loop 3 times: replace all "{%loop-number - 1%}" with "%{_arg-%loop-number%}%" in {_value} send "%colored {_tag}%%colored {_value}%" to {_player} function bnnyDrop_checkPermission(player: player, arg-1: text, arg-2: text, notify: boolean) :: boolean: if {_arg-2} is "": if {_player} has permission "bnnyDrop.%{_arg-1}%" or "bnnyDrop.*": return true else: if {_player} has permission "bnnyDrop.%{_arg-1}%" or "bnnyDrop.%{_arg-2}%" or "bnnyDrop.*": return true if {_notify} is true: set {_message} to "bnnyDrop.%{_arg-1}%" if {_arg-2} is not "": set {_message} to "bnnyDrop.%{_arg-1}% / bnnyDrop.%{_arg-2}%" bnnyDrop_sendMessage({_player}, "other.noPermission", "%{_message}%", "") return false function bnnyDrop_reloadPlayer(player: player): wait 1 tick if value "players.%{_player}'s uuid%.nickname" get of "plugins/Skript/scripts/bnnyDrop/players.yml" is not set: set "players.%{_player}'s uuid%.nickname" to "%{_player}%" in yaml file "plugins/Skript/scripts/bnnyDrop/players.yml" send "[bnnyDrop] Stworzono sekcje gracza %{_player}% (%{_player}'s uuid%) w pliku bnnyDrop/players.yml" to console add "coal" and "iron" and "lapis" and "gold" and "diamond" and "redstone" and "emerald" and "stone" and "points" to {_file::*} loop {_file::*}: if value "players.%{_player}'s uuid%.statistics.%loop-value%" get of "plugins/Skript/scripts/bnnyDrop/players.yml" is not set: set "players.%{_player}'s uuid%.statistics.%loop-value%" to "0" in yaml file "plugins/Skript/scripts/bnnyDrop/players.yml" delete {_file::*} add "coal" and "iron" and "lapis" and "gold" and "diamond" and "redstone" and "emerald" and "cobble-stone" to {_file::*} loop {_file::*}: if value "players.%{_player}'s uuid%.drop.%loop-value%" get of "plugins/Skript/scripts/bnnyDrop/players.yml" is not set: set "players.%{_player}'s uuid%.drop.%loop-value%" to "true" in yaml file "plugins/Skript/scripts/bnnyDrop/players.yml" function bnnyDrop_toggleDrop(player: player, item: text): if {_item} is not "turbo.drop" or "turbo.experience": set {_value} to value "players.%{_player}'s uuid%.drop.%{_item}%" get of "plugins/Skript/scripts/bnnyDrop/players.yml" if {_value} is "true": set "players.%{_player}'s uuid%.drop.%{_item}%" to "false" in "plugins/Skript/scripts/bnnyDrop/players.yml" bnnyDrop_sendMessage({_player}, "item.disabled.%{_item}%", "", "") if {_value} is "false": set "players.%{_player}'s uuid%.drop.%{_item}%" to "true" in "plugins/Skript/scripts/bnnyDrop/players.yml" bnnyDrop_sendMessage({_player}, "item.enabled.%{_item}%", "", "") close {_player}'s inventory else: if bnnyDrop_checkPermission({_player}, "%{_item}%", "", no) is true: set {_value} to value "options.%{_item}%" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" if {_value} is "true": set "options.%{_item}%" to "false" in "plugins/Skript/scripts/bnnyDrop/drop.yml" bnnyDrop_sendMessage(all players, "item.disabled.%{_item}%", "", "") if {_value} is "false": set "options.%{_item}%" to "true" in "plugins/Skript/scripts/bnnyDrop/drop.yml" bnnyDrop_sendMessage(all players, "item.enabled.%{_item}%", "", "") close {_player}'s inventory command /bnnyDrop:drop: description: bnnyDrop» Informacje o dropie ze stone. aliases: drop, kamien, kamień, stone, stown trigger: if bnnyDrop_checkPermission(player, "drop", "", true) is true: add "coal" and "iron" and "lapis" and "gold" and "diamond" and "redstone" and "emerald" to {_items::*} loop {_items::*}: set {_lore::drop.%loop-value%::*} to value list "gui.drop.items.drop.lore" get of "plugins/Skript/scripts/bnnyDrop/style.yml" add "chance" and "height.minimum" and "height.maximum" and "pickaxes.wood" and "pickaxes.stone" and "pickaxes.iron" and "pickaxes.gold" and "pickaxes.diamond" and "ore.drop" to {_items::%loop-value-1%::*} loop {_items::%loop-value-1%::*}: set {_item::%loop-value-1%::%loop-value-2%} to value "drop.%loop-value-1%.%loop-value-2%" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" set {_item::%loop-value-1%::drop} to value "players.%player's uuid%.drop.%loop-value-1%" get of "plugins/Skript/scripts/bnnyDrop/players.yml" replace all "{0}" with "%{_item::%loop-value%::chance}%" in {_lore::drop.%loop-value%::*} replace all "{1}" with "%{_item::%loop-value%::height.minimum}%" in {_lore::drop.%loop-value%::*} replace all "{2}" with "%{_item::%loop-value%::height.maximum}%" in {_lore::drop.%loop-value%::*} replace all "{3}" with "%{_item::%loop-value%::pickaxes.wood}%" in {_lore::drop.%loop-value%::*} replace all "{4}" with "%{_item::%loop-value%::pickaxes.stone}%" in {_lore::drop.%loop-value%::*} replace all "{5}" with "%{_item::%loop-value%::pickaxes.iron}%" in {_lore::drop.%loop-value%::*} replace all "{6}" with "%{_item::%loop-value%::pickaxes.gold}%" in {_lore::drop.%loop-value%::*} replace all "{7}" with "%{_item::%loop-value%::pickaxes.diamond}%" in {_lore::drop.%loop-value%::*} replace all "{8}" with "%{_item::%loop-value%::ore.drop}%" in {_lore::drop.%loop-value%::*} replace all "{9}" with "%{_item::%loop-value%::drop}%" in {_lore::drop.%loop-value%::*} replace all "{10}" with "%{_item::%loop-value%::drop::toggle}%" in {_lore::drop.%loop-value%::*} replace all "true" with value "gui.drop.booleans.true" get of "plugins/Skript/scripts/bnnyDrop/style.yml" in {_lore::drop.%loop-value-1%::*} replace all "false" with value "gui.drop.booleans.false" get of "plugins/Skript/scripts/bnnyDrop/style.yml" in {_lore::drop.%loop-value-1%::*} set {_lore::drop.%loop-value%} to "" loop {_lore::drop.%loop-value%::*}: set {_lore::drop.%loop-value-1%} to "%{_lore::drop.%loop-value-1%}%%loop-value-2%||" set {_item::cobble-stone::drop} to value "players.%player's uuid%.drop.cobble-stone" get of "plugins/Skript/scripts/bnnyDrop/players.yml" add "fortune.level-1" and "fortune.level-2" and "fortune.level-3" and "turbo.drop" and "turbo.experience" and "super-drop" to {_multipliers::*} loop {_multipliers::*}: set {_multiplier::%loop-value%} to value "multiplier.%loop-value%" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" set {_multiplier::turbo.drop::active} to value "options.turbo.drop" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" set {_multiplier::turbo.experience::active} to value "options.turbo.experience" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" set {_options::experience} to value "options.experience" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" add "header" and "drop.coal" and "drop.iron" and "drop.lapis" and "drop.gold" and "drop.diamond" and "drop.redstone" and "drop.emerald" and "special.multiplier" and "special.stone" and "special.turbo.drop" and "special.turbo.experience" to {_guiitems::*} loop {_guiitems::*}: add "slot" and "item" and "name" to {_guiitems::%loop-value-1%::*} loop {_guiitems::%loop-value-1%::*}: set {_guiitem::%loop-value-1%::%loop-value-2%} to value "gui.drop.items.%loop-value-1%.%loop-value-2%" get of "plugins/Skript/scripts/bnnyDrop/style.yml" add "header" and "special.multiplier" and "special.stone" and "special.turbo.drop" and "special.turbo.experience" to {_lores::*} loop {_lores::*}: set {_lore::%loop-value%::*} to value list "gui.drop.items.%loop-value%.lore" get of "plugins/Skript/scripts/bnnyDrop/style.yml" set {_lore::%loop-value%} to "" if loop-value is "special.multiplier": set {_hasPermission} to bnnyDrop_checkPermission(player, "super-drop", "", false) replace all "{0}" with "%{_multiplier::fortune.level-1}%" in {_lore::%loop-value%::*} replace all "{1}" with "%{_multiplier::fortune.level-2}%" in {_lore::%loop-value%::*} replace all "{2}" with "%{_multiplier::fortune.level-3}%" in {_lore::%loop-value%::*} replace all "{3}" with "%{_multiplier::super-drop}%" in {_lore::%loop-value%::*} replace all "{4}" with "%{_hasPermission}%" in {_lore::%loop-value%::*} if loop-value is "special.stone": replace all "{0}" with "%{_options::experience}%" in {_lore::%loop-value%::*} replace all "{1}" with "%{_item::cobble-stone::drop}%" in {_lore::%loop-value%::*} if loop-value is "special.turbo.drop": replace all "{0}" with "%{_multiplier::turbo.drop}%" in {_lore::%loop-value%::*} replace all "{1}" with "%{_multiplier::turbo.drop::active}%" in {_lore::%loop-value%::*} if loop-value is "special.turbo.experience": replace all "{0}" with "%{_multiplier::turbo.experience}%" in {_lore::%loop-value%::*} replace all "{1}" with "%{_multiplier::turbo.experience::active}%" in {_lore::%loop-value%::*} replace all "true" with value "gui.drop.booleans.true" get of "plugins/Skript/scripts/bnnyDrop/style.yml" in {_lore::%loop-value-1%::*} replace all "false" with value "gui.drop.booleans.false" get of "plugins/Skript/scripts/bnnyDrop/style.yml" in {_lore::%loop-value-1%::*} loop {_lore::%loop-value-1%::*}: set {_lore::%loop-value-1%} to "%{_lore::%loop-value-1%}%%loop-value-2%||" open chest with value "gui.drop.options.rows" get of "plugins/Skript/scripts/bnnyDrop/style.yml" parsed as number rows named colored value "gui.drop.options.title" get of "plugins/Skript/scripts/bnnyDrop/style.yml" to player wait 1 tick format slot {_guiitem::header::slot} parsed as number-1 of player with {_guiitem::header::item} parsed as item named colored {_guiitem::header::name} with lore colored {_lore::header} to be unstealable format slot {_guiitem::drop.coal::slot} parsed as number-1 of player with {_guiitem::drop.coal::item} parsed as item named colored {_guiitem::drop.coal::name} with lore colored {_lore::drop.coal} to run [bnnyDrop_toggleDrop(player, "coal")] format slot {_guiitem::drop.iron::slot} parsed as number-1 of player with {_guiitem::drop.iron::item} parsed as item named colored {_guiitem::drop.iron::name} with lore colored {_lore::drop.iron} to run [bnnyDrop_toggleDrop(player, "iron")] format slot {_guiitem::drop.lapis::slot} parsed as number-1 of player with {_guiitem::drop.lapis::item} parsed as item named colored {_guiitem::drop.lapis::name} with lore colored {_lore::drop.lapis} to run [bnnyDrop_toggleDrop(player, "lapis")] format slot {_guiitem::drop.gold::slot} parsed as number-1 of player with {_guiitem::drop.gold::item} parsed as item named colored {_guiitem::drop.gold::name} with lore colored {_lore::drop.gold} to run [bnnyDrop_toggleDrop(player, "gold")] format slot {_guiitem::drop.diamond::slot} parsed as number-1 of player with {_guiitem::drop.diamond::item} parsed as item named colored {_guiitem::drop.diamond::name} with lore colored {_lore::drop.diamond} to run [bnnyDrop_toggleDrop(player, "diamond")] format slot {_guiitem::drop.redstone::slot} parsed as number-1 of player with {_guiitem::drop.redstone::item} parsed as item named colored {_guiitem::drop.redstone::name} with lore colored {_lore::drop.redstone} to run [bnnyDrop_toggleDrop(player, "redstone")] format slot {_guiitem::drop.emerald::slot} parsed as number-1 of player with {_guiitem::drop.emerald::item} parsed as item named colored {_guiitem::drop.emerald::name} with lore colored {_lore::drop.emerald} to run [bnnyDrop_toggleDrop(player, "emerald")] format slot {_guiitem::special.multiplier::slot} parsed as number-1 of player with {_guiitem::special.multiplier::item} parsed as item named colored {_guiitem::special.multiplier::name} with lore colored {_lore::special.multiplier} to be unstealable format slot {_guiitem::special.stone::slot} parsed as number-1 of player with {_guiitem::special.stone::item} parsed as item named colored {_guiitem::special.stone::name} with lore colored {_lore::special.stone} to run [bnnyDrop_toggleDrop(player, "cobble-stone")] format slot {_guiitem::special.turbo.drop::slot} parsed as number-1 of player with {_guiitem::special.turbo.drop::item} parsed as item named colored {_guiitem::special.turbo.drop::name} with lore colored {_lore::special.turbo.drop} to run [bnnyDrop_toggleDrop(player, "turbo.drop")] format slot {_guiitem::special.turbo.experience::slot} parsed as number-1 of player with {_guiitem::special.turbo.experience::item} parsed as item named colored {_guiitem::special.turbo.experience::name} with lore colored {_lore::special.turbo.experience} to run [bnnyDrop_toggleDrop(player, "turbo.experience")] command /bnnyDrop:statistics []: description: bnnyDrop» Statystyki wykopanych przedmiotów. aliases: statistics, stats, statystyki, staty trigger: if arg 1 is "%player%": if bnnyDrop_checkPermission(player, "statistics", "", true) is true: set {_hasPermission} to bnnyDrop_checkPermission(player, "statistics.others", "", false) set {_player} to player else: if bnnyDrop_checkPermission(player, "statistics.others", "", true) is true: set {_player} to arg 1 parsed as offlineplayer if value "players.%{_player}'s uuid%.nickname" get of "plugins/Skript/scripts/bnnyDrop/players.yml" is not set: bnnyDrop_sendMessage(player, "other.playerNotFound", "%{_player}%", "") set {_hasPermission} to bnnyDrop_checkPermission(player, "statistics.others", "", false) if {_hasPermission} is true: add "coal" and "iron" and "lapis" and "gold" and "diamond" and "redstone" and "emerald" and "stone" and "points" to {_items::*} loop {_items::*}: set {_lore::%loop-value%::*} to value list "gui.statistics.items.drop.lore" get of "plugins/Skript/scripts/bnnyDrop/style.yml" set {_item::%loop-value%} to value "players.%player's uuid%.statistics.%loop-value%" get of "plugins/Skript/scripts/bnnyDrop/players.yml" parsed as number replace all "{0}" with "%{_item::%loop-value%}%" in {_lore::%loop-value%::*} set {_lore::%loop-value%} to "" loop {_lore::%loop-value%::*}: set {_lore::%loop-value-1%} to "%{_lore::%loop-value-1%}%%loop-value-2%||" add "header" and "drop.coal" and "drop.iron" and "drop.lapis" and "drop.gold" and "drop.diamond" and "drop.redstone" and "drop.emerald" and "special.stone" and "special.points" to {_guiitems::*} loop {_guiitems::*}: add "slot" and "item" and "name" to {_guiitems::%loop-value-1%::*} loop {_guiitems::%loop-value-1%::*}: set {_guiitem::%loop-value-1%::%loop-value-2%} to value "gui.statistics.items.%loop-value-1%.%loop-value-2%" get of "plugins/Skript/scripts/bnnyDrop/style.yml" add "header" and "special.stone" and "special.points" to {_lores::*} loop {_lores::*}: set {_lore::%loop-value%::*} to value list "gui.statistics.items.%loop-value%.lore" get of "plugins/Skript/scripts/bnnyDrop/style.yml" set {_lore::%loop-value%} to "" if loop-value is "header": replace all "{0}" with "%{_player}%" in {_lore::%loop-value%::*} if loop-value is "special.stone": replace all "{0}" with "%{_item::stone}%" in {_lore::%loop-value%::*} if loop-value is "special.points": replace all "{0}" with "%{_item::points}%" in {_lore::%loop-value%::*} loop {_lore::%loop-value-1%::*}: set {_lore::%loop-value-1%} to "%{_lore::%loop-value-1%}%%loop-value-2%||" open chest with value "gui.statistics.options.rows" get of "plugins/Skript/scripts/bnnyDrop/style.yml" parsed as number rows named colored value "gui.statistics.options.title" get of "plugins/Skript/scripts/bnnyDrop/style.yml" to player wait 1 tick format slot {_guiitem::header::slot} parsed as number-1 of player with {_guiitem::header::item} parsed as item named colored {_guiitem::header::name} with lore colored {_lore::header} to be unstealable format slot {_guiitem::drop.coal::slot} parsed as number-1 of player with {_guiitem::drop.coal::item} parsed as item named colored {_guiitem::drop.coal::name} with lore colored {_lore::coal} to be unstealable format slot {_guiitem::drop.iron::slot} parsed as number-1 of player with {_guiitem::drop.iron::item} parsed as item named colored {_guiitem::drop.iron::name} with lore colored {_lore::iron} to be unstealable format slot {_guiitem::drop.lapis::slot} parsed as number-1 of player with {_guiitem::drop.lapis::item} parsed as item named colored {_guiitem::drop.lapis::name} with lore colored {_lore::lapis} to be unstealable format slot {_guiitem::drop.gold::slot} parsed as number-1 of player with {_guiitem::drop.gold::item} parsed as item named colored {_guiitem::drop.gold::name} with lore colored {_lore::gold} to be unstealable format slot {_guiitem::drop.diamond::slot} parsed as number-1 of player with {_guiitem::drop.diamond::item} parsed as item named colored {_guiitem::drop.diamond::name} with lore colored {_lore::diamond} to be unstealable format slot {_guiitem::drop.redstone::slot} parsed as number-1 of player with {_guiitem::drop.redstone::item} parsed as item named colored {_guiitem::drop.redstone::name} with lore colored {_lore::redstone} to be unstealable format slot {_guiitem::drop.emerald::slot} parsed as number-1 of player with {_guiitem::drop.emerald::item} parsed as item named colored {_guiitem::drop.emerald::name} with lore colored {_lore::emerald} to be unstealable format slot {_guiitem::special.stone::slot} parsed as number-1 of player with {_guiitem::special.stone::item} parsed as item named colored {_guiitem::special.stone::name} with lore colored {_lore::special.stone} to be unstealable format slot {_guiitem::special.points::slot} parsed as number-1 of player with {_guiitem::special.points::item} parsed as item named colored {_guiitem::special.points::name} with lore colored {_lore::special.points} to be unstealable command /bnnyDrop:top10 []: description: bnnyDrop» Top10 surowców/poziomów/wykopanego kamienia. aliases: top, top10, topka trigger: if bnnyDrop_checkPermission(player, "top10", "", true) is true: if arg 1 is not "coal" or "iron" or "lapis" or "gold" or "diamond" or "redstone" or "emerald" or "stone" or "points": add "header" and "coal" and "iron" and "lapis" and "gold" and "diamond" and "redstone" and "emerald" and "stone" and "points" to {_guiitems::*} loop {_guiitems::*}: add "slot" and "item" and "name" to {_guiitems::%loop-value%::*} loop {_guiitems::%loop-value%::*}: set {_guiitem::%loop-value-1%::%loop-value-2%} to value "gui.top10.mainmenu.items.%loop-value-1%.%loop-value-2%" get of "plugins/Skript/scripts/bnnyDrop/style.yml" add "header" to {_lores::*} loop {_lores::*}: set {_lore::%loop-value%::*} to value list "gui.top10.mainmenu.items.%loop-value%.lore" get of "plugins/Skript/scripts/bnnyDrop/style.yml" set {_lore::%loop-value%} to "" loop {_lore::%loop-value-1%::*}: set {_lore::%loop-value-1%} to "%{_lore::%loop-value-1%}%%loop-value-2%||" open chest with value "gui.top10.mainmenu.options.rows" get of "plugins/Skript/scripts/bnnyDrop/style.yml" parsed as number rows named colored value "gui.top10.mainmenu.options.title" get of "plugins/Skript/scripts/bnnyDrop/style.yml" to player wait 1 tick format slot {_guiitem::header::slot} parsed as number-1 of player with {_guiitem::header::item} parsed as item named colored {_guiitem::header::name} to be unstealable format slot {_guiitem::coal::slot} parsed as number-1 of player with {_guiitem::coal::item} parsed as item named colored {_guiitem::coal::name} to run [execute player command "bnnyDrop:top10 coal"] format slot {_guiitem::iron::slot} parsed as number-1 of player with {_guiitem::iron::item} parsed as item named colored {_guiitem::iron::name} to run [execute player command "bnnyDrop:top10 iron"] format slot {_guiitem::lapis::slot} parsed as number-1 of player with {_guiitem::lapis::item} parsed as item named colored {_guiitem::lapis::name} to run [execute player command "bnnyDrop:top10 lapis"] format slot {_guiitem::gold::slot} parsed as number-1 of player with {_guiitem::gold::item} parsed as item named colored {_guiitem::gold::name} to run [execute player command "bnnyDrop:top10 gold"] format slot {_guiitem::diamond::slot} parsed as number-1 of player with {_guiitem::diamond::item} parsed as item named colored {_guiitem::diamond::name} to run [execute player command "bnnyDrop:top10 diamond"] format slot {_guiitem::redstone::slot} parsed as number-1 of player with {_guiitem::redstone::item} parsed as item named colored {_guiitem::redstone::name} to run [execute player command "bnnyDrop:top10 redstone"] format slot {_guiitem::emerald::slot} parsed as number-1 of player with {_guiitem::emerald::item} parsed as item named colored {_guiitem::emerald::name} to run [execute player command "bnnyDrop:top10 emerald"] format slot {_guiitem::stone::slot} parsed as number-1 of player with {_guiitem::stone::item} parsed as item named colored {_guiitem::stone::name} to run [execute player command "bnnyDrop:top10 stone"] format slot {_guiitem::points::slot} parsed as number-1 of player with {_guiitem::points::item} parsed as item named colored {_guiitem::points::name} to run [execute player command "bnnyDrop:top10 points"] else: set {_guiitem::header::slot} to value "gui.top10.topmenu.items.header.slot" get of "plugins/Skript/scripts/bnnyDrop/style.yml" set {_guiitem::header::item} to value "gui.top10.topmenu.items.header.item" get of "plugins/Skript/scripts/bnnyDrop/style.yml" set {_guiitem::header::name} to value "gui.top10.topmenu.items.header.name.%arg 1%" get of "plugins/Skript/scripts/bnnyDrop/style.yml" set {_guiitem::header::lore::*} to value list "gui.top10.topmenu.items.header.lore.%arg 1%" get of "plugins/Skript/scripts/bnnyDrop/style.yml" set {_guiitem::header::lore} to "" loop {_guiitem::header::lore::*}: set {_guiitem::header::lore} to "%{_guiitem::header::lore}%%loop-value%||" open chest with value "gui.top10.topmenu.options.rows" get of "plugins/Skript/scripts/bnnyDrop/style.yml" parsed as number rows named colored value "gui.top10.topmenu.options.title.%arg 1%" get of "plugins/Skript/scripts/bnnyDrop/style.yml" to player wait 1 tick format slot {_guiitem::header::slot} parsed as number-1 of player with {_guiitem::header::item} parsed as item named colored {_guiitem::header::name} to be unstealable set {_players::*} to configuration section "players" get of "plugins/Skript/scripts/bnnyDrop/players.yml" loop {_players::*}: set {_player::%loop-value%::value} to value "players.%loop-value%.statistics.%arg 1%" get of "plugins/Skript/scripts/bnnyDrop/players.yml" parsed as number set {_player::%loop-value%::nickname} to value "players.%loop-value%.nickname" get of "plugins/Skript/scripts/bnnyDrop/players.yml" set {_top::list::%loop-value%} to {_player::%loop-value%::value} set {_top::list::%loop-value%} to {_player::%loop-value%::value} set {_top::size} to size of {_top::list::*} loop {_top::size} times: loop {_top::list::*}: if {_value::%loop-number%} is not set: set {_value::%loop-number%} to loop-value-2 set {_nickname::%loop-number%} to loop-index if loop-value-2 is more than {_value::%loop-number%}: set {_value::%loop-number%} to loop-value-2 set {_nickname::%loop-number%} to loop-index set {_nickname::%loop-number%} to value "players.%loop-value-2%.nickname" get of "plugins/Skript/scripts/bnnyDrop/players.yml" remove {_value::%loop-number%} from {_top::list::*} if loop-number <= {_top::size}: set {_guiitem::%loop-number%::slot} to value "gui.top10.topmenu.items.position-slots.%loop-number%" get of "plugins/Skript/scripts/bnnyDrop/style.yml" set {_guiitem::%loop-number%::name} to value "gui.top10.topmenu.items.heads.%arg 1%" get of "plugins/Skript/scripts/bnnyDrop/style.yml" replace all "{0}" with "%{_player::%{_nickname::%loop-number%}%::nickname}%" in {_guiitem::%loop-number%::name} replace all "{1}" with "%{_value::%loop-number%}%" in {_guiitem::%loop-number%::name} format slot {_guiitem::%loop-number%::slot} parsed as number - 1 of player with loop-number of {_player::%{_nickname::%loop-number%}%::nickname} parsed as offlineplayer's skull named colored {_guiitem::%loop-number%::name} to be unstealable on skript load: send "[bnnyDrop] Ladowanie bnnyDrop v1.0" to console send "[bnnyDrop] Autor: xNorbi - https://skript.pl/profil/43-norbi/" to console on script load: add "drop" and "style" to {_files::*} loop {_files::*}: if file "plugins/Skript/scripts/bnnyDrop/%loop-value%.yml" doesn't exists: create file "plugins/Skript/scripts/bnnyDrop/%loop-value%.yml" download from "https://raw.githubusercontent.com/xNorbig/bnnyDrop/master/%loop-value%.yml" to "plugins/Skript/scripts/bnnyDrop/%loop-value%.yml" loop all players: bnnyDrop_reloadPlayer(loop-player) if value "generator.enable" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" is "true": set {_generator::crafting::result} to value "generator.crafting.result-number" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" parsed as number loop 9 times: set {_generator::crafting::slot-%loop-number%} to value "generator.crafting.slot-%loop-number%" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" parsed as item new Recipe "bnnyDrop-Generator"; loop 9 times: "bnnyDrop-Generator".Recipe.registerIngredient{loop-number, {_generator::crafting::slot-%loop-number%}} "bnnyDrop-Generator".Recipe.registerResult{{_generator::crafting::result} of end stone} "bnnyDrop-Generator".Recipe.register{} on mine of coal ore or iron ore or lapis lazuli ore or gold ore or diamond ore or redstone ore or emerald ore: set {_ore::block} to "%event-block%" replace all "_" and " ore" and "active " and " lazuli" with "" in {_ore::block} if value "drop.%{_ore::block}%.ore.drop" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" is "false": cancel event set {_ore::replace} to value "drop.%{_ore::block}%.ore.replace" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" parsed as item bnnyDrop_sendMessage(player, "ore.%{_ore::block}%", "", "") set event-block to {_ore::replace} on mine of stone or cobblestone: if value "players.%player's uuid%.drop.cobble-stone" get of "plugins/Skript/scripts/bnnyDrop/players.yml" is "false": create file "plugins/Skript/scripts/bnnyDrop/DROP_COBBLE_OFF.bnnyDrop" on break of stone: player's gamemode is survival if value "generator.enable" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" is "true": set {_generator::%event-location%} to event-location loop value "generator.regeneration" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" parsed as number times: wait 1 tick if block under {_generator::%event-location%} is end stone: if block at {_generator::%event-location%} is air: set block at {_generator::%event-location%} to stone set {_worlds::*} to value list "options.disallowed-world" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" loop {_worlds::*}: if player is in world loop-value: stop add "fortune.level-1" and "fortune.level-2" and "fortune.level-3" and "turbo.drop" and "turbo.experience" and "super-drop" to {_multipliers::*} loop {_multipliers::*}: set {_multiplier::%loop-value%} to value "multiplier.%loop-value%" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" parsed as number set {_multiplier::turbo.drop::active} to value "options.turbo.drop" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" set {_multiplier::turbo.experience::active} to value "options.turbo.experience" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" set {_options::experience} to value "options.experience" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" parsed as number if {_multiplier::turbo.experience::active} is "true": set {_options::experience} to {_multiplier::turbo.experience} * {_options::experience} loop {_options::experience} times: give 1 exp to player add "coal" and "iron" and "lapis" and "gold" and "diamond" and "redstone" and "emerald" to {_items::*} loop {_items::*}: add "chance" and "height.minimum" and "height.maximum" and "pickaxes.wood" and "pickaxes.stone" and "pickaxes.iron" and "pickaxes.gold" and "pickaxes.diamond" to {_items::%loop-value-1%::*} loop {_items::%loop-value-1%::*}: set {_item::%loop-value-1%::%loop-value-2%} to value "drop.%loop-value-1%.%loop-value-2%" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" set {_item::%loop-value-1%::drop} to value "players.%player's uuid%.drop.%loop-value-1%" get of "plugins/Skript/scripts/bnnyDrop/players.yml" set {_item::chance} to {_item::%loop-value%::chance} parsed as number set {_item::amount} to 1 if player's tool is any pickaxe of fortune 1: set {_fortune::level} to 1 if player's tool is any pickaxe of fortune 2: set {_fortune::level} to 2 if player's tool is any pickaxe of fortune 3: set {_fortune::level} to 3 if {_fortune::level} is set: add {_fortune::level} to {_item::amount} add {_multiplier::fortune.level-%{_fortune::level}%} to {_item::chance} if bnnyDrop_checkPermission(player, "super-drop", "", no) is true: add {_multiplier::super-drop} to {_item::chance} if {_multiplier::turbo.drop::active} is "true": set {_item::chance} to {_item::chance} * {_multiplier::turbo.drop} if player's tool is any pickaxe of silk touch 1: set {_item::amount} to 0 chance of {_item::chance}%: y-coordinate of event-block is bigger or equal to {_item::%loop-value%::height.minimum} parsed as number y-coordinate of event-block is smaller or equal to {_item::%loop-value%::height.maximum} parsed as number set {_tool} to "%type of player's tool%" replace all "_pickaxe" and "en" with "" in {_tool} if {_item::%loop-value%::pickaxes.%{_tool}%} is "true": if value "players.%player's uuid%.drop.%loop-value%" get of "plugins/Skript/scripts/bnnyDrop/players.yml" is "true": if {_item::amount} is bigger or equal to 1: set {_item::amount} to random integer between 1 and {_item::amount} set {_item::item} to "%loop-value%" replace all "iron" with "iron ingot" in {_item::item} replace all "lapis" with "lapis lazuli" in {_item::item} replace all "gold" with "gold ingot" in {_item::item} else: set {_item::amount} to 1 set {_item::item} to "%loop-value% ore" bnnyDrop_sendMessage(player, "drop", "%{_item::amount}%", "%{_item::item}%") set {_statistics::%loop-value%} to value "players.%player's uuid%.statistics.%loop-value%" get of "plugins/Skript/scripts/bnnyDrop/players.yml" parsed as number set {_statistics::stone} to value "players.%player's uuid%.statistics.stone" get of "plugins/Skript/scripts/bnnyDrop/players.yml" parsed as number set {_statistics::points} to value "players.%player's uuid%.statistics.points" get of "plugins/Skript/scripts/bnnyDrop/players.yml" parsed as number set "players.%player's uuid%.statistics.%loop-value%" to "%{_statistics::%loop-value%} + {_item::amount}%" in yaml file "plugins/Skript/scripts/bnnyDrop/players.yml" set "players.%player's uuid%.statistics.stone" to "%{_statistics::stone} + 1%" in yaml file "plugins/Skript/scripts/bnnyDrop/players.yml" set "players.%player's uuid%.statistics.points" to "%{_statistics::points} + {_item::amount} + 1%" in yaml file "plugins/Skript/scripts/bnnyDrop/players.yml" if player can hold {_item::amount} of {_item::item} parsed as item: give {_item::amount} of {_item::item} parsed as item to player stop else: drop {_item::amount} of {_item::item} parsed as item at event-location stop on item spawn of stone or cobblestone: if file "plugins/Skript/scripts/bnnyDrop/DROP_COBBLE_OFF.bnnyDrop" exists: cancel event delete file "plugins/Skript/scripts/bnnyDrop/DROP_COBBLE_OFF.bnnyDrop" on place of end stone: if value "generator.enable" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" is "true": if block at event-block is end stone: if block above event-block is air: set block above event-block to stone on chat: if value "players.%player's uuid%.statistics.points" get of "plugins/Skript/scripts/bnnyDrop/players.yml" parsed as number is less than value "points-chat" get of "plugins/Skript/scripts/bnnyDrop/drop.yml" parsed as number: if bnnyDrop_checkPermission(player, "bypasschat", "", no) is false: cancel event bnnyDrop_sendMessage(player, "other.noPointsToChat", value "players.%player's uuid%.statistics.points" get of "plugins/Skript/scripts/bnnyDrop/players.yml", value "points-chat" get of "plugins/Skript/scripts/bnnyDrop/drop.yml") on join: bnnyDrop_reloadPlayer(player) #Anty logout #Prawa autorskie Anty logout zastrzeżone do Norbi! ~Folks1337 options: #czas, po jakim można się wylogować (w sekundach) time: 10 #czas bana (w minutach) bantime: 60 on damage of player: if attacker is a player: if {walka.%victim%} is not set: send "&cJestes podczas walki! Nie mozesz sie wylogowac." to victim if {walka.%attacker%} is not set: send "&cJestes podczas walki! Nie mozesz sie wylogowac." to attacker set {walka.%victim%} to true set {walka.%attacker%} to true wait {@time} seconds send "&aNie jestes juz w walce! Mozesz sie spokojnie wylogowac." to victim send "&aNie jestes juz w walce! &fMozesz sie wylogowac." to attacker delete {walka.%victim%} delete {walka.%attacker%} on quit: if {walka.%player%} is set: kill player kick player due to "&cWylogowales sie podczas walki! &cDostales bana na {@bantime} min." set {bantime.%player%} to now delete {walka.%player%} on join: if {bantime.%player%} is set: if difference between {bantime.%player%} and now is less than {@bantime} minutes: kick player due to "&cWylogowales sie podczas walki! &cAby moc wejsc odczekaj jeszcze %difference between {bantime.%player%} and now% min." stop else: delete {bantime.%player%} #Chat #Prawa autorskie Chat zastrzeżone do Norbi! ~Folks1337 command /chat []: trigger: if player has permission "chat.command": if arg 1 is not "on" or "off" or "clear": send "&6» &7/chat &fon &8- &aWlaczanie chatu." send "&6» &7/chat &foff &8- &aWylaczanie chatu." send "&6» &7/chat &fclear &8- &aCzyszczenie chatu." if arg 1 is "on": if {chat} is false: set {chat} to true broadcast "&c[Chat] &6» &7Chat zostal: &aWLACZONY" else: send "&c[Chat] &6» &7Chat jest juz: &aWLACZONY" if arg 1 is "off": if {chat} is true: set {chat} to false broadcast "&c[Chat] &6» &7Chat zostal: &cWYLACZONY" else: send "&c[Chat] &6» &7Chat jest juz: &cWYLACZONY" if arg 1 is "clear": loop 100 times: send "" to all players broadcast "&c[Chat] &6» &7Chat zostal: &6WYCZYSZCZONY" else: send "&c[Chat] &6» &cNie masz uprawnien! &8(chat.command)" on chat: if {chat} is false: if player doesn't have permission "chat.write": cancel event send "&c[Chat] &6» &7Chat jest: &cWYLACZONY" #Generator stone #Prawa autorskie Generator stone zastrzeżone do Norbi! ~Folks1337 options: #co ile sekund stone ma się regenerować time: 1.6 #crafting stoniarki #sloty: # crafting_1 | crafting_2 | crafting_3 # crafting_4 | crafting_5 | crafting_6 # crafting_7 | crafting_8 | crafting_9 crafting_1: stone crafting_2: stone crafting_3: stone crafting_4: stone crafting_5: piston crafting_6: stone crafting_7: stone crafting_8: stone crafting_9: stone on script load: register new shaped recipe for end stone using {@crafting_1}, {@crafting_2}, {@crafting_3}, {@crafting_4}, {@crafting_5}, {@crafting_6}, {@crafting_7}, {@crafting_8}, {@crafting_9} on place of end stone: if block at event-location is end stone: if block above event-location is air: set block above event-location to stone on break of stone: set {_loc.%event-location%} to event-location wait {@time} second if block under {_loc.%event-location%} is end stone: if block at {_loc.%event-location%} is air: set block at {_loc.%event-location%} to stone #Naprawiajace sie wybuchy #Prawa autorskie Naprawiajace sie wybuchy zastrzeżone do Norbi! ~Folks1337 options: #jakich blokow ma nie naprawiac #nazwe kazdego bloku oddziel slowem "and" #np. tnt and stone and dirt blocks: tnt #po ilu sekundach od wybuchu ma naprawiac bloki time: 1 #co ile sekund ma sie odnawiac kolejny blok difference: 0.05 on explode: cancel event loop boom boomed blocks: loop-block is not {@blocks}: add location of loop-block to {_list::*} add type of loop-block to {_listT::*} set loop-block to air wait {@time} seconds loop {_list::*}: chance of 25%: set block at loop-value to {_listT::%loop-index%} remove loop-value from {_list::*} remove loop-index from {_listT::*} wait {@difference} second loop 3 times: if {_list::*} is set: loop {_list::*}: chance of 25%: set block at loop-value to {_listT::%loop-index%} remove loop-value from {_list::*} remove loop-index from {_listT::*} wait {@difference} second if {_list::*} is set: loop {_list::*}: set block at loop-value to {_listT::%loop-index%} remove loop-value from {_list::*} remove loop-index from {_listT::*} wait {@difference} second