Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # # # # # #
- # Skrypciarze team: #
- # - PatisonPlayGames #
- # - ISOPL #
- # - FejminTV #
- # # # # # # # # # # # # # # # #
- # # # # # # # # # # # # # # # #
- # Script by Skrypciarze #
- # Name: EssentialsSkript #
- # Version: Beta 2.0 #
- # Skript: 2.0.2 #
- # # # # # # # # # # # # # # # #
- #=============================================#
- # Licencja EssentialsSkript by Skrypciarze #
- # + Nie zezwalamy na: #
- # - Usuwanie tresci o autorach! #
- # - Udostepnaniu skryptu innym! #
- # - Podszywanie sie pod autorów! #
- # - Uzywanie kodu skryptu w swoich skryptach! #
- # - Zarabianie na skrypcie! #
- # + Zezwalamy na: #
- # - Dodawanie kodu na swoja potrzebe! #
- # - Modyfikowanie wiadomosci! #
- #=============================================#
- variables:
- {essentialsskript.%player%.ban} = false
- {essentialsskript.%player%.banip} = false
- {cooldown} = false
- {god.wlacz.%player%} = 0
- {god2.wlacz.%player%} = 0
- options:
- # # # # # # # # # # # # # # #
- # #
- # General Config #
- # #
- # # # # # # # # # # # # # # #
- # Tag wyswietlany przed wiadomosciami skryptu!
- tag: &4[&6EssentialssSkript&4]
- #Nazwa pliku sk.Zanim wgrasz plik i zmieniles nazwe zmien ja takze tutaj i dopiero wgraj plik!:
- sk: EssentialsSkript
- # # # # # # # # # # # # # #
- # #
- # Permissions #
- # #
- # # # # # # # # # # # # # #
- # Wiadomosc przy braku uprawnienia:
- permission: &4Nie masz uprawnien by uzywac tej komendy!
- # # # # # # # # # # # # # #
- # #
- # Command Config #
- # #
- # # # # # # # # # # # # # #
- # Wiadomosc prz 1 wejscu na serwer!
- firstjoinmessage: &9Witamy nowego gracza &6%player% &9 na serwerze!
- # Wiadomosc przy wejscu na serwer
- joinmessage: &a+ &8%player%
- #Wiadomosc przy wyjscu z serwera!:
- quitmessage: &4- &8%player%
- # Nazwa serwera!:
- servername: [Serwer]
- #Max . liczba zrsepenia potworow w komendzie /spawnmob:
- maxspawn: 11
- maxgive: 10000
- # Czy ma czekac sie 5 sekund na teleportacje true/false:
- cooldown: false
- # # # # # # # # # # # # # #
- # #
- # Chat Config #
- # #
- # # # # # # # # # # # # # #
- # Formatowanie chatu jest bardzo proste :
- # {WORLD} - odpowiada za wyswietlanie przed ranga swiat na jakim jest gracz mozna to ususnac
- # {RANK} - odpowiada za range gracza takze mozemy ja ususnac
- # {NICK} - odpowiada za nick gracza
- # {MESSAGE} - odpowiada za wiadomosc wysylana przez gracza!
- chat-format: {WORLD}{RANK}{NICK}: {MESSAGE}
- # Autor Config
- version: Beta 2.0
- # Kick Command
- # # # # # # # # # # # # # #
- # #
- # Komendy #
- # #
- # # # # # # # # # # # # # #
- command /kick [<player>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if player has permission "essentialsskript.kick or essentialsskript.*":
- if argument 1 has permission "essentialsskript.kick":
- send "{@tag} &cNie mozesz wyrzucic tego gracza!"
- stop
- else:
- kick the argument 1 due to "%arg 2%"
- broadcast "{@tag} &bGracz &c%arg 1% &bzostal wyrzucony za &c%arg 2%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &cPodaj powod!"
- stop
- else:
- send "{@tag} &cPodaj nick gracza!"
- stop
- # Ban commands:
- command /ban [<player>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if player has permission "essentialsskript.ban or essentialsskript.*":
- if argument 1 has permission "essentialsskript.ban":
- send "{@tag} &cNie mozesz zbanowac tego gracza!"
- stop
- else:
- if {essentialsskript.%arg 1%.ban} is false:
- kick the argument 1 due to "%arg 2%"
- set {essentialsskript.%arg 1%.ban} to true
- ban argument 1
- add "%arg 1%" to {essentialsskript.banlist::*}
- broadcast "{@tag} &bGracz &c%arg 1% &bzostal zbanowany za &c%arg 2%"
- stop
- else:
- send "{@tag} &cTen gracz jest juz banowany!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &cPodaj powod!"
- stop
- else:
- send "{@tag} &cPodaj nick gracza!"
- stop
- command /banlist:
- trigger:
- if player has permission "essentialsskript.banlist or essentialsskript.*":
- if {essentialsskript.banlist::*} is not set:
- send "{@tag} &cNie ma zadnych zbanowanych graczy!"
- stop
- else:
- send "{@tag} &bLista graczy zbanowanych: &c%{essentialsskript.banlist::*}%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /baniplist:
- trigger:
- if player has permission "essentialsskript.banlist or essentialsskript.*":
- if {essentialsskript.banlistip::*} is not set:
- send "{@tag} &cNie ma zadnych zbanowanych ip!"
- stop
- else:
- send "{@tag} &bLista zbanowanych ip: &c%{essentialsskript.banlistip::*}%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /banip [<player>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if player has permission "essentialsskript.ban or essentialsskript.*":
- if argument 1 has permission "essentialsskript.ban":
- send "{@tag} &cNie mozesz zbanowac tego ip !"
- else:
- if {essentialsskript.%arg 1%.banip} is false:
- kick the argument 1 due to "%arg 2%"
- set {essentialsskript.%arg 1%.banip} to true
- ban argument 1 by ip
- add "%arg 1%" to {essentialsskript.banlistip::*}
- broadcast "{@tag} &bIP &c%ip of arg 1% &bzostalo zbanowane za &c%arg 2%"
- stop
- else:
- send "{@tag} &cTo ip jest juz zbanowane!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &cPodaj powod!"
- stop
- else:
- send "{@tag} &cPodaj ip!"
- stop
- command /unbanip [<offlineplayer>]:
- trigger:
- if player has permission "essentialsskript.unban or essentialsskript.*":
- if {essentialsskript.%arg 1%.banip} is true:
- unban argument 1 by ip
- remove "%arg 1%" from {essentialsskript.banlistip::*}
- set {essentialsskript.%arg 1%.banip} to false
- broadcast "{@tag} &bIp &a%ip of arg 1% &bzostalo odbanowane!"
- stop
- else:
- send "{@tag} &cTo ip nie zostalo zbanowane!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /unban [<offlineplayer>]:
- trigger:
- if player has permission "essentialsskript.unban or essentialsskript.*":
- if {essentialsskript.%arg 1%.ban} is true:
- unban argument 1
- remove "%arg 1%" from {essentialsskript.banlist::*}
- set {essentialsskript.%arg 1%.ban} to false
- broadcast "{@tag} &bGracz &c%arg 1% &bzostal odbanowany!"
- stop
- else:
- send "{@tag} &cTen gracz nie zostal zbanowany!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- # Heal Command
- command /heal [<player>]:
- aliases: ulecz
- trigger:
- if arg 1 is not set:
- if player's health is not 10:
- if player has permission "essentialsskript.heal or essentialsskript.*":
- set the player's food level to 10
- heal the player by 10 hearts
- send "{@tag} &aUleczono!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &cTwoje zycie jest pelne!"
- stop
- if arg 1 is set:
- if argument's health is not 10:
- if player has permission "essentialsskript.heal or essentialsskript.*":
- set the argument's food level to 10
- heal the argument by 10 hearts
- send "{@tag} &bUleczono!" to arg 1
- send "{@tag} &bUleczono gracza &c%arg 1%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &cZycie tego gracza jest pelne!"
- stop
- command /feed [<player>]:
- aliases: nakarm
- trigger:
- if arg 1 is not set:
- if player's food level is not 10:
- if player has permission "essentialsskript.heal or essentialsskript.*":
- set the player's food level to 10
- send "{@tag} &bNakarmiono!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &cTwoj glod jest pelny!"
- stop
- if arg 1 is set:
- if argument's food level is not 10:
- if player has permission "essentialsskript.heal or essentialsskript.*":
- set the argument's food level to 10
- send "{@tag} &bNakarmiono!" to arg 1
- send "{@tag} &bNakarmiono gracza &c%arg 1%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &cGlod tego gracza jest pelny!"
- stop
- # Head command:
- command /hat <material>:
- aliases: czapka
- trigger:
- if player has permission "essentialsskript.hat or essentialsskript.*":
- if arg 1 is set:
- if id of argument 1 is greater than 255:
- send "{@tag} &cNie mozesz zalozyc tego itemku tylko bloki!"
- stop
- else:
- if helmet slot of the player is not empty:
- send "{@tag} &cNajpierw zdejmij przedmiot z glowy!"
- stop
- else:
- set helmet of the player to argument
- send "{@tag} &bCiesz sie nowym kapeluszem!"
- stop
- else:
- send "{@tag} &cWybierz id bloku!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /nametool [<text>]:
- aliases: nt, namet, nazwijt
- trigger:
- if player has permission "essentialsskript.clear or essentialsskript.*":
- if arg 1 is set:
- set name of the player's tool to "%coloured argument 1%"
- send "{@tag} &bTwoj przedmiot nazywa sie &c%coloured arg 1%&b!"
- stop
- else:
- send "{@tag} Podaj nazwe przedmiotu"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /clear [<player>]:
- aliases: ci
- trigger:
- if player has permission "essentialsskript.clear or essentialsskript.*":
- if arg 1 is not set:
- clear the player's inventory
- send "{@tag} &bWyczysciles swoje eq!"
- stop
- if arg 1 is set:
- clear the argument's inventory
- send "{@tag} &bWyczysciles eq gracza &c%arg 1%"
- send "{@tag} &c%player% &bwyczyscil twoje eq!" to argument 1
- stop
- else:
- send "{@tag} {@permission}"
- stop
- # Invsee commands:
- command /invsee [<player>]:
- trigger:
- if player has permission "essentialsskript.invsee or essentialsskript.*":
- if arg 1 is set:
- open the argument's inventory to the player
- stop
- else:
- send "{@tag} &c Podaj nick gracza!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- # Gamemode commands:
- command /gm <integer> [<player>]:
- trigger:
- if player has permission "esentialsskript.gamemode or essentialsskript.*":
- if arg 2 is set:
- if arg 1 is 1:
- set the gamemode of argument 2 to creative
- send "{@tag} &c%player% &bzmienil twoj tryb gry na &ccreative!" to arg 2
- send "{@tag} &bZminiels tryb gry gracza &c%arg 2% &bna creative!"
- stop
- if arg 1 is 0:
- set the gamemode of argument 2 to survival
- send "{@tag} &c%player% &bzmienil twoj tryb gry na &csurvival!" to arg 2
- send "{@tag} &bZminiels tryb gry gracza &6%arg 2% &cna survival!"
- stop
- if arg 1 is 2:
- set the gamemode of argument 2 to adventure
- send "{@tag} &c%player% &bzmienil twoj tryb gry na &cadventure!" to arg 2
- send "{@tag} &bZminiels tryb gry gracza &c%arg 2% &cna adventure!"
- stop
- else:
- if arg 1 is 1:
- set the gamemode of the player to creative
- send "{@tag} &bZmeniles swoj tryb gry na &cna creative!"
- stop
- if arg 1 is 0:
- set the gamemode of the player to survival
- send "{@tag} &bZmeniles swoj tryb gry na &cna survival!"
- stop
- if arg 1 is 2:
- set the gamemode of the player to adventure
- send "{@tag} &bZmeniles swoj tryb gry na &cna adventure!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- # List all players:
- command /list:
- trigger:
- send "&8===={@tag}&8====="
- send "&aNa serwerze jest aktualnie : &6%number of all players%"
- send "&aGracze: &6%all players%"
- send "&8================="
- stop
- command /sun:
- aliases: slonce
- trigger:
- if player has permission "essentialsskript.sun or essentialsskript.*":
- set the weather in the player's world to sun
- send "{@tag} &bUstawiles pogode w swiecie &c%player's world% &b na &csloneczna!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /rain:
- aliases: deszcz
- trigger:
- if player has permission "essentialsskript.rain or essentialsskript.*":
- set the weather in the player's world to rain
- send "{@tag} &bUstawiles pogode w swiecie &c%player's world% &8 na &6deszczowa!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /break:
- aliases: zniszcz
- trigger:
- if player has permission "essentialsskript.break or essentialsskript.*":
- if targeted block is not air:
- if player can build at targeted block:
- set targeted block to air
- send "{@tag} &bZniszczyles blok na ktory patrzyles!"
- stop
- else:
- send "{@tag} &bTutaj jest cuboid i nie mozesz tego zniszczyc!"
- stop
- else:
- send "{@tag} &cNie mozesz zniszczyc powietrza !"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /nick [<player>] [<text>]:
- trigger:
- if arg 1 is not set:
- if player has permission "essentialsskript.nick or essentialsskript.*":
- if arg 2 is set:
- set the player's display name to "%colored arg 2%"
- set the player's tablist name to "%colored arg 2%"
- send "{@tag} &bTwoj przydomek to&c %colored arg 2%"
- stop
- else:
- send "{@tag} &cPodaj swoj przydomek!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- if arg 1 is set:
- if player has permission "essentialsskript.nick or essentialsskript.*":
- if arg 2 is set:
- set the argument 1's display name to "%colored arg 2%"
- set the argument 1's tablist name to "%colored arg 2%"
- send "{@tag} &bTwoj przydomek to &c%colored arg 2%" to arg 1
- stop
- else:
- send "{@tag} &cPodaj przydomek gracza!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /nickoff:
- trigger:
- if player has permission "essentialsskript.nick or essentialsskript.*":
- set the player's display name to "%player%"
- set the player's tablist name to "%player%"
- send "{@tag} &bTwoj przydomek to &c%player%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- #Day command
- command /day:
- aliases: dzien
- trigger:
- if player has permission "essentialsskript.day or essentialsskript.*":
- set time in the player's world to 8:00
- send "{@tag} &bUstawiles dzien w swiecie &c%player's world%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- #Night command
- command /night:
- aliases: noc
- trigger:
- if player has permission "essentialsskript.night or essentialsskript.*":
- set time in the player's world to 19:00
- send "{@tag} &bUstawiles noc w swiecie &c%player's world%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /tp [<player>] [<player>]:
- trigger:
- if player has permission "essentialsskript.tp or essentialsskript.*":
- if arg 1 is set:
- if arg 2 is not set:
- teleport player to argument 1
- send "{@tag} &bPrzeteleportowales sie do gracza &c%arg 1%"
- send "{@tag} &c%player% &bprzeteleportowal sie do ciebie!" to argument 1
- stop
- if arg 1 is player:
- if arg 2 is set:
- teleport player to argument 2
- send "{@tag} &bPrzeteleportowales sie do gracza &c%arg 2%"
- send "{@tag} &c%player% &bprzeteleportowal sie do ciebie!" to argument 2
- stop
- if arg 1 is set:
- if arg 2 is player:
- teleport argument 1 to the player
- send "{@tag} &bPrzeteleportowales gracza &c%arg 1%&b do siebie!"
- send "{@tag} &c%player% &bprzeteleportowal cie do siebie!" to argument 1
- stop
- if arg 1 is set:
- if arg 2 is set:
- teleport argument 1 to argument 2
- send "{@tag} &bPrzeteleportowales gracza &c%arg 1%&b do &c%arg 2%!"
- send "{@tag} &c%player% &bprzeteleportowal gracza &c%arg 1%&b do ciebie!" to argument 2
- send "{@tag} &c%player% &bprzeteleportowal gracza &c%arg 2%&b do ciebie!" to argument 1
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /tpall:
- trigger:
- if player has permission "essentialsskript.tpall or essentialsskript.*":
- teleport all players to the player
- broadcast "{@tag} &bGracz &c%player% &bprzteleportowal wszystkich do siebie!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /time:
- aliases: czas
- trigger:
- if player has permission "essentialsskript.time or essentialsskript.*":
- send "{@tag} &bCzas na twoim swiecie to &c%time of world%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on first join:
- set join message to "{@firstjoinmessage}"
- stop
- on join:
- if player has played on this server before:
- set join message to "{@joinmessage}"
- stop
- on quit:
- set quit message to "{@quitmessage}"
- stop
- command /say [<text>]:
- trigger:
- if player has permission "essentialsskript.say or essentialsskript.*":
- if arg 1 is set:
- broadcast "{@servername} %colored arg 1%"
- stop
- else:
- send "{@tag} &cPodaj wiadomosc!"
- stop
- command /broadcast [<text>]:
- aliases: bc
- trigger:
- if player has permission "essentialsskript.broadcast or essentialsskript.*":
- if arg 1 is set:
- broadcast "{@servername} %colored arg 1%"
- stop
- else:
- send "{@tag} &cPodaj wiadomosc!"
- stop
- command /near [<integer = 10>]:
- trigger:
- if player has permission "essentialsskript.near or essentialsskript.*":
- if arg 1 is set:
- clear {near::*}
- loop players in radius argument 1 of the player:
- add loop-player to {near::*}
- message "{@tag} &6Najblizsi gracze:&c %{near::*}%"
- stop
- else:
- send "{@tag} &cPodaj odleglosc!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /fireball:
- aliases: fb
- trigger:
- if player has permission "essentialsskript.fireball or essentialsskript.*":
- shoot a fireball at speed 3
- else:
- send "{@tag} {@permission}"
- stop
- command /chatclear:
- aliases: cc
- trigger:
- if player has permission "essentialsskript.chatclear or essentialsskript.*":
- loop 98 times:
- broadcast ""
- broadcast "{@tag} &aChat zostal wyczyszcony przez admina!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /chat [<text>]:
- trigger:
- if player has permission "essentialsskript.chat or essentialsskript.*":
- if arg 1 is "on":
- set {essentialsskript.chat.allowed} to false
- broadcast ""
- broadcast " {@servername} "
- broadcast " Chat zostal &2Wlaczony! "
- broadcast ""
- broadcast ""
- stop
- if arg 1 is "off":
- set {essentialsskript.chat.allowed} to true
- broadcast ""
- broadcast " {@servername} "
- broadcast " Chat zostal &4wylaczony! "
- broadcast ""
- broadcast ""
- stop
- send "{@tag} &6Uzyj: &c/chat on/off"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /smite [<player>]:
- aliases: thor
- trigger:
- if player has permission "essentialsskript.smite or essentialsskript.*":
- if argument 1 is set:
- strike lightning at argument 1
- message "{@tag} &8Zostales uderzony piorunem!" to argument 1
- else:
- strike lightning at the target block
- command /jump:
- aliases: j, jumpto, skocz
- trigger:
- if player has permission "essentialsskript.jump or essentialsskript.*":
- if targeted block is not air:
- teleport player above location of targeted block
- send "{@tag} &bTeleportacja!"
- stop
- else:
- send "{@tag} &cNie odnaleziono lokacji!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /setspawn:
- trigger:
- if player has permission "essentialsskript.setspawn or essentialsskript.*":
- set {essentialsskript.spawn} to location of player
- send "{@tag} &7Ustawiono spawn!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /spawn:
- trigger:
- if player has permission "essentialsskript.spawn or essentialsskript.*":
- if {essentialsskript.spawn} is set:
- if {cooldown} is false:
- teleport player to {essentialsskript.spawn}
- send "{@tag} &7Teleportacja!"
- stop
- else:
- set {_pos} to location of player
- send "{@tag}&7Czekaj &65 sekund&7, nie wolno Ci sie ruszyc!"
- if {_pos} isn't location of player:
- send "{@tag}&cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "{@tag}&cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "{@tag}&cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "{@tag}&cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "{@tag}&cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} is location of player:
- teleport player to {essentialsskript.spawn}
- send "{@tag}&7Teleportacja..."
- stop
- else:
- send "{@tag}&cWykryto ruch, teleportacja anulowana!"
- stop
- else:
- send "{@tag} &cSpawn nie zostal ustawiony skontaktuj sie z administratorem!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on death of player:
- if player has permission "essentialsskript.back or essentialsskript.*":
- clear {essentialsskript.%player%.back}
- set {essentialsskript.%player%.back} to location of player
- stop
- command /back:
- aliases: wroc
- trigger:
- if player has permission "essentialsskript.back or essentialsskript.*":
- if {essentialsskript.%player%.back} is set:
- teleport player to {essentialsskript.%player%.back}
- send "{@tag} &bPrzeteleportowano na poprzednie miejsce!"
- stop
- else:
- send "{@tag} &cNie masz gdzie wrocic!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on respawn:
- teleport player to {essentialsskript.spawn}
- if player has permission "essentialsskript.back or essentialsskript.*":
- send "{@tag} &7Aby wrocic wpisz &c/back"
- stop
- on chat:
- if {essentialsskript.chat.allowed} is true:
- if player has permission "essentialsskript.chat.allowed or essentialsskript.*":
- set {_chat} to "{@chat-format}"
- replace all "{RANK}" with "%coloured player's prefix%" in {_chat}
- replace all "{NICK}" with "%display name of player%" in {_chat}
- replace all "{MESSAGE}" with "&f%coloured message%" in {_chat}
- replace all "{WORLD}" with "&8[&6%player's world%&8]" in {_chat}
- send "%{_chat}%" to all players
- cancel event
- stop
- else:
- send "{@tag} &cChat jest obecnie wylaczony!"
- cancel event
- stop
- if {mute.%player%} is true:
- send "{@tag} &cJestes zmutowany!"
- cancel event
- stop
- set {_chat} to "{@chat-format}"
- replace all "{RANK}" with "%coloured player's prefix%" in {_chat}
- replace all "{NICK}" with "%display name of player%" in {_chat}
- replace all "{MESSAGE}" with "&f%coloured message%" in {_chat}
- replace all "{WORLD}" with "&8[&6%player's world%&8]" in {_chat}
- send "%{_chat}%" to all players
- cancel event
- command /killall:
- aliases: butcher
- trigger:
- if player has permission "essentialsskript.killall or essentialsskript.*":
- kill all creatures in the player's world
- send "{@tag} &cZabito wszystkie stwory!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /killallplayers:
- trigger:
- if player has permission "essentialsskript.killall or essentialsskript.*":
- kill all players in the player's world
- send "{@tag} &cZabito wszystkich graczy!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /sethome:
- aliases: ustawdom
- trigger:
- if player has permission "essentialsskript.sethome or essentialsskript.*":
- set {essentialsskript.%player%.home} to location of player
- send "{@tag} &bUstawiono home!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /home:
- aliases: dom
- trigger:
- if player has permission "essentialsskript.home or essentialsskript.*":
- if {essentialsskript.%player%.home} is set:
- if {cooldown} is false:
- teleport player to {essentialsskript.%player%.home}
- send "{@tag} &aTeleportacja!"
- stop
- else:
- set {_pos} to location of player
- send "{@tag} &7Czekaj &65 sekund&7, nie wolno Ci sie ruszyc!"
- if {_pos} isn't location of player:
- send "{@tag} &cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "{@tag} &cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "{@tag} &cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "{@tag} &cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "{@tag} &cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} is location of player:
- teleport player to {essentialsskript.%player%.home}
- send "{@tag} &bTeleportacja..."
- stop
- else:
- send "{@tag} &cWykryto ruch, teleportacja anulowana!"
- stop
- else:
- send "{@tag} &cHome nie zostal ustawiony skontaktuj sie z administratorem!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /delhome:
- trigger:
- if player has permission "essentialsskript.delhome or essentialsskript.*":
- if {essentialsskript.%player%.home} is set:
- delete {essentialsskript.%player%.home}
- send "{@tag} &bUsunieto home!"
- stop
- else:
- send "{@tag} &cNie masz domu!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on leftclick on bed:
- if player has permission "essentialsskript.home or essentialsskript.*":
- set {essentialsskript.%player%.home} to location of player
- send "{@tag} &bUstawiono home!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /vanish [<player>]:
- aliases: v, niewidzialnosc
- trigger:
- if player has permission "essentialsskript.vanish or essentialsskript.*":
- if {essentialsskript.%player%.vanish} is false:
- hide arg 1 from all players
- set {essentialsskript.%player%.vanish} to true
- send "{@tag} &7Jestes niewidzialny!!!"
- stop
- if {essentialsskript.%player%.vanish} is true:
- reveal arg 1 to all players
- set {essentialsskript.%player%.vanish} to false
- send "{@tag} &7Jestes widoczny!"
- stop
- if arg 1 is not set:
- if {essentialsskript.%player%.vanish} is not set:
- set {essentialsskript.%player%.vanish} to false
- send "{@tag} &6Wlaczono komende vanish!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /whois [<player>]:
- aliases: ktoto
- trigger:
- if player has permission "essentialsskript.whois or essentialsskript.*":
- send "&6Nick: &7%argument 1%"
- send "&6Swiat: &7%world of argument 1%"
- send "&6IP: &7%IP of argument 1%"
- send "&6Polozenie: &7%location of argument 1%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- aliases:
- nonsolid = 0, 6, 27, 28, 30, 31, 32, 37, 38, 39, 40, 50, 55, 59, 63, 64, 65, 66, 68, 69, 70, 71, 72, 75, 76, 77, 78:0, 83, 85:4-7, 104, 105, 106, 111, 115, 131, 132, 141, 142, 143, 147, 148, 157
- command /top:
- trigger:
- player has permission "essentialsskript.top or essentialsskript.*":
- loop blocks above player:
- loop-block is not air or lava
- block above loop-block is air
- block 2 above loop-block is air
- teleport player to block above loop-block
- send "{@tag} &bTeleportacja na najwyzszy klocek!"
- stop
- send "{@tag} &cBlad teleportacji!"
- stop
- send "{@tag} {@permission}"
- on rightclick with compass:
- if player has permission "essentialsskript.compass or essentialsskript.*":
- loop blocks above targeted block:
- if targeted block is not air:
- loop-block is nonsolid
- block above loop-block is nonsolid
- teleport player above location of targeted block
- stop
- else:
- send "{@tag} &cBlad teleportacji!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /spawnmob [<entity type>] [<integer = 1>]:
- trigger:
- if player has permission "essentialsskript.spawnmob or essentialsskript.*":
- if arg 1 is set:
- if argument 2 is more than {@maxspawn}:
- send "{@tag} &cMaksymalna ilosc zrepienia mobow to &b{@maxspawn}!"
- stop
- if argument 2 is less than {@maxspawn}:
- set {essentialsskript.%player%.spawnamount} to argument 2
- wait 1 tick
- spawn {essentialsskript.%player%.spawnamount} of argument 1 at the target block
- send "{@tag} &bZrespiles &c%argument 2%&b %argument 1%"
- stop
- else:
- send "{@tag} &cPodaj typ moba!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /kill [<player>]:
- trigger:
- if player has permission "essentialsskrip.kill or essentialsskript.*":
- kill argument 1
- send "{@tag} &7Zabito gracza &6%arg 1%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /i [<item>] [<integer = 1>]:
- aliases: item, items, give, get
- trigger:
- if player has permission "essentialsskript.give or essentialsskript.*":
- if arg 1 is set:
- if argument 2 is more than {@maxgive}:
- send "{@tag} &cMaksymalna ilosc zrepienia przedmiotow to &b{@maxgive}!"
- stop
- if argument 2 is less than {@maxgive}:
- set {essentialsskript.%player%.ilosc} to argument 2
- wait 1 tick
- give {essentialsskript.%player%.ilosc} of argument 1 to player
- stop
- else:
- send "{@tag} &cPodaj nazwe/id itemu!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /tnt:
- trigger:
- if player has permission "essentialsskript.tnt":
- create explosion of force 4 at the target block
- send "{@tag} &bBum!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /god [<player>]:
- aliases: niesmiertelnosc
- trigger:
- if player has permission "essentialsskript.god or essentialsskript.*":
- if {god.wlacz.%player%} = 0:
- message "{@tag} &bGod wlaczony"
- set {god.wlacz.%player%} to 1
- set {god2.wlacz.%player%} to 1
- else:
- message "{@tag} &bGod wylaczony"
- set {god.wlacz.%player%} to 0
- set {god2.wlacz.%player%} to 0
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on damage:
- if {god2.wlacz.%victim%} is 1:
- cancel event
- command /me [<text>]:
- trigger:
- if player has permission "essentialsskript.me or essentialsskript.*":
- if arg 1 is set:
- broadcast "&5* &4%player%&5 %argument 1%"
- stop
- else:
- send "{@tag} &cPodaj wiadomosc!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /getpos:
- trigger:
- if player has permission "essentialsskript.getpos or essentialsskript.*":
- send "{@tag} &bTwoje polozenie &c%location of player%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /repair:
- aliases: napraw
- trigger:
- if player has permission "essentialsskript.repair or essentialsskript.*":
- repair tool of the player
- send "{@tag} &bNaprawiono twoj przedmiot."
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /burn [<player>]:
- aliases: podpal
- trigger:
- if player has permission "essentialsskript.fire or essentialsskript.*":
- if arg 1 is set:
- ignite argument 1
- send "{@tag} &bPodpaliles gracza %arg 1%"
- stop
- else:
- send "{@tag} &cPodaj nick gracza!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /endersee [<player>]:
- trigger:
- if player has permission "essentialsskript.endersee or essentialsskript.*":
- if arg 1 is set:
- open the player's ender chest to the player
- stop
- else:
- send "{@tag} &cPodaj nick gracza!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /tell [<player>] [<text>]:
- aliases: r, msg
- trigger:
- if player has permission "essentialsskript.tell or essentialsskript.*":
- if arg 1 is set:
- if arg 2 is set:
- send "&6[Ja -> &7%player%&6]&f %arg 2%" to argument 1
- message "&6[&7%arg 1% &6-> Ja&6]&f %arg 2%"
- set {essentialsskript.%arg 1%.reply} to player
- stop
- else:
- send "{@tag} &cPodaj wiadomosc!"
- stop
- else:
- send "{@tag} &cPodaj gracza!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /afk:
- trigger:
- if player has permission "essentialsskript.afk or essentialsskript.*":
- if {afk.%player%} is not set:
- set {afk.%player%} to true
- send "{@tag} &6Wlaczono komende afk!"
- stop
- if {afk.%player%} is true:
- set {afk.%player%} to false
- broadcast "<yellow>%player% <pink>jest teraz &fAFK"
- stop
- if {afk.%player%} is false:
- set {afk.%player%} to true
- broadcast "<yellow>%player% <pink>juz nie jest &fAFK"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /mute [<player>]:
- trigger:
- if player has permission "essentialsskript.mute or essentialsskript.*":
- if arg 1 is set:
- set {mute.%argument 1%} to true
- send "{@tag} &bZostales wyciszony" to argument 1
- send "{@tag} &bWyciszyles gracza &6%arg 1%"
- stop
- else:
- send "{@tag} &cPodaj nick gracza!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /fly [<player>]:
- trigger:
- if player has permission "essentialsskript.fly or essentialsskript.*":
- if {essentialsskript.%player%.fly} is false:
- allow arg 1 to fly
- set {essentialsskript.%player%.fly} to true
- send "{@tag}&b Wlaczyles fly graczowi &c%arg 1%"
- stop
- if {essentialsskript.%player%.fly} is true:
- disallow arg 1 to fly
- set {essentialsskript.%player%.fly} to false
- send "{@tag}&b Wylaczyles fly graczowi &c%arg 1%"
- stop
- if {essentialsskript.%player%.fly} is not set:
- set {essentialsskript.%player%.fly} to false
- send "{@tag} &bWlaczono komende fly!"
- stop
- else:
- send "{@tag} &cPodaj nick gracza"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /unmute [<player>]:
- trigger:
- if player has permission "essentialsskript.mute or essentialsskript.*":
- if arg 1 is set:
- if {mute.%argument 1%} is true:
- set {mute.%argument 1%} to false
- send "{@tag} &bZnow mozesz mowic" to argument 1
- stop
- else:
- send "{@tag} &cTen Gracz nie jest wyciszony!"
- stop
- else:
- send "{@tag} &cPodaj gracza!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /essentialsskript [<text>]:
- aliases: es, essentials
- trigger:
- if arg 1 is not set:
- send "{@tag} &eEssentialsSkript by PatisonPlayGames [FejminTV ,ISOPL]"
- send "{@tag} &eWiecej pod /pomoc"
- stop
- if arg 1 is "reload":
- if player has permission "essentialsskript.reload" or "essentialsskript.*":
- execute console command "/sk reload {@sk}"
- send "{@tag} &bPrzeladowano!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /enchant <enchantment type>:
- aliases: ench
- trigger:
- if arg 1 is set:
- if player has permission "essentialsskript.enchant or essentialsskript.*":
- enchant player's tool with argument
- send "{@tag} &bZenchantowales przedmiot &c%arg 1%!"
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /pomoc [<text>]:
- trigger:
- player has permission "essentialsskript.pomoc or essentialsskript.*":
- if arg 1 is not set:
- send "&b---- &4[&6Pomoc&4] &b-- &4[&6Strona &c1&7/&c5&4] &b---"
- send "&6/kick&f: Kickowanie graczy"
- send "&6/ban&f: Banowanie graczy"
- send "&6/banlist&f: Lista banow"
- send "&6/banip&f: Banowanie graczy na ip"
- send "&6/unban&f: Odbanowywanie graczy"
- send "&6/heal&f: Leczenie graczy"
- send "&6/feed&f: Zaspokojenie glodu graczu"
- send "&6/clear&f: Usuwanie itemow z eq"
- send "&6/invsee&f: Patrzenie do eq graczom"
- send "&6/gm&f: Zmienianie trybu gry"
- send "&6/list&f: Lista graczy na serwerze"
- send "&6/sun&f: Sloneczna pogoda"
- send "&7Wpisz &c/pomoc 2&7 aby przeczytac nastepna strone"
- if arg 1 is "1":
- send "&b---- &4[&6Pomoc&4] &b-- &4[&6Strona &c1&7/&c5&4] &b---"
- send "&6/kick&f: Kickowanie graczy"
- send "&6/ban&f: Banowanie graczy"
- send "&6/banlist&f: Lista banow"
- send "&6/banip&f: Banowanie graczy na ip"
- send "&6/unban&f: Odbanowywanie graczy"
- send "&6/heal&f: Leczenie graczy"
- send "&6/feed&f: Zaspokojenie glodu graczu"
- send "&6/clear&f: Usuwanie itemow z eq"
- send "&6/invsee&f: Patrzenie do eq graczom"
- send "&6/gm&f: Zmienianie trybu gry"
- send "&6/list&f: Lista graczy na serwerze"
- send "&6/sun&f: Sloneczna pogoda"
- send "&7Wpisz &c/pomoc 2&7 aby przeczytac nastepna strone"
- if arg 1 is "2":
- send "&b---- &4[&6Pomoc&4] &b-- &4[&6Strona &c2&7/&c5&4] &b---"
- send "&6/rain&f: Deszczowa pogoda"
- send "&6/break&f: Niszczenie bloku na ktory sie patrzy"
- send "&6/nick&f: Zmienianie nicku"
- send "&6/nickoff&f: Powracanie do swojego pierwotnego nicku"
- send "&6/day&f: Dzien"
- send "&6/night&f: Noc"
- send "&6/tp&f: Teleportacja"
- send "&6/tpall&f: Teleportowanie wszystkich graczy"
- send "&6/time&f: Sprawdzanie czasu"
- send "&6/say&f: wiadomosc na chat'cie"
- send "&6/broadcast&f: Ogloszenie"
- send "&6/near&f: Gracze w poblizu"
- send "&6/broadcast&f: Ogloszenie"
- send "&6/fireball&f: Plonaca kula"
- send "&7Wpisz &c/pomoc 3&7 aby przeczytac nastepna strone"
- if arg 1 is "3":
- send "&b---- &4[&6Pomoc&4] &b-- &4[&6Strona &c3&7/&c5&4] &b---"
- send "&6/chatclear&f: Usuwanie chat'u"
- send "&6/chat&f: Wylaczanie/Wlaczanie chat'u"
- send "&6/smite&f: Pioruny"
- send "&6/jump&f: Skok na blok ktory sie patrzy"
- send "&6/setspawn&f: Ustawianie spawnu"
- send "&6/spawn&f: Telelportacja na spawn"
- send "&6/back&f: Wracanie do ostatniej lokalizacji"
- send "&6/killall&f: Zabijanie wszystkich mobow"
- send "&6/killallplayers&f: Zabijanie wszystkich graczy"
- send "&6/sethome&f: Ustawianie home"
- send "&6/home&f: Teleportacja na home"
- send "&6/delhome&f: Usuwanie home"
- send "&7Wpisz &c/pomoc 4&7 aby przeczytac nastepna strone"
- if arg 1 is "4":
- send "&b---- &4[&6Pomoc&4] &b-- &4[&6Strona &c4&7/&c5&4] &b---"
- send "&6/vanish&f: Niewidzialnosc"
- send "&6/whois&f: Informacje o graczu"
- send "&6/top&f: Teleportacja na powierzchnie"
- send "&6/kill&f: Zabijanie gracza"
- send "&6/tnt&f: Tworzenie explozii TNT"
- send "&6/god&f: Niesmiertelnosc"
- send "&6/me&f: Pisanie na chat'cie"
- send "&6/essentialsskript&f: Autorzy skryptu"
- send "&6/repair&f: Podpala"
- send "&6/tell&f: Wysyla wiadomosc"
- send "&6/mute&f: Wyciszasz gracza"
- send "&6/unmute&f: Gracz moze znow mowic"
- send "&6/endersee&f: Sprawdzanie enderchest graczowi"
- send "&7Wpisz &c/pomoc 5&7 aby przeczytac nastepna strone"
- if arg 1 is "5":
- send "&b---- &4[&6Pomoc&4] &b-- &4[&6Strona &c5&7/&c5&4] &b---"
- send "&6/setwarp&f: Ustawia warpa"
- send "&6/warplist&f: Lista warpow"
- send "&6/warp&f: Teleportacja na dany warp"
- send "&6/selwarp&f: Usuwanie warpow"
- send "&6/tree&f: Tworzy drzewo"
- send "&6/firework&f: Strzela fajerwerka"
- send "&6/afk&f: ustawia AFK"
- send "&6/enchant&f: Enchantuje item"
- send "&6/fly&f: Latanie"
- send "&6/tppos&f: Teleportacja na dane kordy"
- stop
- on sign change:
- if player has permission "essentialsskript.color.sign" or "essentialsskript.*":
- set line 1 to coloured line 1
- set line 2 to coloured line 2
- set line 3 to coloured line 3
- set line 4 to coloured line 4
- stop
- on chat:
- if player has permission "essentialsskript.color.chat" or "essentialsskript.*":
- set message to coloured message
- stop
- command /tphere [<player>]:
- aliases: s
- trigger:
- if player has permission "essentialsskript.tphere" or "essentialsskript.*":
- if arg 1 is set:
- teleport argument 1 to the player
- send "{@tag} &bTeleportacja..."
- stop
- else:
- send "{@tag} &cPodaj nick gracza!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /setwarp [<text>]:
- trigger:
- if player has permission "essentialsskript.createwarp or essentialsskript.*":
- arg is set:
- {essentialsskript.warp.%arg%} is not set:
- set {essentialsskript.warp.%argument%} to location of the player
- add "%arg%" to {essentialsskript.warp.warplist::*}
- message "{@tag} &bStworzyles warp &c%argument%!"
- else:
- send "{@tag} &bTaki warp juz istenieje"
- stop
- else:
- send "{@tag} &cPodaj nazwe warpa"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /warp [<text>]:
- trigger:
- if player has permission "essentialsskript.warp or essentialsskript.*":
- if {essentialsskript.warp.%argument%} is not set:
- message "{@tag} &bWarp '%argument%' nie zostal odnaleziony!"
- if {essentialsskript.warp.%argument%} is set:
- send "{@tag} &bTeleportacja do &c%argument 1%&b za &c2 &bsekundy!"
- wait 2 seconds
- teleport the player to {essentialsskript.warp.%argument%}
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /delwarp [<text>]:
- trigger:
- if player has permission "essentialsskript.delwarp or essentialsskript.*":
- arg is set:
- {essentialsskript.warp.%argument%} is set:
- delete {essentialsskript.warp.%argument%}
- remove "%arg%" from {essentialsskript.warp.warplist::*}
- send "{@tag} &bWarp &c%arg%&b zostal usuniety."
- stop
- send "{@tag} &bTaki nie istnieje. &c/warplist"
- stop
- send "{@tag} &bPodaj nazwe warpa. &c/usunwarp <warp>"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /warplist:
- trigger:
- if player has permission "essentialsskript.warp or essentialsskript.*":
- {essentialsskript.warp.warplist::*} is set:
- send "{@tag} &bLista warpow:"
- send "%{essentialsskript.warp.warplist::*}%"
- stop
- send "{@tag} &bBrak dostepnych warpow."
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /firework:
- trigger:
- if player has permission "essentialsskript.firework or essentialsskript.*":
- shoot a firework
- stop
- # # # # # # # # # # # # # # ## # # # # # # # # # # # # # #
- # #
- # Tabliczki #
- # #
- # # # # # # # # # # # # # # ## # # # # # # # # # # # # # #
- # # # # # # # # # # # # # # #
- # #
- # Gamemode #
- # #
- # # # # # # # # # # # # # # #
- on rightclick on sign:
- if player has permission "essentialsskript.sign.use or essentialsskript.*":
- if line 2 of the clicked block is "survival":
- set the gamemode of the player to survival
- heal the player by 10 hearts
- send "{@tag} &bZmeniles swoj tryb gry na &cna survival!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on rightclick on sign:
- if player has permission "essentialsskript.sign.use or essentialsskript.*":
- if line 2 of the clicked block is "creative":
- set the gamemode of the player to creative
- heal the player by 10 hearts
- send "{@tag} &bZmeniles swoj tryb gry na &cna creative!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on rightclick on sign:
- if player has permission "essentialsskript.sign.use or essentialsskript.*":
- if line 2 of the clicked block is "adventure":
- set the gamemode of the player to adventure
- send "{@tag} &bZmeniles swoj tryb gry na &cna adventure!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on sign change:
- if line 1 is "[gm]":
- if line 2 is "1":
- set line 1 to "&1&l[GameMode]"
- set line 2 to "creative"
- send "{@tag} &6Stworzono tabliczke z gamemode!"
- stop
- if line 2 is "0":
- set line 1 to "&1&l[GameMode]"
- set line 2 to "survival"
- send "{@tag} &6Stworzono tabliczke z gamemode!"
- stop
- if line 2 is "2":
- set line 1 to "&1&l[GameMode]"
- set line 2 to "adventure"
- send "{@tag} &6Stworzono tabliczke z gamemode!"
- stop
- else:
- set line 1 to "&c&lError!"
- stop
- # # # # # # # # # # # # # # #
- # #
- # Warp #
- # #
- # # # # # # # # # # # # # # #
- on right click on sign:
- if line 1 of clicked block is "&1&L[Warp]":
- if {essentialsskript.warp.%line 2 of clicked block%} is set:
- apply nausea 2 to the player for 5 seconds
- send "{@tag} &bTeleportacja do &c%line 2 of clicked block%&b za &c2 &bsekundy!"
- wait 2 seconds
- teleport the player to {essentialsskript.warp.%line 2 of clicked block%}
- if {essentialsskript.warp.%line 2 of clicked block%} is not set:
- set line 3 to "&4BLEDNA"
- set line 4 to "&4NAZWA WARPA"
- on sign change:
- if player has permission "essentialsskript.warp.sign":
- if line 1 is "[warp]":
- set line 1 to "&1&L[Warp]"
- stop
- # # # # # # # # # # # # # # #
- # #
- # Pogoda #
- # #
- # # # # # # # # # # # # # # #
- on rightclick on sign:
- if player has permission "essentialsskript.sign.use or essentialsskript.*":
- if line 2 of the clicked block is "deszcz":
- set the weather in the player's world to rain
- send " &bUstawiles pogode w swiecie &c%player's world% &8 na &6deszczowa!"
- else:
- send "{@tag} {@permission}"
- stop
- on rightclick on sign:
- if player has permission "essentialsskript.sign.use or essentialsskript.*":
- if line 2 of the clicked block is "slonce":
- set the weather in the player's world to sun
- send " &bUstawiles pogode w swiecie &c%player's world% &8 na &6sloneczna!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on sign change:
- if line 1 is "[weather]":
- if line 2 is "sun":
- set line 1 to "&1&l[weather]"
- set line 2 to "sun"
- stop
- if line 2 is "rain":
- set line 1 to "&1&l[weather]"
- set line 2 to "rain"
- stop
- if line 1 is not "sun" or "rain":
- set line 1 to "&c&lError"
- stop
- # # # # # # # # # # # # # # #
- # #
- # Czas #
- # #
- # # # # # # # # # # # # # # #
- on rightclick on sign:
- if player has permission "essentialsskript.sign.use or essentialsskript.*":
- if line 2 of the clicked block is "noc":
- set time in the player's world to 19:00
- send "&bUstawiles noc w swiecie &c%player's world%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on rightclick on sign:
- if player has permission "essentialsskript.sign.use or essentialsskript.*":
- if line 2 of the clicked block is "dzien":
- set time in the player's world to 8:00
- send "&bUstawiles dzien w swiecie &c%player's world%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on sign change:
- if line 1 is "[time]":
- if line 2 is "dzien":
- set line 2 to "dzien"
- set line 1 to "&1&l[Time]"
- stop
- if line 2 is "noc":
- set line 2 to "noc"
- set line 1 to "&1&l[Time]"
- stop
- if line 1 is not "noc" or "dzien":
- set line 1 to "&c&lError"
- stop
- # # # # # # # # # # # # # # #
- # #
- # Naprawa #
- # #
- # # # # # # # # # # # # # # #
- on rightclick on sign:
- if player has permission "essentialsskript.sign.use or essentialsskript.*":
- if line 2 of the clicked block is "hand":
- repair tool of the player
- send "{@tag} &bNaprawiles przedmiot trzymany w rece!"
- stop
- if line 2 of the clicked block is "all":
- repair all items in the player's inventory
- send "{@tag} &bNaprawiles wszystkie przedmioty!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on sign change:
- if line 1 is "[repair]":
- if line 2 is "hand":
- set line 1 to "&1&l[Repair]"
- set line 2 to "hand"
- if line 2 is "all":
- set line 1 to "&1&l[Repair]"
- set line 2 to "all"
- if line 2 is not "all" or "hand":
- set line 1 to "&c&lError!"
- stop
- # # # # # # # # # # # # # # #
- # #
- # Ulecz #
- # #
- # # # # # # # # # # # # # # #
- on rightclick on sign:
- if player has permission "essentialsskript.sign.use or essentialsskript.*":
- if line 2 of the clicked block is "gracza":
- set the player's food level to 10
- heal the player by 10 hearts
- send "{@tag} &bUleczyles sie!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on sign change:
- if line 1 is "[ulecz]":
- if line 2 is "g":
- set line 1 to "&1&l[Ulecz]"
- set line 2 to "Gracza"
- else:
- set line 1 to "&c&lError!"
- stop
- command /tppos [<integer>] [<integer>] [<integer>] [<player=%player%>]:
- trigger:
- if player has permission "essentialsskript.topos" or "essentialsskript.*":
- if arg 1 is set:
- if arg 2 is set:
- if arg 3 is set:
- set {_currentlocation} to location of arg-player
- set {_relative.x} to rounded down the x coord of {_currentlocation}
- subtract arg-1 from {_relative.x}
- set {_relative.y} to rounded down the y coord of {_currentlocation}
- subtract arg-2 from {_relative.y}
- set {_relative.z} to rounded down the z coord of {_currentlocation}
- subtract arg-3 from {_relative.z}
- set {_destinationx} to the block {_relative.x} west of the block at {_currentlocation}
- set {_destinationy} to the block {_relative.y} below the block at {_destinationx}
- set {_destination} to the block {_relative.z} north of the block at {_destinationy}
- teleport the player to {_destination}
- else:
- send "{@tag} &cPodaj kordy z!"
- stop
- else:
- send "{@tag} &cPodaj kordy y!"
- stop
- else:
- send "{@tag} &cPodaj kordy x!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /tree:
- trigger:
- if player has permission "essentialsskript.tree" or "essentialsskript.*":
- if targeted block is grass:
- set block above targeted block to oak log
- set block 2 above targeted block to oak log
- set block 3 above targeted block to oak log
- set block 4 above targeted block to oak log
- set block 5 above targeted block to oak log
- set block 6 above targeted block to oak log
- set block 6 above targeted block to oak leaves
- set block 1 north 1 west 5 above targeted block to oak leaves
- set block 1 north 1 east 5 above targeted block to oak leaves
- set block 1 south 1 west 5 above targeted block to oak leaves
- set block 1 south 1 east 5 above targeted block to oak leaves
- set block 1 west 6 above targeted block to oak leaves
- set block 1 south 6 above targeted block to oak leaves
- set block 1 north 6 above targeted block to oak leaves
- set block 1 east 6 above targeted block to oak leaves
- set block 1 west 5 above targeted block to oak leaves
- set block 1 south 5 above targeted block to oak leaves
- set block 1 north 5 above targeted block to oak leaves
- set block 1 east 5 above targeted block to oak leaves
- set block 1 west 3 above targeted block to oak leaves
- set block 2 west 3 above targeted block to oak leaves
- set block 1 north 3 above targeted block to oak leaves
- set block 2 north 3 above targeted block to oak leaves
- set block 1 east 3 above targeted block to oak leaves
- set block 2 east 3 above targeted block to oak leaves
- set block 1 south 3 above targeted block to oak leaves
- set block 2 south 3 above targeted block to oak leaves
- set block 1 west 4 above targeted block to oak leaves
- set block 2 west 4 above targeted block to oak leaves
- set block 1 north 4 above targeted block to oak leaves
- set block 2 north 4 above targeted block to oak leaves
- set block 1 east 4 above targeted block to oak leaves
- set block 2 east 4 above targeted block to oak leaves
- set block 1 south 4 above targeted block to oak leaves
- set block 2 south 4 above targeted block to oak leaves
- set block 2 north 1 west 3 above targeted block to oak leaves
- set block 2 north 2 west 3 above targeted block to oak leaves
- set block 1 north 2 west 3 above targeted block to oak leaves
- set block 1 north 1 west 3 above targeted block to oak leaves
- set block 2 north 1 east 3 above targeted block to oak leaves
- set block 2 north 2 east 3 above targeted block to oak leaves
- set block 1 north 2 east 3 above targeted block to oak leaves
- set block 1 north 1 east 3 above targeted block to oak leaves
- set block 2 south 1 west 3 above targeted block to oak leaves
- set block 2 south 2 west 3 above targeted block to oak leaves
- set block 1 south 2 west 3 above targeted block to oak leaves
- set block 1 south 1 west 3 above targeted block to oak leaves
- set block 2 south 1 east 3 above targeted block to oak leaves
- set block 1 south 2 east 3 above targeted block to oak leaves
- set block 1 south 1 east 3 above targeted block to oak leaves
- set block 2 north 1 west 3 above targeted block to oak leaves
- set block 1 north 2 west 4 above targeted block to oak leaves
- set block 1 north 1 west 4 above targeted block to oak leaves
- set block 2 north 1 east 4 above targeted block to oak leaves
- set block 2 north 2 east 4 above targeted block to oak leaves
- set block 1 north 2 east 4 above targeted block to oak leaves
- set block 1 north 1 east 4 above targeted block to oak leaves
- set block 2 south 1 west 4 above targeted block to oak leaves
- set block 2 south 2 west 4 above targeted block to oak leaves
- set block 1 south 2 west 4 above targeted block to oak leaves
- set block 1 south 1 west 4 above targeted block to oak leaves
- set block 2 south 1 east 4 above targeted block to oak leaves
- set block 1 south 2 east 4 above targeted block to oak leaves
- set block 1 south 1 east 4 above targeted block to oak leaves
- else:
- send "{@tag} &cDrzewo mozna posadzic tylko na trawie!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on script load:
- set {cooldown} to {@cooldown}
- on skript start:
- send "&8EssentialsSkript wymaga wersji Skript 2.0.2 ..." to the console
- wait 1 seconds
- send "&8Serwer pracuje na wersji: %skript version%" to the console
- send "" to the console
- send "&8--------------------------------------------------------------" to the console
- send "&8| |" to the console
- send "&8| Enable &9EssentialsSkript &8|" to the console
- send "&8| |" to the console
- send "&8--------------------------------------------------------------" to the console
- send "" to the console
- send "&8Autor: &ePatisonPlayGames [FejminTV, ISOPL]" to the console
- send "&8Version: &7{@version}" to the console
- set {cooldown} to {@cooldown}
- send "" to the console
Advertisement
Add Comment
Please, Sign In to add comment