Mam skrypt z setami demo, kosami i toporami, ale chcę żeby dawało je każdemu nowemu graczowi który wszedł na serwer.
Kod skryptu:
on first join:
wait 20 seconds
execute player command "/itemy"
execute console command "/pex user %player% add essentials.item"
execute console command "/pex user %player% add nocheatplus.*"
if player has permission "essentials.item":
execute player command "/demo2"
execute player command "/excalibur"
execute player command "/wlocznia"
execute player command "/topor"
execute console command "/pex user %player% remove essentials.item"
execute console command "/pex user %player% remove nocheatplus.*"
Szybciej nie miałem tego wait 20 seconds i wtedy wcale nie dawało itemów, ale chcę jak już gracz pomyślnie się zarejestruje żeby potem dostał te itemy.