Czemu -e? On chce zmienić, nie wyłączyć. Zamiast -e można tam wpisać dowolny tekst. A w skrypcie to
on break:
if "%regions at event-block%" contains "REGION":
cancel event
send "MESSAGE"
on place:
if "%regions at event-block%" contains "REGION":
cancel event
send "MESSAGE"
on place:
if player's tool is emerald ore of unbreaking 10:
wait 3 tick
if block at event-location is emerald ore:
loop blocks under event-block:
loop-block is bedrock:
stop loop
else:
set loop-block to air
else:
send "&cNie mozesz tu tego postawic!"
command /kup1:
trigger:
set {_tok} to placeholder "tok"
if {_tok} is more than 999:
Execute console command "pex user %player% add permisja"
else:
send "&cNie masz tylu monet"
Tylko jeśli nie dasz gracza, to gdy użyjesz itemu, inni gracze będą mieli ten sam cooldown. Pewnie znajdzie się jakiś troll co na afku będzie używał item żeby blokować to innym. Lepiej dać wszędzie po "::" %player% (albo %loop-player%).
dodaj loop all players i zamień %player% na %loop-player%
every second:
loop all players:
if {axe::%loop-player%} is 20:
add 1 to {cooldown::thor}
if {cooldown::thor} is 20:
clear {cooldown::thor}