Başka yolu yok muWorldEdit ile yapabilirsin. //replace dirt diamondore toprağı diamond'a çevirir mesela. Komut bloklarını kullanabilirsin ancak performansı nasıl etkiler bilmiyorum
Başka yolu yok mu
Every 15 real seconds:
loop all players:
loop blocks in radius 50 around loop-player:
loop-block is fire:
set loop-block to air
command /alev [<text>] [<text>]:
trigger:
if arg-1 is "bilgi" or "ac" or "kapat":
if arg-1 is "ac":
set {Alev} to "Acik"
send "&aArtik Ates Olusabilir." to player
stop
if arg-1 is "kapat":
delete {Alev}
send "&aArtik Ates Olusamaz." to player
stop
if arg-1 is "bilgi":
if {Alev} is set:
send "&aSunucuda Ates Yanmasi &b%{Alev}%" to player
stop
else:
send "&aSunucuda Ates Yanmasi &bKapali" to player
stop
on burn:
if {alev} is "Acik":
stop
else:
cancel event
command /alev [<text>] [<text>]:
trigger:
if arg-1 is "bilgi" or "ac" or "kapat":
if arg-1 is "ac":
set {Alev} to "Acik"
send "&aArtik Ates Olusabilir." to player
stop
if arg-1 is "kapat":
delete {Alev}
send "&aArtik Ates Olusamaz." to player
stop
if arg-1 is "bilgi":
if {Alev} is set:
send "&aSunucuda Ates Yanmasi &b%{Alev}%" to player
stop
else:
send "&aSunucuda Ates Yanmasi &bKapali" to player
stop
on burn:
if {alev} is "Acik":
stop
else:
cancel event
every 15 second:
if {Alev} is not set:
set {Alev} to "Acik"
else:
delete {Alev}
denedim calismadiKOD 1:
/alev kapat ---> Sunucuda Ateş Yanmaz
/Alev ac ---> Sunucuda Ateş Yanar
/alev bilgi ---> Ateş bilgisini gösterir
Kod:on command /alev [<text>] [<text>] trigger: if arg-1 is "bilgi" or "ac" or "kapat" if arg-1 is "ac": set {Alev} to "Acik" send "&aArtik Ates Olusabilir." to player stop if arg-1 is "kapat": set {Alev} to "Kapali" send "&aArtik Ates Olusamaz." to player stop if arg-1 is "bilgi": send "&aSunucuda Ates Yanmasi &b%{Alev}%" to player stop on burn: if {alev} is "Acik": stop else: cancel event
KOD 2:
/alev kapat ---> Sunucuda Ateş Yanmaz
/Alev ac ---> Sunucuda Ateş Yanar
/alev bilgi ---> Ateş bilgisini gösterir
bu kodda 15 Saniyede tüm alevler söner.
Kod:on command /alev [<text>] [<text>] trigger: if arg-1 is "bilgi" or "ac" or "kapat" if arg-1 is "ac": set {Alev} to "Acik" send "&aArtik Ates Olusabilir." to player stop if arg-1 is "kapat": delete {Alev} send "&aArtik Ates Olusamaz." to player stop if arg-1 is "bilgi": if {Alev} is set: send "&aSunucuda Ates Yanmasi &b%{Alev}%" to player stop else: send "&aSunucuda Ates Yanmasi &bKapali" to player stop every 15 second: if {Alev} is not set: set {Alev} to "Acik" else: delete {Alev} on burn: if {alev} is "Acik": stop else: cancel event
Nerede hata verdi ben denemedimde düzelteyim yazım hatası olmuşturdenedim calismadi
every 5 real minutes:
loop blocks:
if loop-block is fire:
set loop-block to air
on command yazmissin onu duzelttimde ateş felan yanmaya devam ediyorNerede hata verdi ben denemedimde düzelteyim yazım hatası olmuştur
Edit: Tekrar denersen olcaktır. ":" koymayı unutmuşum
Bakayım 1 dakika, evet kafam dağılmış on command nerden çıkmışon command yazmissin onu duzelttimde ateş felan yanmaya devam ediyor
Denersen olcaktır tüm hataları düzelttim.on command yazmissin onu duzelttimde ateş felan yanmaya devam ediyor
command /alev [<text>] [<text>]:
trigger:
if arg-1 is "bilgi" or "ac" or "kapat":
if arg-1 is "ac":
set {Alev} to "Acik"
send "&aArtik Ates Olusabilir." to player
stop
if arg-1 is "kapat":
delete {Alev}
send "&aArtik Ates Olusamaz." to player
stop
if arg-1 is "bilgi":
if {Alev} is set:
send "&aSunucuda Ates Yanmasi &b%{Alev}%" to player
stop
else:
send "&aSunucuda Ates Yanmasi &bKapali" to player
stop
on burn:
if {alev} is "Acik":
stop
else:
cancel event
Loop-block can't be set to anything hatası alıyorum nasıl yapcaz ?Nerede hata verdi ben denemedimde düzelteyim yazım hatası olmuştur
Edit: Tekrar denersen olcaktır. ":" koymayı unutmuşum
Bu arada tam istenilen kodda bu ama sunucu çökecektir
Kod:every 5 real minutes: loop blocks: if loop-block is fire: set loop-block to air
set block at loop-block to airLoop-block can't be set to anything hatası alıyorum nasıl yapcaz ?
Every 15 real seconds:
loop all players:
loop blocks in radius 50 around loop-player:
loop-block is fire:
set loop-block to air
at loop-block is not a directionset block at loop-block to air
boyle dene
edit:
bu koddan bahsediyorsan kendim test ettim sorunsuz. arkadasta kullanıyor pvp serverinde
PHP:Every 15 real seconds: loop all players: loop blocks in radius 50 around loop-player: loop-block is fire: set loop-block to air