Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Pełna dokumentacja Skript po polsku


kolopolx7

Rekomendowane odpowiedzi

Opublikowano

_____________________________________________

Pełna dokumentacja Skript

po polsku

_____________________________________________

 

 

Skript
 
Events (87):


____________________________________________________________
At time - zdarzenie, które występuje w danym czasie Minecraft w każdym lub w jednym z określonych światów.
 
Przykład:



at 18:00
at 7am in "world" 


 
____________________________________________________________
On Bed Enter - zdarzenie, które występuje podczas gdy gracz używa łóżka.
 
Przykład:



on bed enter:
    message "You are sleeping!" 


 
____________________________________________________________
On Bed Leave - zdarzenie, które występuje gry gracz przestaje używać łóżka.
 
Przykład:



on bed leave:
    message "You are no longer sleeping"


 
____________________________________________________________
On Block Damage - zdarzenie, które wywoływane jest gdy gracz niszczy blok. Można je zastąpić także eventem On Left Click.
 
Przykład:



on block damage:
    set event-block to air
    give player event-block


 
____________________________________________________________ 
On Break/Mine - zdarzenie, które wywoływane jest gdy gracz zniszczy blok.
 
Przykład:



on mine of any ore:
    player's tool is wooden pickaxe
    message "You can't mine with that!"
    cancel event


 
____________________________________________________________ 
On Bucket Empty - zdarzenie wykonywane gdy gracz wyleje ciecz z wiaderka.
 
Przykład:



on bucket empty:
    cancel event
    set player's tool to bucket


 
____________________________________________________________
On Bucket Fill - zdarzenie wykonywane gdy gracz napełnia wiaderko.
 
Przykład:



on bucket fill:
    cancel event
    set player's tool to bucket


 
____________________________________________________________
On Burn - wykonywane gdy blok zostanie zniszczony przez ogień.
 
Przykład:



on burn of log:
    set event-block to wood


 
____________________________________________________________
On Can Build Check - wykonywane gdy gracz kliknie na block trzymając w ręku inny blok lub przedmiot który da się postawić.
 
Przykład:



on can build check:
    player has permission "builder"
    cancel event
    set block at event-location to event-block
    remove 1 event-block from player


 
____________________________________________________________
On Chat - wykonywane gdy gracz wysyła wiadomość na chacie.
 
Przykład:



on chat:
    player has permission "admin"
    set message to "&c%message%"


 
____________________________________________________________
On Chunk Generate - wykonywane po wygenerowaniu nowego chunka.
 
Przykład:



On chunk generate:
message "Chunk %event-chunk% has been generated!" to all ops


 
____________________________________________________________
On Chunk Load - wykonywane po załadowaniu nowego chunka.
 
Przykład:



On chunk load:
message "%event-chunk% has been loaded" to all ops


 
____________________________________________________________
On Chunk Unload - wykonywane podczas znikania chunka kiedy w pobliżu nie ma żadnego gracza.
 
Przykład:



On chunk unload:
message "%event-chunk% has been unloaded" to all ops


 
____________________________________________________________
On Click - wykonywane gdy gracz kliknie na blok, stwora lub w powietrze.
 
Przykład



on rightclick holding tnt:
    if player has permission "sk.tnt":
        stop
    player's world is "WORLD":
        set {tnt.%player%} to 0
        loop blocks in radius 7 around event-block:
            loop-block is tnt:
                if {tnt.%player%} is greater than 1:
                    cancel event
                    message "&7Too much TNT around!"
                    stop
                add 1 to {tnt.%player%}


 
____________________________________________________________
On Combust - wykonywane gdy jednostka płonie.
 
Przykład:



On combust:
if event-entity is a player:
message "You have been set on fire!" to event-entity


 
____________________________________________________________
On Command - wykonywane gdy gracz wykona daną komendę.
 
Przykład:



on command "/plugins":
        message "Command and all arguments: %complete command%"
        message "Command: %command%"
        message "All the arguments: %arguments%"
        if command is not "exit":
            cancel event
            send "You are not allowed to use this command." 


 
____________________________________________________________
On Connect - wykonywane gdy gracz łączy się z serwerem.
 
Przykład:



on connect:
    player doesn't have permission "VIP"
    number of players is larger than 20
    kick the player due to "The last 5 slots are reserved for VIP players."


 
____________________________________________________________
On Consume - wykonywane gdy gracz pije/spożywa coś np chleb, mięso, potion.
 
Przykład:



On consume:
message "That was tasty!"


 
____________________________________________________________
On Craft - wykonywane gdy gracz tworzy przedmiot.
 
Przykład:



On craft:
message "You crafted an item"


On craft of leather boots:
message "Warm for your feet!"


On craft:
cancel the event
message "You are not allowed to craft!"


 
____________________________________________________________
On Creeper Power - wykonywane gdy creeper zostanie porażony piorunem i staje się super-creeperem.
 
Przykład:



On creeper power:
broadcast "A powerful creeper has been spotted in %event-world%"


On creeper power:
cancel the event


 
____________________________________________________________
On Damage - wykonywane gdy gracz/jednostka zostanie zraniona.
 
Przykład:



on damage of player:
    player is wearing all diamond armour
    set damage to damage/2


 
____________________________________________________________
On Death - wykonywane gdy gracz/jednostka zginie.
 
Przykład:



on death of a wither or ender dragon:
    broadcast "A %entity% has been slain in %world%!"


 
____________________________________________________________
On Dispense - wykonywane gdy wyrzutnia wyrzuci jakiś przedmiot.
 
Przykład:



On Dispense:
broadcast "Dispensed!"


 
____________________________________________________________
On Drop - wykonywane gdy gracz/jednostka wyrzuci jakiś przedmiot.
 
Przykład:



On drop:
message "You are not allowed to drop things!"
cancel the event


 
____________________________________________________________
On Enderman/Sheep - wykonywane gdy enderman podniesie/postawi blok lub owca zje trawe.
 
Przykład:



on enderman place:
cancel event
broadcast "Nope!"


on sheep eat:
cancel event


 
____________________________________________________________
On Experience Spawn - wykonywane gdy po zabiciu stwora pojawią się punkty doświadczenia.
 
Przykład:



on xp spawn:
    world is "minigame_world"
    cancel event


 
____________________________________________________________
On Explode - wykonywane podczas wybuchu.
 
Przykład:



On explode:
     if event-location is in world "Spawn":
          cancel event
     else:
          loop exploded blocks:
               spawn primed tnt at loop-block


 
____________________________________________________________
On Explosion Prime - wykonywane podczas rozpoczynania wybuchu (np. gdy creeper zaczyna wybuchać lecz gracz wychodzi poza jego zasięg).
 
Przykład:



On explosion prime:
     if event-location is in world "Spawn":
          cancel event


 
____________________________________________________________
On Fade - wykonywane gdy blok topnieje, np. lód lub śnieg.
 
Przykład:


Brak


 
____________________________________________________________
On First Join - wykonywane gdy gracz pierwszy raz wejdzie na serwer.
 
Przykład:



on first join:
    set {stats.%player%} to 0


 
____________________________________________________________
On Fishing - wykonywane gdy gracz łowi ryby.
 
Przykład:



on fishing state of caught fish:
chance of 2.5%:
give player diamond
broadcast "%player% found a diamond while fishing!


 
____________________________________________________________
On Flow - wykonywane gdy blok teleportuje się na inny, np. jajo smoka.
 
Przykład:


Brak


 
____________________________________________________________
On Form - wykonywane gdy blok zostanie stworzony, lecz nie przez gracza, np. padający śnieg.
 
Przykład:



on block form of cobblestone:
broadcast "A cobblestone has spawned"


 
____________________________________________________________
On Fuel Burn - wykonywane gdy piec spala przedmiot lub paliwo (węgiel etc.).
 
Przykład:


Brak


 
____________________________________________________________
On Gamemode Change - wykonywane przy zmianie trybu gry.
 
Przykład:



on gamemode change to creative:
    message "&cHumm! Creative!"


 
____________________________________________________________
On Grow - wykonywane gdy drzewo/grzyb/trawa rozrasta się do maksymalnej wartości.
 
Przykład:


Brak


 
____________________________________________________________
On Heal - wykonywane podczas leczenia.
 
Przykład:



on heal:
if player is in world "world":
cancel event
message "Sorry, you may not heal in this world"
else:
stop


 
____________________________________________________________
On Hunger Meter Change - wykonywane podczas zmiany wartości paska głodu.
 
Przykład:



On Hunger MEter Change:
send "Mniammm!"


 
____________________________________________________________
On Ignition - wykonywane kiedy blok zaczyna płonąć, np. gdy zajmuje się ogniem od źródła postawionego obok.
 
Przykład:


Brak


 
____________________________________________________________
On Item Break - wykonywane podczas zniszczenia się przedmiotu.
 
Przykład:



on item break:
message "Oh! An item has broken!"


 
____________________________________________________________
On Item Spawn - wykonywane zawsze gdy pojawia się nowy przedmiot, np. wyrzucony przez martwego potwora/zniszczony blok.
 
Przykład:



on item spawn:
message "%event item% has spawned in world"


 
____________________________________________________________
On Join - wykonywane gdy gracz wchodzi na serwer.
 
Przykład:



on join:
    message "Welcome on our awesome server!"
    broadcast "%player% just joined the server!"


 
____________________________________________________________
On Kick - wykonywane gdy gracz zostaje wyrzucony z serwera.
 
Przykład:



On kick:
message "%event-player% was kicked from the server" to all players


 
____________________________________________________________
On Leaves Decay - wykonywane podczas znikania liści gdy nie dotykają one drewna.
 
Przykład:


Brak


 
____________________________________________________________
On Level Change - wykonywane gdy poziom gracza zmienia się.
 
Przykład:


Brak


 
____________________________________________________________
On Lightning Strike - wykonywane podczas uderzeń pioruna.
 
Przykład:


Brak


 
____________________________________________________________
On Move On - wykonywane gdy gracz chodzi po danym bloku.
 
Przykład:



On move on stone:
send "Its cold, brrrr"


 
____________________________________________________________
On Physics - wykonywane podczas gdy np. blok piachu spada lub ziemia zamienia się w trawe.
 
Przykład:



on block physics:
    block is sand
    cancel event


 
____________________________________________________________
On Pick Up - wykonywane podczas gdy gracz podnosi dany przedmiot.
 
Przykład:


Brak


 
____________________________________________________________
On Pig Zap - wykonywane gdy świna zostanie trafiona piorunem i zamienia się w pigmena.
 
Przykład:


Brak


 
____________________________________________________________
On Piston Extend - wykonywane gdy tłok przesuwa blok.
 
Przykład:


Brak


 
____________________________________________________________
On Piston Retract - wykonywane gdy tłok przyciąga blok.
 
Przykład:


Brak


 
____________________________________________________________
On Place - wykonywane podczas stawiania bloków.
 
Przykład:



On place:
cancel the event
message "You cannot place blocks"


On place of TNT:
cancel the event
message "You are not allowed to place TNT"


 
____________________________________________________________
On Portal - wykonywane gdy gracz używa portalu do piekła lub krańca świata.
 
Przykład:


Brak


 
____________________________________________________________
On Portal Create - wykonywane podczas tworzenia portalu.
 
Przykład:


Brak


 
____________________________________________________________
On Portal Enter - wykonywane podczas wejścia do portalu przez gracza.
 
Przykład:



on entering a portal:
message "&6Another world..whoaaa!" 


 
____________________________________________________________
On Pressure Plate / Trip - wykonywane gdy gracz przechodzi przez rozwieszony sznur/płytke naciskową.
 
Przykład:



on stepping on a pressure plate:
     push player upwards at speed 4


 
____________________________________________________________
On Projectile Hit - wykonywane gdy pocisk uderzy w blok/jednostke.
 
Przykład:



On projectile hit:
     set {_type} to metadata "type" of projectile  
Requires RandomSK
     if "%{_type}%" is "explosive":
          create explosion of force 3 at event-location
[/code]


 
____________________________________________________________
On Quit - wykonywane gdy gracz opuszcza serwer.
 
Przykład:



[b]On quit:
         set quit message to  "%event-player% has left the game!"


 
____________________________________________________________
On Redstone - wykonywane gdy czerwony proszek zapala się/gaśnie.
 
Przykład:


Brak


 
____________________________________________________________
On Region Enter/Leave - wykonywane gdy gracz wkracza lub opuszcza dany teren.
 
Przykład:



on region exit:
    message "Leaving %region%."


 
____________________________________________________________
On Respawn - wykonywane gdy gracz się odradza.
 
Przykład:



on respawn:
send "Vous avez respawn avec succés"


 
____________________________________________________________
On Script Load/Unload - wykonywane podczas ładowania/wyłączania skryptu.
 
Przykład:



on load:
    set {running.%script%} to true


on unload:
    set {running.%script%} to false


 
____________________________________________________________
On Shoot - wykonywane podczas wystrzelania pocisku.
 
Przykład:


Brak


 
____________________________________________________________
On Sign Change - wykonywane podczas edytowania tabliczki.
 
Przykład:



on sign change:
    line 2 is empty
    set line 1 to "<red>%line 1%"


 
____________________________________________________________
On Skript Start/Stop - wykonywane podczas uruchamiania/wyłączania skryptu.
 
Przykład:



On skript load:
     delete {ThisList::*}
     delete {ThatList::*}


 
____________________________________________________________
On Smelt - wykonywane podczas przetapiania przedmiotów w piecu.
 
Przykład:


Brak


 
____________________________________________________________
On Sneak Toggle - wykonywane podczas skradania się.
 
Przykład:



on sneak toggle:
    player was sneaking
    push the player upwards at speed 0.5


 
____________________________________________________________
On Spawn - wykonywane podczas pojawiania się danej jednostki/stwora.
 
Przykład:



on spawn of an ender dragon:
    broadcast "A dragon has been sighted in %world%!"


 
____________________________________________________________
On Spawn Change - wykonywane gdy docelowy punkt spawnu w danym świecie zmieni się.
 
Przykład:



on spawn change:
broadcast "The spawn was changed by an admin!"


 
____________________________________________________________
On Spread - wykonywane kiedy dany blok się rozprzestrzenia (np. trawa).
 
Przykład:



on spread:
if {waterfall} is false:
cancel the event


 
____________________________________________________________
On Sprint Toggle - wykonywane gdy gracz zaczyna/przestaje biec.
 
Przykład:



on sprint toggle:
send "Sprint !"


 
____________________________________________________________
On Tame - wykonywane gdy gracz oswaja zwierze.
 
Przykład:


Brak


 
____________________________________________________________
On Target - wykonywane gdy stwór zaczyna/przestaje podąrzać za inną jednostką, zwykle graczem.
 
Przykład:


Brak


 
____________________________________________________________
On Teleport - wykonywane podczas teleportacji (nie ważne czy przy pomocy portalu/pluginu).
 
Przykład:



On teleport:
broadcast "&6Player &a%player% has been teleported to &a%WORLD%&6 at the location of &a%LOCATION OF PLAYER%&6."
give 1 cookie named "&6Congrats cuz u teleported!" to player
message "&6Good job, received a &c&nCOOKIE&6, because you teleported! Lol."


 
____________________________________________________________
On Throwing of an Egg - wykonywane podczas rzucania jajkiem.
 
Przykład:


Brak


 
____________________________________________________________
On Tool Change - wykonywane podczas zmiany trzymanego narzędzia przez gracza.
 
Przykład:


Brak


 
____________________________________________________________
On Vehicle Create - wykonywane podczas stworzenia nowego pojazdu, np. postawienie wagonika.
 
Przykład:


Brak


 
____________________________________________________________
On Vehicle Damage - wykonywane podczas gdy pojazd otrzymuje obrażenia
 
Przykład:


Brak


 
____________________________________________________________
On Vehicle Destroy - wykonywane podczas zniszczenia pojazdu.
 
Przykład:


Brak


 
____________________________________________________________
On Vehicle Enter - wykonywane podczas gdy gracz wchodzi do pojazdu.
 
Przykład:


Brak


 
____________________________________________________________
On Vehicle Exit - wykonywane podczas gdy gracz wychodzi z pojazdu.
 
Przykład:


Brak


 
____________________________________________________________
On Weather Change - wykonywane podczas zmiany pogody.
 
Przykład:


Brak


 
____________________________________________________________
On World Init - wykonywane podczas ładowania/zapisywania danego świata.
 
Przykład:



on world save:
broadcast "&6Wooow Thats Amazing, the Server are Saved !"


 
____________________________________________________________
On Zombie Break Door - wykonywane podczas gdy zombie zniszczy drzwi.
 
Przykład:



On zombie breaking a door:
     if block below event-block is iron block:
          cancel event


 
____________________________________________________________
Periodical - określa wykonywanie danej czynności co x sekund/minut/godzin/lat itd.
 
Przykład:



every second
every minecraft hour
every tick
every minecraft day in "world"


 
____________________________________________________________



Conditions (31):


____________________________________________________________
Can Build - sprawdza czy gracz może budować w danym miejscu.
 
Przykład:



command /setblock <material>:
    description: set the block at your crosshair to a different type
    trigger:
        player cannot build at the targeted block:
            message "You do not have permission to change blocks there!"
            stop
        set the targeted block to argument


 
____________________________________________________________
Can Hold - sprawdza czy gracz może unieść daną liczbę przedmiotów.
 
Przykład:



block can hold 200 cobblestone
player has enough space for 64 feathers


 
____________________________________________________________
Chance - określa szanse na wykonanie czegoś.
 
Przykład:



chance of 50%:
    drop a diamond
chance of {var}% # {var} between 0 and 100
 
chance of {var} # {var} between 0 and 1


 
____________________________________________________________
Comparison - sprawdza czy blok/gracz/jednostka spełnia dane wymagania.
 
Przykład:



the clicked block is a stone slab or a double stone slab
time in the player's world is greater than 8:00
the creature is not an enderman or an ender dragon


 
____________________________________________________________
Contains - sprawdza czy wiadomość/wartość zawiera określone wartości/znaki.
 
Przykład:



block contains 20 cobblestone
player has 4 flint and 2 iron ingots


 
____________________________________________________________
Damage Cause - sprawdza jaki typ obrażeń otrzymał gracz/jednostka.
 
Przykład:



on damage:
    damage was caused by lava, fire or burning
    victim is a player
    victim has a potion of fire resistance
    cancel event
    apply fire resistance to the victim for 30 seconds
    remove 1 potion of fire resistance from the victim


on death:
    entity is not a player
    damage wasn't caused by a block explosion, an attack, a projectile, a potion, fire, burning, thorns or poison
    clear drops


 
____________________________________________________________
Exists/Is Set - sprawdza czy dany obiekt/wartość istnieje.
 
Przykład:



{teamscript.%player%.preferred team} is not set


on damage:
    projectile exists
    broadcast "%attacker% used a %projectile% to attack %victim%!"


 
____________________________________________________________
Has Permission - sprawdza czy gracz posiada dane uprawnienie.
 
Przykład:



player has permission "skript.tree"


If victim has the permission "admin":
    send "You're attacking an admin!" to attacker


 
____________________________________________________________
Has Played Before - sprawdza czy gracz grał wcześniej na serwerze.
 
Przykład:



player has played on this server before
player hasn't played before


 
____________________________________________________________
Is Alive - sprawdza czy dany stwór/gracz żyje.
 
Przykład:



{villagerbuddy.%player%} is dead


 
____________________________________________________________
Is Banned - sprawdza czy dany gracz jest zbanowany.
 
Przykład:



player is banned
victim is not IP-banned
"127.0.0.1" is banned


 
____________________________________________________________
Is Blocking - sprawdza czy gracz blokuje atak za pomocą miecza.
 
Przykład:



victim is blocking


 
____________________________________________________________
Is Burning - sprawdza czy jednostka/gracz płonie.
 
Przykład:



victim is burning:
    increase damage by 2


 
____________________________________________________________
Is Empty - sprawdza czy ekwipunek/slot w ekwipunku/tekst jest pusty.
 
Przykład:



player's inventory is empty


 
____________________________________________________________
Is Enchanted - sprawdza czy dany przedmiot jest ulepszony.
 
Przykład:



tool of the player is enchanted with efficiency 2
helm, chestplate, leggings or boots are enchanted


 
____________________________________________________________
Is Flying - sprawdza czy gracz lata.
 
Przykład:



player is not flying


 
____________________________________________________________
Is Holding - sprawdza czy jednostka/gracz trzyma dany przedmiot.
 
Przykład:



player is holding a stick
victim isn't holding a sword of sharpness


 
____________________________________________________________
Is in World - sprawdza czy gracz jest w danym świecie.
 
Przykład:



player is in "world"
argument isn't in world "world_nether"
the attacker is in the world of the victim


 
____________________________________________________________
Is Member/Owner of Region - sprawdza czy gracz jest właścicielem/członkiem danego regionu.
 
Przykład:



on region enter:
    player is the owner of the region
    message "Welcome back to %region%!"
    send "%player% just entered %region%!" to all members of the region


 
____________________________________________________________
Is of Type - sprawdza typ określonego przedmiotu lub jednostki.
 
Przykład:



tool is of type {*selected type}
victim is of type {villager type}


 
____________________________________________________________
Is Online - sprawdza czy gracz jest online.
 
Przykład:



player is online
player-argument is offline


 
____________________________________________________________
Is Poisoned - sprawdza czy gracz jest zatruty przy pomocy mikstury.
 
Przykład:



player is poisoned:
    cure the player from posion
    message "You have been cured!"


 
____________________________________________________________
Is Riding - sprawdza czy gracz jeździ na danej jednostce.
 
Przykład:



player is riding a saddled pig


 
____________________________________________________________
Is Sleeping - sprawdza czy gracz śpi.
 
Przykład:



on attack:
    attacker is holding a sword
    victim is sleeping
    increase the damage by 1000


 
____________________________________________________________
Is Sneaking - sprawdza czy gracz się skrada.
 
Przykład:



on target:
    target is sneaking
    distance of target and the entity is bigger than 4
    cancel the event


 
____________________________________________________________
Is Sprinting - sprawdza czy gracz biegnie.
 
Przykład:



player is not sprinting


 
____________________________________________________________
Is Wearing - sprawdza czy gracz nosi określony typ przedmiotów.
 
Przykład:



player is wearing an iron chestplate and iron leggings
player is wearing all diamond armour


 
____________________________________________________________
PvP - sprawdza status PvP na świecie.
 
Przykład:



PvP is enabled
PvP is disabled in "world"


 
____________________________________________________________
Region Contains - sprawdza czy region zawiera daną wartość.
 
Przykład:



player is in the region {regions::3}
on region enter:
    region contains {flags.%world%.red}
    message "The red flag is near!"


 
____________________________________________________________
Time - sprawdza czas od wykonania określonej czynności.
 
Przykład:



command /command_with_cooldown:
    trigger:
        {command.%player%.lastused} was less than a minute ago:
            message "Please wait a minute between uses of this command."
            stop
        set {command.%player%.lastused} to now


 
____________________________________________________________
Weather - sprawdza pogode na określonym świecie.
 
Przykład:



is thundering
is raining in "world" or "world2"


 
____________________________________________________________



Effects (34):


____________________________________________________________
Ban - banuje gracza.
 
Przykład:



unban player
ban "127.0.0.1"
IP-ban the player because "he is an idiot"


 
____________________________________________________________
Broadcast - wysyla wiadomosc widoczna dla wszystkich.
 
Przykład:



broadcast "Welcome %player% to the server!"
broadcast "Woah! It's a message!"


 
____________________________________________________________
Cancel Event - przerywa określoną czynność.
 
Przykład:



on damage:
    victim is a player
    victim has the permission "skript.god"
    cancel the event


 
____________________________________________________________
Change: Set/Add/Remove/Delete/Reset - Zmienia/ustawia/dodaje/usuwa/resetuje określoną wartość.
 
Przykład:



Set the player's display name to "<red>%name of player%"
set the block above the victim to lava


add 2 to the player's health
add argument to {blacklist::*}
give a diamond pickaxe of efficiency 5 to the player
increase the data value of the clicked block by 1


remove 2 pickaxes from the victim
subtract 2.5 from {points.%player%}


remove every iron tool from the player
remove all minecarts from {entitylist::*}


delete the block below the player
clear drops
delete {variable}


reset walk speed of player
reset chunk at the targeted block


 
____________________________________________________________
Colour Armor - koloruje zbroje gracza.
 
Przykład:



dye player's helmet blue
colour the player's tool red


 
____________________________________________________________
Command - wykonuje określoną komende.
 
Przykład:



make player execute command "/suicide"
execute console command "/say Hello everyone!"


 
____________________________________________________________
Damage/Heal/Repair - nadawanie obrażeń/leczenie/naprawianie w stosunku do gracza lub przedmiotu.
 
Przykład:



damage player by 5 hearts
heal the player
repair tool of player


 
____________________________________________________________
Delay - określa czas wykonania między określonymi czynnościami.
 
Przykład:



wait 2 minutes
halt for 5 minecraft hours
wait a tick


 
____________________________________________________________
Drop - określa jaki przedmiot na zostać wyrzucony po zniszczeniu bloku/śmierci jednostki.
 
Przykład:



on death of creeper:
    drop 1 TNT


 
____________________________________________________________
Enchant/Disenchant - ulepsza lub usuwa ulepszenie z przedmiotu.
 
Przykład:



enchant the player's tool with sharpness 5
disenchant the player's tool


 
____________________________________________________________
Equip - wyposaża gracza w określone przedmioty.
 
Przykład:



equip player with diamond helmet
equip player with all diamond armour
equip the clicked horse with diamond horse armour and a saddle
make the last spawned pig wear a saddle


 
____________________________________________________________
Exit - opuszcza daną ilość pętli/wartości.
 
Przykład:



if player has any ore:
    stop
message "%player% has no ores!"
loop blocks above the player:
    loop-block is not air:
        exit 2 sections
    set loop-block to water


 
____________________________________________________________
Explosion - tworzy wybuch o określonej sile.
 
Przykład:



create an explosion of force 10 at the player
create a fake explosion at the victim


 
____________________________________________________________
Ignite/Extinguish - podpalanie/gaszenie jednostek.
 
Przykład:



ignite the player
extinguish the player


 
____________________________________________________________
Kick - wyrzuca gracza z serwera.
 
Przykład:



on place of TNT, lava, or obsidian:
    kick the player due to "You may not place %block%!"
    cancel the event


 
____________________________________________________________
Kill - zabija daną jednostke.
 
Przykład:



kill the player
kill all creepers in the player's world
kill all endermen, witches and bats


 
____________________________________________________________
Lightning - tworzy piorun w określonej lokacji.
 
Przykład:



strike lightning at the player
strike lightning effect at the victim


 
____________________________________________________________
Log - odpowiada za zapisywanie dowolnych rzeczy w dowolnym pliku.
 
Przykład:



on place of TNT:
    log "%player% placed TNT in %world% at %location of block%" to "tnt/placement.log"


 
____________________________________________________________
Message - wysyła wiadomość widzianą tylko dla określonego gracza/grupy graczy.
 
Przykład:



message "A wild %player% appeared!"
message "This message is a distraction. Mwahaha!"
send "Your kill streak is %{kill streak.%player%}%." to player


if the targeted entity exists:
    message "You're currently looking at a %type of the targeted entity%!"


 
____________________________________________________________
Op/Deop- nadaje lub zabiera op graczowi.
 
Przykład:



op the player
deop all players


 
____________________________________________________________
Open Inventory - otwiera ekwipunek podanego gracza.
 
Przykład:



show the victim's inventory to the player
open the player's inventory for the player
close the player's inventory


 
____________________________________________________________
Play Effect - wyświetla efekt (particles) na określonej płaszczyźnie lub jednostce.
 
Przykład:



play wolf hearts on the clicked wolf
show mob spawner flames at the targeted block to the player


 
____________________________________________________________
Poison/Cure - zatruwa lub leczy gracza.
 
Przykład:



poison the player
poison the victim for 20 seconds
cure the player from poison


 
____________________________________________________________
Potion Effects - nakłada lub zdejmuje z gracza określone efekty mikstur.
 
Przykład:



apply swiftness 2 to the player
remove haste from the victim


on join:
    apply potion of strength of tier {strength.%player%} to the player for 999 days


 
____________________________________________________________
Push - wyrzuca gracza do góry.
 
Przykład:



push the player upwards
push the victim downwards at speed 0.5


 
____________________________________________________________
PvP - ustawia status PvP.
 
Przykład:



enable PvP
disable PvP in all worlds


 
____________________________________________________________
Replace - zamienia określony typ bloków lub wiadomości na inny.
 
Przykład:



replace "<item>" in {textvar} with "%tool of player%"
replace every "&" with "§" in line 1


on chat:
    replace all "f**k", "b***h" and "ass" with "****" in the message


 
____________________________________________________________
Shear - odpowiada za golenie owiec.
 
Przykład:



on rightclick on a sheep holding a sword:
    shear the clicked sheep


 
____________________________________________________________
Shoot - wystrzeliwuje określony pocisk.
 
Przykład:



shoot an arrow
make the player shoot a creeper at speed 10
shoot a pig from the creeper


 
____________________________________________________________
Spawn - tworzy jednostki.
 
Przykład:



spawn 3 creepers at the targeted block
spawn a ghast 5 meters above the player


 
____________________________________________________________
Teleport - teleportuje gracza do określonej lokacji lub innej jednostki.
 
Przykład:



teleport the player to {homes.%player%}
teleport the attacker to the victim


 
____________________________________________________________
Toggle - zmienia status bloku, np. pozycja dźwigni.
 
Przykład:



on projectile hit:
    projectile is arrow
    toggle the block at the arrow


 
____________________________________________________________
Tree - tworzy drzewo.
 
Przykład:



grow a tall redwood tree above the clicked block


 
____________________________________________________________
Vehicle - sprawia że gracz/jednostka może ujeżdżać inną jednostke.
 
Przykład:



make the player ride a saddled pig
make the attacker ride the victim


 
____________________________________________________________



Expressions (100):


____________________________________________________________
Altitude - prezentuje wysokość czegoś liczoną od bedrocka.
 
Przykład:



on damage:
    altitude of the attacker is higher that the altitude of the victim
    set damage to damage * 1.25


 
____________________________________________________________
Amount - określa jakąś wartość.
 
Przyład:



message "There are %number of all players% players online!"


 
____________________________________________________________
Amount of Items - określa liczbę danych przedmiotów.
 
Przykład:



message "You have %number of ores in the player's inventory% ores in your inventory."


 
____________________________________________________________
Argument - argument jakiegoś eventu.
 
Przykład:



give the item-argument to the player-argument
damage the player-argument by the number-argument
give a diamond pickaxe to the argument
add argument 1 to argument 2
heal the last argument


 
____________________________________________________________
Arithmetic - wartości matematyczne, np. 1+2.
 
Przykład:



set the player's health to 10 - the player's health
loop (argument + 2)/5 times:
    message "Two useless numbers: %loop-num*2 - 5%, %2^loop-num - 1%"
message "You have %health of player * 2% half hearts of HP!"


 
____________________________________________________________
Armour Slot - określa częśc uzbrojenia gracza.
 
Przykład:



set chestplate of the player to a diamond chestplate
helmet of player is neither a helmet nor air
Player is wearing a block, e.g. from another plugin
[/code]


 
____________________________________________________________
Attacked - określa zaatakowaną jednostke.
 
Przykład:



on damage:
    victim is a creeper
    damage the attacked creeper by 1 heart


 
____________________________________________________________
Attacker - określa atakującą jednostke.
 
Przykład:



on damage:
    attacker is a player
    health of attacker is less than or equal to 2
    damage victim by 1 heart


 
____________________________________________________________
Bed - określa lokacje łóżka gracza.
 
Przykład:



if bed of player exists:
    teleport player the the player's bed
else:
    teleport the player to the world's spawn point


 
____________________________________________________________
Biome - określa typ terenu na jakim znajduje się gracz.
 
Przykład:



every real second:
    loop all players:
        biome at loop-player is desert
        damage the loop-player by 1


 
____________________________________________________________
Block - określa typ bloku.
 
Przykład:



block is ore


set block below to air


spawn a creeper above the block


loop blocks in radius 4:
    loop-block is obsidian
    set loop-block to water


block is a chest:
    clear the inventory of the block


 
____________________________________________________________
Block Sphere - określa jakie bloku znajdują się wokół określonego centrum.
 
Przykład:



loop blocks in radius 5 around the player:
    set loop-block to air


set all blocks in radius 5 around the player to air


 
____________________________________________________________
Blocks - określa bloki znajdujące się w określonej okolicy danego miejsca/gracza/jednostki.
 
Przykład:



loop blocks above the player:
loop blocks between the block below the player and the targeted block:
set the blocks below (the player, the victim and the targeted block) to air


 
____________________________________________________________
Blocks in Region - określa bloki znajdujące się na danym regionie.
 
Przykład:



loop all blocks in the region {arena.%{faction.%player%}%}:
    clear the loop-block


 
____________________________________________________________
Chunk - określa chunk na którym znajduje się gracz/blok/jednostka.
 
Przykład:



add the chunk at the player to {protected chunks::*}


 
____________________________________________________________
Clicked Block/Entity - określa typ jednostki/bloku klikniętego przez gracza.
 
Przykład:



message "You clicked on a %type of clicked entity%!"


clicked block is a chest:
    show the inventory of the clicked block to the player


 
____________________________________________________________
Colour of - określa kolor.
 
Przykład:



on click on wool:
    message "This wool block is <%colour of block%>%colour of block%<reset>!"
    set the colour of the block to black


 
____________________________________________________________
Coloured / Uncoloured - koloruje/usuwa kolory z określonej wartości.
 
Przykład:



on chat:
    set message to coloured message
command /fade <player>:
    trigger:
        set display name of the player-argument to uncoloured display name of the player-argument


 
____________________________________________________________
Command - określa wykonywaną komendę.
 
Przykład:



on command:
    {game.%player%.is playing} is true
    command is not "exit"
    message "You're not allowed to use commands during the game"
    cancel the event


 
____________________________________________________________
Command Sender - określa wykonawce czynności.
 
Przykład:



make the command sender execute "/say hi!"


on command:
    log "%executor% used command /%command% %arguments%" to "commands.log"


 
____________________________________________________________
Compass Target - określa kierunek który wskazuje kompas.
 
Przykład:



every 5 seconds:
    loop all players:
        set the loop-player's compass target to location of {compass target.%loop-player%}


 
____________________________________________________________
Console - reprezentuje konsole.
 
Przykład:



execute console command "/stop"
send "message to console" to the console


 
____________________________________________________________
Coordinate - określa koordynaty jednostki/bloku/gracza.
 
Przykład:



player's y-coordinate is smaller than 40:
    message "Watch out for lava!"


 
____________________________________________________________
Creature/Entity/Player/Projectile/Villager/Powered Creeper/etc. - określa typy jednostek/stworów itd.
 
Przykład:



give a diamond sword of sharpness 3 to the player
kill the creeper
kill all powered creepers in the wolf's world
projectile is an arrow


 
____________________________________________________________
Damage - określa ile obrażeń otrzymał określony podmiot.
 
Przykład:



increase the damage by 2


 
____________________________________________________________
Damage Cause - określa z jaki typ obrażeń otrzymał podmiot.
 
Przykład:



damage cause is lava, fire or burning


 
____________________________________________________________
Data Value - wartość przedmiotu.
 
Przykład:



add 1 to the data value of the clicked block


 
____________________________________________________________
Difference - określa różnice między podanymi wartościami.
 
Przykład:



difference between {command.%player%.lastuse} and now is smaller than a minute:
    message "You have to wait a minute before using this command again!"
    stop


 
____________________________________________________________
Direction - określa kierunki.
 
Przykład:



thrust the player upwards
set the block behind the player to water


loop blocks above the player:
    set {_rand} to a random integer between 1 and 10
    set the block {_rand} meters south east of the loop-block to stone


block in horizontal facing of the clicked entity from the player is air
spawn a creeper 1.5 meters horizontally behind the player
spawn a TNT 5 meters above and 2 meters horizontally behind the player
thrust the last spawned TNT in the horizontal direction of the player with speed 0.2
push the player upwards and horizontally forward at speed 0.5
push the clicked entity in in the direction of the player at speed -0.5
open the inventory of the block 2 blocks below the player to the player
teleport the clicked entity behind the player
grow a regular tree 2 meters horizontally behind the player


 
____________________________________________________________
Distance - określa dystans pomiędzy dwoma punktami.
 
Przykład:



distance between the player and {%player%.home} is smaller than 20:
    message "You're very close to your home!"


 
____________________________________________________________
Drops - określa przedmioty wypadające np. przy śmierci potwora.
 
Przykład:



clear drops
remove 4 planks from the drops


 
____________________________________________________________
Element of - określa podany element np. z listy.
 
Przykład:



give a random element out of {free items::*} to the player


 
____________________________________________________________
Enchantment Level - określa poziom ulepszenia przedmiotu.
 
Przykład:



player' tool is a sword of sharpness:
    message "You have a sword of sharpness %level of sharpness of the player's tool% equipped"


player' tool is a sword of sharpness:
    message "You have a sword of sharpness %enchantment level of sharpness of player's tool% equipped"


 
____________________________________________________________
Ender Chest - skrzynia kresu gracza.
 
Przykład:



open the player's ender chest to the player


 
____________________________________________________________
Entities - określa jednostke/jednostki.
 
Przykład:



kill all creepers in the player's world
send "Psst!" to all players witin 100 meters of the player
give a diamond to all ops
heal all tamed wolves in radius 2000 around {town center}


 
____________________________________________________________
Experience - określa ilość doświadczenia.
 
Przykład:



on experience spawn:
    add 5 to the spawned experience


 
____________________________________________________________
Facing - kierunek w którym zwrócony jest podmiot.
 
Przykład:



loop blocks from the block below the player in the horizontal facing of the player:
    set block to cobblestone


 
____________________________________________________________
Food Level - określa poziom jedzenia gracza.
 
Przykład:



set the player's food level to 10


 
____________________________________________________________
Former/Future State - reprezentuje wartość określonej rzeczy.
 
Przykład:



on teleport:
    former world was "world_nether" 
    world will be "world" 


on tool change:
    past tool is an axe
    the tool after the event will be air


on weather change:
    set {weather.%world%.old} to past weather
    set {weather.%world%.current} to the new weather


 
____________________________________________________________
Furnace Slot - określa slot w piecyku.
 
Przykład:



set the fuel slot of the clicked block to a lava bucket
set the block's ore slot to 64 iron ore
give the result of the block to the player
clear the result slot of the block


 
____________________________________________________________
Gamemode - określa typ gry gracza.
 
Przykład:



player's gamemode is survival
set the player's gamemode to creative


 
____________________________________________________________
Hash - określa kodowanie wartości.
 
Przykład:



command /setpass <text>:
    trigger:
        set {password.%player%} to hashed text-argument
command /login <text>:
    trigger:
        {password.%player%} is hashed text-argument:
            message "login successful."
        else:
            message "wrong password!"


 
____________________________________________________________
Head Location - określa położenie głowy podmiotu.
 
Przykład:



set the block at the player's head to air
set the block in front of the player's eyes to glass
loop blocks in front of the player's head:


 
____________________________________________________________
Health - określa ilość życia.
 
Przykład:



message "You have %health% HP left."


 
____________________________________________________________
Id - określa numer bloku/jednostki.
 
Przykład:



message "the ID of %type of the clicked block% is %id of the clicked block%."


 
____________________________________________________________
Index of - index.
 
Przykład:



set {_#} to the first index of "#" in the text argument
if {_s} contains "abc":
    set {_s} to the first (index of "abc" in {_s} + 3) characters of {_s}


 
____________________________________________________________
Inventory - określa ekwipunek gracza.
 
Przykład:



add a plank to the player's inventory
clear the player's inventory
remove 5 wool from the inventory of the clicked block


 
____________________________________________________________
IP - określa adres IP gracza.
 
Przykład:



IP-ban the player    //Is equal to the next line
ban the IP-address of the player
broadcast "Banned the IP %IP of player%"


 
____________________________________________________________
Item - określa dany przedmiot.
 
Przykład:



on dispense:
    item is a clock
    set the time to 6:00


 
____________________________________________________________
Items - określa typ przedmiotów/bloków, przydatne przy pętlach.
 
Przykład:



loop items of type ore and log:
    block contains loop-item
    message "There's at least one %loop-item% in this block"
    stop loop
drop all blocks at the player


 
____________________________________________________________
Items In - określa przedmioty w ekwipunku gracza.
 
Przykład:



loop all items in the player's inventory:
    loop-item is enchanted
    remove loop-item from the player
set {inventory.%player%::*} to items in the player's inventory


 
____________________________________________________________
Join & Split - łączy lub rozbija tekst.
 
Przykład:



message "Online players: %join all players with " | "%"


set {_s::} to the string argument split at ","


 
____________________________________________________________
Last Spawned/Shot Entity - określa ostatnią jednostke która została stworzona/postrzelona.
 
Przykład:



spawn a priest
set {%spawned priest%.healer} to true
shoot an arrow from the last spawned entity
ignite the shot projectile


 
____________________________________________________________
Length - sprawdza długość tekstu.
 
Przykład:



set {_l} to length of the string argument


 
____________________________________________________________
Level - określa/sprawdza poziom gracza.
 
Przykład:



reduce the victim's level by 1
set the player's level to 0


 
____________________________________________________________
Level Progress - określa postęp paska doświadczenia gracza.
 
Przykład:



on rightclick with a blaze rod:
    player's level progress is larger than 0.2
    shoot a fireball from the player
    reduce the player's level progress by 0.2
every 2 seconds:
    loop all players:
        level progress of loop-player is smaller than 0.9:
            increase level progress of the loop-player by 0.1
        else:
            set level progress of the loop-player to 0.99


on xp spawn:
    cancel event


 
____________________________________________________________
Light Level - sprawdza poziom jasności.
 
Przykład:



every 5 seconds:
    loop all players:
        {vampire.%loop-player%} is true
        sunlight level at the loop-player is greater than 10
        ignite the loop-player for 5 seconds


 
____________________________________________________________
Location - określa lokacje podmiotu.
 
Przykład:



drop 5 apples at the event-location


set {_loc} to the location 1 meter above the player


 
____________________________________________________________
Location At - pozwala stworzyć lokacje z 3 koordynatów i świata.
 
Przykład:



set {_loc} to the location at arg-1, arg-2, arg-3 of the world arg-4
distance between the player and the location (0, 0, 0) is less than 200


 
____________________________________________________________
Location Of - określa lokacje bloku lub jednostki.
 
Przykład:



set {home.%player%} to the location of the player
message "Your home was set to %player's location% in %player's world%."


 
____________________________________________________________
Loop Value - określa wartość pętli.
 
Przykład:



loop 10 times:
    message "%11 - loop-number%"
    wait a second


loop blocks from the block below the player to the block 10 east of the block below the player:
    loop blocks from the loop-block to the block 10 north of the loop-block:
        set loop-block-2 to any wool


 
____________________________________________________________
Lore - określa opis przedmiotu.
 
Przykład:



set the 1st line of the item's lore to "Excalibur 2.0"


 
____________________________________________________________
Max Health - określa maksymalną ilość zdrowia podmiotu.
 
Przykład:



on join:
    set the maximum health of the player to 100


spawn a giant
set the last spawned entity's max health to 1000


 
____________________________________________________________
Maximum Stack Size - określa maksymalną ilość zestackowanych przedmiotów.
 
Przykład:



send "You can only pick up %max stack size of player's tool% of %type of (player's tool)%" to player


 
____________________________________________________________
Me - może zostać użyte jedynie w komendach. Określa podmiot jako wykonawce.
 
Przykład:



!heal me
!kick myself
!give a diamond axe to me


 
____________________________________________________________
Message - wiadomość.
 
Przykład:



on chat:
player has permission "admin"
set message to "<red>%message%"


on first join:
set join message to "Welcome %player% to our awesome server!"


on join:
player has played before
set join message to "Welcome back, %player%!"


on quit:
set quit message to "%player% left this awesome server!"


on death:
set the death message to "%player% died!"


 
____________________________________________________________
Money - określa ilość funduszy gracza.
 
Przykład:



message "You have %player's money%"
remove 20$ from the player's balance 
add 200 to the player's account


 
____________________________________________________________
Name / Display Name - określa wyświetlaną nazwę jednostki/gracza.
 
Przykład:



on join:
player has permission "name.red"
set the player's display name to "<red>[admin]<gold>%name of player%"
set the player's tablist name to "<green>%name of player%"


set the name of the player's tool to "Legendary Sword of Awesomeness"


 
____________________________________________________________
Named Item - określa nazwe przedmiotu.
 
Przykład:



give a diamond sword of sharpness 100 named "<gold>Excalibur" to the player
set tool of player to the player's tool named "<gold>Wand"
set the name of the player's tool to "<gold>Wand"


 
____________________________________________________________
Now - odpowiada za wyświetlanie dokładnej daty wykonania komendy/pętli etc.
 
Przykład:



broadcast "Current server time: %now%"


 
____________________________________________________________
Numbers - określa liczbe.
 
Przykład:



loop 5 times:    //Loops 1, 2, 3, 4, 5
loop numbers from 2.5 to 5.5:    //Loops 2.5, 3.5, 4.5, 5.5
loop integers from 2.9 to 5.1:    //Same as '3 to 5', i.e. loops 3, 4, 5


 
____________________________________________________________
Parse - analizuje podane wartości.
 
Przykład:



set {var} to line 1 parsed as number
on chat:
    set {var::*} to message parsed as "buying %items% for %money%"
    if parse error is set:
        message "%parse error%"
    else if {var::*} is set:
        cancel event
        remove {var::2} from the player's balance
        give {var::1::*} to the player


 
____________________________________________________________
Parse Error - błąd, gdy analiza wartości się nie uda.
 
Przykład:



set {var} to line 1 parsed as integer
if {var} is not set:
    parse error is set:
        message "<red>Line 1 is invalid: %last parse error%"
    else:
        message "<red>Please put an integer on line 1!"


 
____________________________________________________________
Passenger - określa pasażera pojazdu.
 
Przykład:



passenger of the minecart is a creeper or a cow
the saddled pig's passenger is a player


 
____________________________________________________________
Prefix/Suffix - określa przedrostek/przyrostek gracza.
 
Przykład:



on chat:
    cancel event
    broadcast "%player's prefix%%player's display name%%player's suffix%: %message%" to the player's world


set the player's prefix to "[<red>Admin<reset>] "


 
____________________________________________________________
Random - wyciąga losową wartość ze zbioru.
 
Przykład:



give a diamond to a random player out of all players
give a random item out of all items to the player


 
____________________________________________________________
Random Number - określa losowy numer ze zbioru.
 
Przykład:



set the player's health to a random number between 5 and 10
send "You rolled a %random integer from 1 to 6%!" to the player


 
____________________________________________________________
Region - określa teren na którym znajduje się gracz.
 
Przykład:



on region enter:
    region is {forbidden region}
    cancel the event


 
____________________________________________________________
Region Members & Owners - określa właściciela i członków regionu.
 
Przykład:



on entering of a region:
    message "You're entering %region% whose owners are %owners of region%".


 
____________________________________________________________
Regions At - określa wszystkie regiony w określonym miejscu.
 
Przykład:



On click on a sign:
    line 1 of the clicked block is "[region info]"
    set {_regions::*} to regions at the clicked block
    if {_regions::*} is empty:
        message "No regions exist at this sign."
    else:
        message "Regions containing this sign: <gold>%{_regions::*}%<r>."


 
____________________________________________________________
Remaining Air - określa ile czasu gracz spędził bez powietrza (np. pod wodą).
 
Przykład:



player's remaining air is less than 3 seconds:
    send "hurry, get to the surface!" to the player


 
____________________________________________________________
Rounding - n/l
 
Przedmiot:



set {var} to rounded health of player
set line 1 of the block to round(1.5 * player's level)
set {_x} to floor({_y}) - ceil({_x})
add rounded down argument to the player's health


 
____________________________________________________________
Script Name - określa nazwe skryptu.
 
Przykład:



on script load:
    set {running.%script%} to true
on script unload:
    set {running.%script%} to false


 
____________________________________________________________
Shooter - określa jednostke która wystrzeliła pocisk.
 
Przykład:



shooter is a skeleton


add 1 to {game.points.%shooter of {game.ball}%}


 
____________________________________________________________
Sign Text - określa tekst zawarty na tabliczce.
 
Przykład:



on rightclick on sign:
    line 2 of the clicked block is "[Heal]":
        heal the player
    set line 3 to "%player%"


 
____________________________________________________________
Skull - pobiera określoną wartość czaski jednostki (przedmiot głowy).
 
Przykład:



give the victim's skull to the attacker
set the block at the entity to the entity's skull


 
____________________________________________________________
Spawn - określa punkt spawnu na świecie.
 
Przykład:



teleport all players to spawn
set the spawn point of "world" to the player's location


 
____________________________________________________________
Speed - określa prędkość podmiotu.
 
Przykład:



set the player's walk speed to 1
increase the argument's fly speed by 0.1
set the walk speed of the player to 0-(the player's walk speed)


 
____________________________________________________________
Subtext - wyciąga daną wartość z tekstu.
 
Przykład:



set {_s} to the first 5 characters of the text argument


 
____________________________________________________________
Target - określa cel na który patrzy gracz.
 
Przykład:



on entity target:
    entity's target is a player
    send "You're being followed by an %entity%!" to target of entity


 
____________________________________________________________
Targeted Block - określa blok na który patrzy gracz.
 
Przykład:



command /setblock <material>:
    trigger:
        set targeted block to argument


 
____________________________________________________________
Time - określa czas.
 
Przykład:



time in world is between 18:00 and 6:00:
    broadcast "It's night-time, watch out for monsters!"


 
____________________________________________________________
Tool - określa typ narzędzia.
 
Przykład:



player is holding a pickaxe
player's tool is a pickaxe


 
____________________________________________________________
Type of - określa typ określonego bloku/jednostki.
 
Przykład:



on rightclick on an entity:
    message "This is a %type of clicked entity%!"


 
____________________________________________________________
UUID - określa UUID danego gracza.
 
Przykład:



on login:
    {uuids.%name of player%} exists:
        {uuids.%name of player%} is not UUID of player
        kick player due to "Someone with your name has played on this server before"
    else:
        set {uuids.%name of player%} to UUID of player


 
____________________________________________________________
Vehicle - określa typ pojazdu.
 
Przykład:



vehicle of the player is a minecart


 
____________________________________________________________
Version - określa wersje silnika serwera/pluginu (Potrzebuje dodatku SkriptPlus!).
 
Przykład:



message "This server is running Minecraft %minecraft version% on Bukkit %bukkit version%"
message "This server is powered by Skript %skript version%"
message "This server is assisted by Skript Plus %skriptplus version%"


 
____________________________________________________________
Weather - określa pogode na określonym świecie.
 
Przykład:



set weather to clear
weather in "world" is rainy


 
____________________________________________________________
World - określa świat w którym znajduje się podmiot.
 
Przykład:



world is "world_nether"
teleport the player to the world's spawn
set the weather in the player's world to rain


 
____________________________________________________________
Worlds - określa wszystkie światy na serwerze, przydatny przy pętlach.
 
Przykład:



loop all worlds:
    broadcast "You're in %loop-world%" to loop-world


 
____________________________________________________________
X of Item - n/l
 
Przykład:



give level of player of pickaxes to the player


 
____________________________________________________________
Yaw / Pitch - określa przechylenie lokacji w stopniach.
 
Przykład:



log "%player%: %location of player%, %player's yaw%, %player's pitch%" to "playerlocs.log"


set {_variable} to player's location
set yaw of {_variable} to 60
set pitch of {_variable} to 90
teleport player to {_variable}


____________________________________________________________

xKAm1xO.png

  • 1 rok później...
  • 3 miesiące temu...
Opublikowano

Dobry poradnik 

Tak uczyłem się z niego :D

Polecam! ;) 

"Tylko dwie rzeczy są nie skończone wszechświat i ludzka głupota lecz co do tej pierwszej jestem nie pewien" ~Albert Einstein

  • Biter. zmienił(a) tytuł na Pełna dokumentacja Skript po polsku
  • 4 miesiące temu...

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...