Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # # # # # #
- # Skrypciarze team: #
- # - PatisonPlayGames #
- # - ISOPL #
- # - FejminTV #
- # # # # # # # # # # # # # # # #
- # # # # # # # # # # # # # # # #
- # Script by Skrypciarze #
- # Name: EssentialsSkript #
- # Version: Alpha 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: 10
- # Czy ma czekac sie 5 sekund na teleportacje true/false:
- cooldown: false
- # Autor Config
- version: Alpha 2.0
- # Kick Command
- command /kick [<player>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if player has permission "essentialsskript.kick":
- 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":
- 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":
- 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":
- 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":
- 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":
- 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":
- 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>]:
- trigger:
- if arg 1 is not set:
- if player's health is not 10:
- if player has permission "essentialsskript.heal":
- 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":
- 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>]:
- trigger:
- if arg 1 is not set:
- if player's food level is not 10:
- if player has permission "essentialsskript.heal":
- 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":
- 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>:
- trigger:
- if player has permission "essentialsskript.hat":
- 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 /clear [<player>]:
- aliases: ci
- trigger:
- if player has permission "essentialsskript.clear":
- 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":
- 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":
- 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:
- trigger:
- if player has permission "essentialsskript.sun":
- 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:
- trigger:
- if player has permission "essentialsskript.rain":
- 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:
- trigger:
- if player has permission "essentialsskript.break":
- 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":
- 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":
- 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":
- 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:
- trigger:
- if player has permission "essentialsskript.day":
- 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:
- trigger:
- if player has permission "essentialsskript.night":
- 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":
- 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":
- teleport all players to the player
- broadcast "{@tag} &bGracz &c%player% &bprzteleportowal wszystkich do siebie!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /time:
- trigger:
- if player has permission "essentialsskript.time":
- 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 arg 1 is set:
- broadcast "{@servername} %colored arg 1%"
- stop
- else:
- send "{@tag} &cPodaj wiadomosc!"
- stop
- command /broadcast [<text>]:
- aliases: bc
- trigger:
- 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":
- 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:
- trigger:
- if player has permission "essentialsskript.fireball":
- shoot a fireball at speed 3
- else:
- send "{@tag} {@permission}"
- stop
- command /chatclear:
- aliases: cc
- trigger:
- if player has permission "essentialsskript.chatclear":
- 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":
- 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":
- 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":
- 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":
- 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":
- 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":
- clear {essentialsskript.%player%.back}
- set {essentialsskript.%player%.back} to location of player
- stop
- command /back:
- trigger:
- if player has permission "essentialsskript.back":
- 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":
- send "{@tag} &7Aby wrocic wpisz &c/back"
- stop
- on chat:
- if {essentialsskript.chat.allowed} is true:
- if player has permission "essentialsskript.chat.allowed":
- stop
- else:
- send "{@tag} &cChat jest obecnie wylaczony!"
- cancel event
- stop
- if {mute.%player%} is true:
- send "{@tag} &cJestes zmutowany!"
- cancel event
- stop
- command /killall:
- aliases: butcher
- trigger:
- if player has permission "essentialsskript.killall":
- 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":
- kill all players in the player's world
- send "{@tag} &cZabito wszystkich graczy!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /sethome:
- trigger:
- if player has permission "essentialsskript.sethome":
- set {essentialsskript.%player%.home} to location of player
- send "{@tag} &bUstawiono home!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /home:
- trigger:
- if player has permission "essentialsskript.home":
- 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":
- 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
- command /vanish:
- aliases: v
- trigger:
- if player has permission "essentialsskript.vanish":
- if {essentialsskript.%player%.vanish} is false:
- apply potion of invisibility 2 to the player for 1 day
- set {essentialsskript.%player%.vanish} to true
- send "{@tag} &7Jestes niewidzialny!!!"
- stop
- if {essentialsskript.%player%.vanish} is true:
- remove invisibility from the player
- set {essentialsskript.%player%.vanish} to false
- send "{@tag} &7Jestes widoczny!"
- stop
- 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>]:
- trigger:
- if player has permission "essentialsskript.whois":
- 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":
- 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":
- 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":
- 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}:
- clear {essentialsskript.%player%.spawnamount}
- 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":
- kill argument 1
- send "{@tag} &7Zabito gracza &6%arg 1%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /i [<item>] [<integer>]:
- aliases: item, items, give, get
- trigger:
- if player has permission "essentialsskript.give":
- if arg 1 is set:
- if argument 2 is not set:
- give argument 1 to player
- stop
- else:
- loop argument 2 times:
- give 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:
- trigger:
- if player has permission "essentialsskript.god":
- 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":
- 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":
- send "{@tag} &bTwoje polozenie &c%location of player%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /repair:
- trigger:
- if player has permission "essentialsskript.repair":
- repair tool of the player
- send "{@tag} &bNaprawiono twoj przedmiot."
- stop
- else:
- send "{@tag} {@permission}"
- stop
- command /burn [<player>]:
- trigger:
- if player has permission "essentialsskript.fire":
- 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 /tell [<player>] [<text>]:
- aliases: r, msg
- trigger:
- if player has permission "essentialsskript.tell":
- 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 /mute [<player>]:
- trigger:
- if player has permission "essentialsskript.mute":
- 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 /unmute [<player>]:
- trigger:
- if player has permission "essentialsskript.mute":
- 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 /pomoc [<text>]:
- trigger:
- player has permission "essentialsskript.pomoc":
- if arg 1 is not set:
- send "&b---- &4[&6Pomoc&4] &b-- &4[&6Strona &c1&7/&c4&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/&c4&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/&c4&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/&c4&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/&c4&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 "&7Wpisz &c/pomoc 5&7 aby przeczytac nastepna strone"
- 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
- 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