options: # TAG do komend WorldEdit we: &6&k.&6&k&l.&6&k.&dWorldEDIT&6&k.&6&k&l.&6&k. # Bloki na których można operować. Domyślnie: Stone, Cobblestone bloki: "1" or "4" # Możesz dodać więcej bloków. Wzór: "ID NUMERYCZNE BLOKU" or "ID NUMERYCZNE BLOKU" itd. # Permission message perm: &4BLAD &7&k. &cBrak permisji # Bloki do brusha bb: "1" or "2" or "3" or "4" or "5" or "6" or "7" or "8" or "9" or "10" # Możesz dodać więcej bloków. Wzór: "ID NUMERYCZNE BLOKU" or "ID NUMERYCZNE BLOKU" itd. # S command //we []: usage: //we [reload|saveall] permission: worldedit.* permission message: {@perm} description: &cPozwala na dowolna edycje swiata za pomoca latwych do zapamietania komend trigger: if arg 1 is not set: send "&c//we |" if arg 1 is "reload": execute console command "sk reload %script%" send "&cPrzeladowano &dWorldEDIT" if arg 1 is "saveall": execute console command "save-all" send "&cTrwa zapisywanie logu w katalogu "plugins/Skript/scripts/WorldEDIT"" wait 2 seconds if folder "plugins/Skript/scripts/WorldEDIT" doesn't exist: create folder "plugins/Skript/scripts/WorldEDIT" if file "plugins/Skript/scripts/WorldEDIT/%display name of player% log.yml" doesn't exist: create file "plugins/Skript/scripts/WorldEDIT/%display name of player% log.yml" else: send "&cLog pod taka nazwa jest juz zapisany! Usun go z katalogu i zapisz ponownie." stop # e command //wand: usage: //wand permission: worldedit.wand permission message: {@perm} description: &cNadaje rozdzke do operowania terenem trigger: if player have permission "worldedit.wand" or "worldedit.*": give %player% 1 wooden axe named "&dRozdzka" with lore "&9Pozwala na szybkie edytowanie terenu" send "&dZaznacz pozycje 1 i 2 uzywajac LPM i PPM lub komendami //pos1 i //pos2" stop # r command //set []: usage: //set [material] permission: worldedit.set permission message: {@perm} description: &cUzupelnia bloki w zaznaczonym przez Ciebie terenie trigger: if arg 1 is set: execute player command "/fill %{_pos1}% %{_pos2}% %arg 1%" send "&cWypelniono blokami &e%arg 1% &czaznaczony teren." clear {_pos1} clear {_pos2} # n command //pos1: usage: //pos1 permission: worldedit.pos permission message: {@perm} description: Zaznacza pozycje nr. 1 trigger: if player's tool is wooden axe: if player has permission "worldedit.wand" or "worldedit.*": if target block is {@bloki}: set {_pos1} to %location of player% send "&dUstawiono pozycje nr. 1" stop # i command //pos2: usage: //pos2 permission: worldedit.pos permission message: {@perm} description: Zaznacza pozycje nr. 2 trigger: if player's tool is wooden axe: if player has permission "worldedit.wand" or "worldedit.*": if target block is {@bloki}: set {_pos2} to %location of player% send "&dUstawiono pozycje nr. 2" stop # c command //brush []: aliases: br, brash, brasz, brusz usage: //brush [material] permission: worldedit.brush permission message: {@perm} description: &cNie wiem jak to opisac ale chyba kazdy wie o co chodzi trigger: if arg 1 is not set: send "&c//brush " send "&7Nic z tego nzsie zadziala, poniewaz dodam to w nastepnej wersji skryptu!" # k on leftclick: if player's tool is wooden axe: if player has permission "worldedit.wand" or "worldedit.*": if target block is {@bloki}: set {_pos1} to %location of target block% send "&dUstawiono pozycje nr. 1" stop # L on rightclick: if player's tool is wooden axe: if player has permission "worldedit.wand" or "worldedit.*": if target block is {@bloki}: set {_pos2} to %location of target block% send "&dUstawiono pozycje nr. 2" stop # O # L