minecrafttr aramıza katil!
batihost minecraft server kirala
Satın Al
MinecraftTR Reklam Alanı
Satın Al
Satın Al
Satın Al

Ufak Skript Konusunda Yardım Edebilecek Varmı

Seçkin madenci.
Katılım
22 Ağustos 2020
Mesajlar
39
Tepki puanı
0
Puanları
1,135
Discord
Merhabalar Sizden istiyeceğim skript şudur : oyuncular öldüğünde benim belirleyeceğim dünyada doğması yani şöyle arenada öldüyse arenanın spawnında doğucak veya fps areneda öldüyse fps arenanın spawnında doğudacak

2. isteğimde şudur : oyuncular arenadan spawnda ışınlanınca üstündeki itemlerin silinmesi buna üstündeki zırhlarda dair


bu skripti yapabilecek varsa çok minnettar olurum şimdiden teşekkür ediyorum
 
Seçkin madenci.
Katılım
2 Şubat 2019
Mesajlar
15
Tepki puanı
1
Puanları
1,170
Discord
Umarım istediğiniz şey budur:

Kod:
options:
    set {arenadeath::%player%} to false
    set {fpsarenadeath::%player%} to false

on command /arenasetspawn:
    trigger:
        if player has permission "*":
            set {arenaspawn} to location of player
        else:
            send "&cBunun için yetkin yok!" to player
            
on command /fpsarenasetspawn:
    trigger:
        if player has permission "*":
            set {fpsarenaspawn} to location of player
        else:
            send "&cBunun için yetkin yok!" to player
            
on death:
    if player is in world "Arena":
        set {arenadeath::%player%} to true
    if player is in world "FPSArena":
        set {fpsarenadeath::%player%} to true

on respawn:
    if {arenadeath::%player%} is true:
        teleport player to {arenaspawn}
        set {arenadeath::%player%} to false
    if {fpsarenadeath::%player%} is true:
        teleport player to {fpsarenaspawn}
        set {fpsarenadeath::%player%} to false
 
Seçkin madenci.
Katılım
22 Ağustos 2020
Mesajlar
39
Tepki puanı
0
Puanları
1,135
Discord
Umarım istediğiniz şey budur:

Kod:
options:
    set {arenadeath::%player%} to false
    set {fpsarenadeath::%player%} to false

on command /arenasetspawn:
    trigger:
        if player has permission "*":
            set {arenaspawn} to location of player
        else:
            send "&cBunun için yetkin yok!" to player
           
on command /fpsarenasetspawn:
    trigger:
        if player has permission "*":
            set {fpsarenaspawn} to location of player
        else:
            send "&cBunun için yetkin yok!" to player
           
on death:
    if player is in world "Arena":
        set {arenadeath::%player%} to true
    if player is in world "FPSArena":
        set {fpsarenadeath::%player%} to true

on respawn:
    if {arenadeath::%player%} is true:
        teleport player to {arenaspawn}
        set {arenadeath::%player%} to false
    if {fpsarenadeath::%player%} is true:
        teleport player to {fpsarenaspawn}
        set {fpsarenadeath::%player%} to false
1608114223157.png
 
Seçkin madenci.
Katılım
2 Şubat 2019
Mesajlar
15
Tepki puanı
1
Puanları
1,170
Discord
Son düzenleme:
Seçkin madenci.
Katılım
22 Ağustos 2020
Mesajlar
39
Tepki puanı
0
Puanları
1,135
Discord
on command yazarken komut " içinde olması gerekiyor diye biliyorum yani örnek vereyim:

command /pandorasetspawn: #bu komut oluştururken
on command "/pandorasetspawn": #buda varolan komutu kullanmayı algılarken demek oluyor.

veya siz bana kullandığınız skripti yollayın ben onu gözden geçireyim.
options:
set {pandoradeath::%player%} to false
set {açikalandeath::%player%} to false

on command /pandorasetspawn:
trigger:
if player has permission "*":
set {arenaspawn} to location of player
else:
send "&cBunun için yetkin yok!" to player

on command /açikalansetspawn:
trigger:
if player has permission "*":
set {fpsarenaspawn} to location of player
else:
send "&cBunun için yetkin yok!" to player

on death:
if player is in world "açikalan":
set {pandoradeath::%player%} to true
if player is in world "pandora":
set {açikalandeath::%player%} to true

on respawn:
if {pandoradeath::%player%} is true:
teleport player to {pandoraspawn}
set {pandoradeath::%player%} to false
if {açikalandeath::%player%} is true:
teleport player to {açikalanspawn}
set {açikalandeath::%player%} to false
 
Seçkin madenci.
Katılım
2 Şubat 2019
Mesajlar
15
Tepki puanı
1
Puanları
1,170
Discord
evet dediğim gibi "on command" değil" command" kullanmanız gerekiyor ve eğer "on command" kullanırsanız "trigger:" kullanmamalısınız. Eğer "on command" yerine "command" yazarsanız çalışacaktır.

bir hata daha alicaksiniz değişkenlerde yani şu şekilde:

dünya adı yerine "ğüşiöç" gibi türkçe harf kullanmadan deneyin. Ben bu kodu size düzenledim buyrun:


Kod:
options:
    set {pandoradeath::%player%} to false
    set {açikalandeath::%player%} to false
    
command /pandorasetspawn:
    trigger:
        if player has permission "*":
            set {arenaspawn} to location of player
        else:
            send "&cBunun için yetkin yok!" to player

on command /açikalansetspawn:
    trigger:
        if player has permission "*":
            set {fpsarenaspawn} to location of player
        else:
            send "&cBunun için yetkin yok!" to player

on death:
    if player is in world "acikalan":
        set {pandoradeath::%player%} to true
    if player is in world "pandora":
        set {açikalandeath::%player%} to true

on respawn:
    if {pandoradeath::%player%} is true:
        teleport player to {pandoraspawn}
        set {pandoradeath::%player%} to false
    if {açikalandeath::%player%} is true:
        teleport player to {açikalanspawn}
        set {açikalandeath::%player%} to false

options:
set {pandoradeath::%player%} to false
set {açikalandeath::%player%} to false

on command /pandorasetspawn:
trigger:
if player has permission "*":
set {arenaspawn} to location of player
else:
send "&cBunun için yetkin yok!" to player

on command /açikalansetspawn:
trigger:
if player has permission "*":
set {fpsarenaspawn} to location of player
else:
send "&cBunun için yetkin yok!" to player

on death:
if player is in world "açikalan":
set {pandoradeath::%player%} to true
if player is in world "pandora":
set {açikalandeath::%player%} to true

on respawn:
if {pandoradeath::%player%} is true:
teleport player to {pandoraspawn}
set {pandoradeath::%player%} to false
if {açikalandeath::%player%} is true:
teleport player to {açikalanspawn}
set {açikalandeath::%player%} to false
 

Üst