Suya Atlayınca Otomatik Belirli Yerlere Işınlasın

Macaw

YASAKLANDI
En iyi cevaplar
0
Random Teleport hakkında bir bilgi veriyim sadece senin belirlediğin alan içinde oyuncuları rastgele ışınlıyor config'den ayarlıyabilirsin
 

ilkeroyun

Elmas Madencisi
En iyi cevaplar
2
Parkur yapıcaksan onun plugininde o özellik olması lazım onu bi araşıtır bence
 

Blueyescat

Bedrock Kaşifi
En iyi cevaplar
0
PHP:
every 2 ticks:
    loop players:
        if block at loop-player is water:
            teleport player to random location of {locations::*}

command /loc <text>:
    permission: asdasd
    trigger:
        if arg-1 is "add":
            add location of block at player to {locations::*}
        else if arg-1 is "remove":
            remove location of block at player from {locations::*}
        else if arg-1 is "list":
            loop {locations::*}:
                send "%loop-value%"
 

Absolatte

Demir Madencisi
En iyi cevaplar
0
Bence bir oyuncunun suya girdiğini kontrol etmek için tüm sunucudaki oyuncuların suda olup olmadığını kontrol etmek biraz gereksiz olmuş.
on any move eventi ile tek bir oyuncu girdiği zaman eylem gerçekleştirilmesi daha yararlı olur.

Kod:
command /loc <text>:
    permission: asdasd
    trigger:
        if arg-1 is "add":
            add location of block at player to {locations::*}
        else if arg-1 is "remove":
            remove location of block at player from {locations::*}
        else if arg-1 is "list":
            loop {locations::*}:
                send "%loop-value%"[/php][/QUOTE]
on join:
    if {lastLoc::%player%} is not set:
        set {lastLoc::%player%} to location of player

on any move:
    if x coord of player is not x coord of {lastLoc::%player%}:
        set {_c} to true
    if y coord of player is not y coord of {lastLoc::%player%}:
        set {_c} to true
    if z coord of player is not z coord of {lastLoc::%player%}:
        set {_c} to true
    if {_c} is true:
        if block at player is water:
            teleport player to random location of {locations::*}
    set {lastLoc::%player%} to location of player
 
Üst