witam, potrzebuje pomocy w napisaniu skryptu, po którego wpisaniu
/komenda arg 1 (w moim przypadku free)
Cytat
if arg 1 is "free":
make console execute command "pex user %player% add cuboid.free"
give player 1 yellow wool named "&2DARMOWY &7CUBOID → &8%player%"
wait 1 tick
send "&7Otrzymałeś &2darmowy&7 cuboid."
stop
dostanie się możliwość położenia wełny z cuboidem, w przeciwnym wypadku nie będzie ona działała jako cuboid a jako zwykła wełna
Cytat
if player has permission "cuboid.free":
on place yellow wool:
send "{@tag} &7Trwa zakładanie cuboida..."
make console execute command "pex user %player% add worldguard.*"
make console execute command "pex user %player% add worldedit.*"
execute player command "//pos1"
execute player command "//pos2"
execute player command "//expand {@teren} n"
execute player command "//expand {@teren} e"
execute player command "//expand {@teren} s"
execute player command "//expand {@teren} w"
execute player command "//expand vert"
execute player command "rg define %player%"
execute player command "rg flag %player% creeper-explosion deny"
execute player command "rg flag %player% mob-damage allow"
execute player command "rg flag %player% mob-spawning allow"
execute player command "rg flag %player% pvp allow"
execute player command "/rg addowner %player% %player%"
execute player command "//pos1"
execute player command "//pos2"
make console execute command "pex user %player% remove worldguard.*"
make console execute command "pex user %player% remove worldedit.*"
make console execute command "pex user %player% remove cuboid.free"
send "{@tag} &7Cuboid został &2zalozony&7."
make console execute command "pex user %player% add teren.lider"
stop
i żeby komenda /komenda free była komendą jednorazową, jak ktoś to zrobi to całuję po rękach, bo mi nie działa -,-
Pytanie
Czester2222 0
witam, potrzebuje pomocy w napisaniu skryptu, po którego wpisaniu
/komenda arg 1 (w moim przypadku free)
dostanie się możliwość położenia wełny z cuboidem, w przeciwnym wypadku nie będzie ona działała jako cuboid a jako zwykła wełna
i żeby komenda /komenda free była komendą jednorazową, jak ktoś to zrobi to całuję po rękach, bo mi nie działa -,-
Edytowane przez Czester2222Odnośnik do komentarza
https://skript.pl/temat/33774-cuboidy/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.