[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