Skript İstek

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

HakanK1905

Odunlara Vur Vur Vur!
Katılım
7 Haziran 2017
Mesajlar
27
Elmaslar
4
Puan
13.210
Yaş
28
Arkadaşlar pvp serverim için turnuva skripti yapabilcek varmı?

Yapabilcek varsa şöyle olursa sevinirim


Mesela turnuvada kapışcak arkadaşlar için 2 başlangıç yerini ayarlama komutu 1.oyuncu için /yerbelirle 1 2.oyuncu için /yerbelirle 2

Mesela turnuva başlıyınca kit gelcek kit şöyle olursa sevinirim demir set kılıc 1slotta demir kılıc 2.de çakmak 3.de olta 4.de yay ve 10 tane ok olsun

Turnuvayı başlatmak /turnuvabaslat komutuyla olsun

Kapışcak adamları /turnuvaadamsec oyuncuismi oyuncuismi komutuyla seçek

Ben bi skript buldumda onda adamların yerleri belırlenmıyor.
 
Bulduğun Skripti Paylaşırsan Ekleyebiliriz Diye Düşünüyorum​
 
[HASHTAG]#Turnuva[/HASHTAG] Sistemi
[HASHTAG]#Author[/HASHTAG]: Kaan Koc

#Oyuncuları ışınlanıcak konumları belirleme

command /belirle [<number>]:
permission: sk.turnuva
trigger:
if arg 1 is 1 or 2:
set {nokta%arg 1%} to location of player
send "&a%arg 1%. nokta belirlendi!"
else:
send "&c/belirle (1|2)"


[HASHTAG]#Turnuva[/HASHTAG] Baslatma

command /turnuvabaslat:
permission: turnuva.admin
permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!"
trigger:
set {turnuva} to "acik"
message "&cTURNUVA BASLIYOR!!" to all players
message "&4&l10!" to all players
message "&4&l9!" to all players
message "&4&l8!" to all players
message "&4&l7!" to all players
message "&4&l6!" to all players
message "&4&l5!" to all players
message "&4&l4!" to all players
message "&4&l3!" to all players
message "&4&l2!" to all players
message "&4&l1!" to all players
message "&cOyuncular cekiliyor!!" to all players
teleport all players to {turnuva.allplayers}
message "&cOyuncular cekildi!" to all players
message "&cYetkili turnuvada kapismalari icin adam belirleyecek lütfen bekleyin!" to all players

[HASHTAG]#Turnuva[/HASHTAG] icin adam secme

command /turnuvaadamsec [<player>] [<player>]:
permission: turnuva.admin
permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!"
trigger:
if arg-1 is not set:
message "&c/turnuvaadamsec <oyuncu> <oyuncu>"
if arg-2 is not set:
message "&c/turnuvaadamsec <oyuncu> <oyuncu>"
else:
message "&cTurnuvada kapismalari icin %arg-1% ve %arg-2% secildi yerlerine cekiliyorlar!" to all players
wait 3 second
teleport arg-1 to {turnuva.oyuncu1}
teleport arg-2 to {turnuva.oyuncu2}
execute console command "/kitload %arg-1%"
execute console command "/kitload %arg-2%"
message "&cIyi kapismalar!" to all players




#Ölenleri ölünce gidilicek yere gönderir (Turnuva acikken calisir)
#Kazananıda kazananlar yerine göndericek

on death:
attacker is a player
victim is a player
if {turnuva} is "acik":
teleport victim to {turnuva.ölenler}
teleport attacker to {turnuva.kazanan}



[HASHTAG]#Turnuva[/HASHTAG] icinde kullanılıcak kit

command /kitload [<player>]:
permission: turnuva.admin
trigger:
loop items in arg-1's inventory:
remove loop-item from arg-1
wait 0.1 seconds
equip arg-1 with all iron armor
set slot 0 of arg-1 to iron sword
set slot 1 of arg-1 to flint and steel
set slot 2 of arg-1 to fishing rod
set slot 3 of arg-1 to bow
set slot 8 of arg-1 to 15 of arrow[DOUBLEPOST=1497715391,1497715302][/DOUBLEPOST]
Bulduğun Skripti Paylaşırsan Ekleyebiliriz Diye Düşünüyorum​
[HASHTAG]#Turnuva[/HASHTAG] Sistemi
[HASHTAG]#Author[/HASHTAG]: Kaan Koc

#Oyuncuları ışınlanıcak konumları belirleme

command /belirle [<number>]:
permission: sk.turnuva
trigger:
if arg 1 is 1 or 2:
set {nokta%arg 1%} to location of player
send "&a%arg 1%. nokta belirlendi!"
else:
send "&c/belirle (1|2)"


[HASHTAG]#Turnuva[/HASHTAG] Baslatma

command /turnuvabaslat:
permission: turnuva.admin
permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!"
trigger:
set {turnuva} to "acik"
message "&cTURNUVA BASLIYOR!!" to all players
message "&4&l10!" to all players
message "&4&l9!" to all players
message "&4&l8!" to all players
message "&4&l7!" to all players
message "&4&l6!" to all players
message "&4&l5!" to all players
message "&4&l4!" to all players
message "&4&l3!" to all players
message "&4&l2!" to all players
message "&4&l1!" to all players
message "&cOyuncular cekiliyor!!" to all players
teleport all players to {turnuva.allplayers}
message "&cOyuncular cekildi!" to all players
message "&cYetkili turnuvada kapismalari icin adam belirleyecek lütfen bekleyin!" to all players

[HASHTAG]#Turnuva[/HASHTAG] icin adam secme

command /turnuvaadamsec [<player>] [<player>]:
permission: turnuva.admin
permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!"
trigger:
if arg-1 is not set:
message "&c/turnuvaadamsec <oyuncu> <oyuncu>"
if arg-2 is not set:
message "&c/turnuvaadamsec <oyuncu> <oyuncu>"
else:
message "&cTurnuvada kapismalari icin %arg-1% ve %arg-2% secildi yerlerine cekiliyorlar!" to all players
wait 3 second
teleport arg-1 to {turnuva.oyuncu1}
teleport arg-2 to {turnuva.oyuncu2}
execute console command "/kitload %arg-1%"
execute console command "/kitload %arg-2%"
message "&cIyi kapismalar!" to all players




#Ölenleri ölünce gidilicek yere gönderir (Turnuva acikken calisir)
#Kazananıda kazananlar yerine göndericek

on death:
attacker is a player
victim is a player
if {turnuva} is "acik":
teleport victim to {turnuva.ölenler}
teleport attacker to {turnuva.kazanan}



[HASHTAG]#Turnuva[/HASHTAG] icinde kullanılıcak kit

command /kitload [<player>]:
permission: turnuva.admin
trigger:
loop items in arg-1's inventory:
remove loop-item from arg-1
wait 0.1 seconds
equip arg-1 with all iron armor
set slot 0 of arg-1 to iron sword
set slot 1 of arg-1 to flint and steel
set slot 2 of arg-1 to fishing rod
set slot 3 of arg-1 to bow
set slot 8 of arg-1 to 15 of arrow
 
Bu Baya Uzun Olduğundan
Metin Düzenleme Kısmındaki Editör Bölümündeki + İşaretinden Kod Olarak Eklermisin Rİca Etsem Tabları Yeniden Atmak Uğraştırıcı Olucak Yoksa​
 
Kod:
#Turnuva Sistemi
#Author: Kaan Koc

#Oyuncuları ışınlanıcak konumları belirleme

command /belirle [<number>]:
    permission: sk.turnuva
    trigger:
        if arg 1 is 1 or 2:
            set {nokta%arg 1%} to location of player
            send "&a%arg 1%. nokta belirlendi!"
        else:
            send "&c/belirle (1|2)"
          
          
#Turnuva Baslatma

command /turnuvabaslat:
    permission: turnuva.admin
    permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!"
    trigger:
        set {turnuva} to "acik"
        message "&cTURNUVA BASLIYOR!!" to all players
        message "&4&l10!" to all players
        message "&4&l9!" to all players
        message "&4&l8!" to all players
        message "&4&l7!" to all players
        message "&4&l6!" to all players
        message "&4&l5!" to all players
        message "&4&l4!" to all players
        message "&4&l3!" to all players
        message "&4&l2!" to all players
        message "&4&l1!" to all players
        message "&cOyuncular cekiliyor!!" to all players
        teleport all players to {turnuva.allplayers}
        message "&cOyuncular cekildi!" to all players
        message "&cYetkili turnuvada kapismalari icin adam belirleyecek lütfen bekleyin!" to all players
  
#Turnuva icin adam secme
  
command /turnuvaadamsec [<player>] [<player>]:
    permission: turnuva.admin
    permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!"
    trigger:
        if arg-1 is not set:
            message "&c/turnuvaadamsec <oyuncu> <oyuncu>"
        if arg-2 is not set:
            message "&c/turnuvaadamsec <oyuncu> <oyuncu>"
        else:
            message "&cTurnuvada kapismalari icin %arg-1% ve %arg-2% secildi yerlerine cekiliyorlar!" to all players
            wait 3 second
            teleport arg-1 to {turnuva.oyuncu1}
            teleport arg-2 to {turnuva.oyuncu2}
            execute console command "/kitload %arg-1%"
            execute console command "/kitload %arg-2%"
            message "&cIyi kapismalar!" to all players
          
      
      
      
#Ölenleri ölünce gidilicek yere gönderir (Turnuva acikken calisir)
#Kazananıda kazananlar yerine göndericek

on death:
    attacker is a player
    victim is a player
    if {turnuva} is "acik":
        teleport victim to {turnuva.ölenler}
        teleport attacker to {turnuva.kazanan}
      
      

#Turnuva icinde kullanılıcak kit

command /kitload [<player>]:
    permission: turnuva.admin
    trigger:
        loop items in arg-1's inventory:
            remove loop-item from arg-1
        wait 0.1 seconds
        equip arg-1 with all iron armor
        set slot 0 of arg-1 to iron sword
        set slot 1 of arg-1 to flint and steel
        set slot 2 of arg-1 to fishing rod
        set slot 3 of arg-1 to bow
        set slot 8 of arg-1 to 15 of arrow
 
Denermisin Sana Zahmet​
Kod:
#Turnuva Sistemi
#Author: Kaan Koc

#Oyuncuları ışınlanıcak konumları belirleme

command /belirle [<text>]:
    permission: sk.turnuva
    trigger:
        if arg 1 is "allplayers" or "oyuncu1" or "oyuncu2" or "ölenler" or "kazananlar":
            set {turnuva.%arg-1%} to location of player
            send "&a%arg 1%. nokta belirlendi!"
        else:
            send "&c/belirle &aallplayers&boyuncu1&coyuncu2&dölenler&ekazananlar"
          
          
#Turnuva Baslatma

command /turnuvabaslat:
    permission: turnuva.admin
    permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!"
    trigger:
        set {turnuva} to "acik"
        message "&cTURNUVA BASLIYOR!!" to all players
        message "&4&l10!" to all players
        message "&4&l9!" to all players
        message "&4&l8!" to all players
        message "&4&l7!" to all players
        message "&4&l6!" to all players
        message "&4&l5!" to all players
        message "&4&l4!" to all players
        message "&4&l3!" to all players
        message "&4&l2!" to all players
        message "&4&l1!" to all players
        message "&cOyuncular cekiliyor!!" to all players
        teleport all players to {turnuva.allplayers}
        message "&cOyuncular cekildi!" to all players
        message "&cYetkili turnuvada kapismalari icin adam belirleyecek lütfen bekleyin!" to all players
 
#Turnuva icin adam secme
 
command /turnuvaadamsec [<player>] [<player>]:
    permission: turnuva.admin
    permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!"
    trigger:
        if arg-1 is not set:
            message "&c/turnuvaadamsec <oyuncu> <oyuncu>"
        if arg-2 is not set:
            message "&c/turnuvaadamsec <oyuncu> <oyuncu>"
        else:
            message "&cTurnuvada kapismalari icin %arg-1% ve %arg-2% secildi yerlerine cekiliyorlar!" to all players
            wait 3 second
            teleport arg-1 to {turnuva.oyuncu1}
            teleport arg-2 to {turnuva.oyuncu2}
            execute console command "/kitload %arg-1%"
            execute console command "/kitload %arg-2%"
            message "&cIyi kapismalar!" to all players
          
      
      
      
#Ölenleri ölünce gidilicek yere gönderir (Turnuva acikken calisir)
#Kazananıda kazananlar yerine göndericek

on death:
    attacker is a player
    victim is a player
    if {turnuva} is "acik":
        teleport victim to {turnuva.ölenler}
        teleport attacker to {turnuva.kazanan}
      
      

#Turnuva icinde kullanılıcak kit

command /kitload [<player>]:
    permission: turnuva.admin
    trigger:
        loop items in arg-1's inventory:
            remove loop-item from arg-1
        wait 0.1 seconds
        equip arg-1 with all iron armor
        set slot 0 of arg-1 to iron sword
        set slot 1 of arg-1 to flint and steel
        set slot 2 of arg-1 to fishing rod
        set slot 3 of arg-1 to bow
        set slot 8 of arg-1 to 15 of arrow
 
Bende böyle birşey yazmıştım fakat geç kaldım sanırım şöyle bırakayım kodları.
Kod:
command /turnuva [<text>] [<text>] [<text>]:
    trigger:
        if player has permission "turnuva.admin":
            if arg-1 is "yer":
                if arg-2 is "1" or "2":
                    if arg-2 is "1":
                        set {t::yer1} to player's location
                        message "&6&lTurnuva &4&l» &aYer 1 belirlendi!"
                        stop
                    else if arg-2 is "2":
                        set {t::yer2} to player's location
                        message "&6&lTurnuva &4&l» &aYer 2 belirlendi!"
                        stop
                else:
                    execute player command "turnuva"
            else if arg-1 is "baslat":
                if arg-2 is set:
                    if arg-3 is set:
                        if {t::yer1} is set:
                            if {t::yer2} is set:
                                set {_p1} to "%arg-2%" parsed as player
                                set {_p2} to "%arg-3%" parsed as player
                                if {_p1} is not online:
                                    message "&cOyuncu bulunamadı"
                                    stop
                                if {_p2} is not online:
                                    message "&cOyuncu bulunamadı"
                                    stop
                                broadcast "&6&lTurnuva başladı!"
                                broadcast ""
                                broadcast "&f%arg-2% &cVS &f%arg-3%"
                                broadcast ""
                                broadcast ""
                                teleport {_p1} to {t::yer1}
                                teleport {_p2} to {t::yer2}
                                invoke "kitVer" from {_p1}
                                invoke "kitVer" from {_p2}
                                
                            else:
                                message "&cTurnuva yerleri belirlenmemiş!"
                        else:
                            message "&cTurnuva yerleri belirlenmemiş!"
                    else:
                        execute player command "turnuva"
                else:
                    execute player command "turnuva"
            else:
                message "&8&l&m----------&6&lTUR&e&lNU&f&lVA8&l&m----------"
                message "&6&l> &a/turnuva yer (1/2)"
                message "&6&l> &a/turnuva baslat (oyuncu) (oyuncu)
        else:
            message "&6&lTurnuva &4&l» &c&oBu komutu kullanamazsın!"
sub "kitVer":
    set {_p} to "%parameter-1%" parsed as player
    clear the {_p}'s iventory
    wait 3 ticks
    equip {_p} with all iron armours
    set slot 0 of {_p} to iron sword
    set slot 1 of {_p} to flint and stell
    set slot 2 of {_p} to fishing rod
    set slot 3 of {_p} to bow
    set slot 4 of {_p} to 10 arrow
    set slot
 
Saolun hemen deniyorum.[DOUBLEPOST=1497716715,1497716421][/DOUBLEPOST]Çok saolun oldu :)
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst