options:
p: &9Realistic &8»
perm: turnuva.admins
command /turnuva [<text>]:
permission: {@perm}
trigger:
if arg-1 isn't set:
send "&8&l----------------------------------------------------------------&8&l"
send "{@p} &e/turnuva p1&8/&a1.oyuncunun spawn olacağı yeri belirler."
send "{@p} &e/turnuva p2&8/&a2.oyuncunun spawn olacağı yeri belirler."
send "{@p} &e/turnuva allp&8/&aBütün oyuncuların spawn olacağı yeri belirler"
send "{@p} &e/turnuva attackerp&8/&aKazanan oyuncuların spawn olacağı yeri belirler"
send "{@p} &e/turnuva başlat&8/&aTurnuvayı başlatır"
send "{@p} &e/turnuva bitir&8/&aTurnuvayı bitirir"
send "{@p} &e/turnuvaoyuncu [oyuncu1] [oyuncu2]&8/&aTurnuva için kapıştırılacak oyuncuları seçer"
send "&8&l----------------------------------------------------------------&8&l"
if arg-1 is "p1":
set {turnuva.oyuncu1} to player's location
message "{@p} &ap1'nin &3spawn yeri belirlendi" to player
if arg-1 is "p2":
set {turnuva.oyuncu2} to player's location
send "{@p} &ap2'nin &3spawn yeri belirlendi" to player
if arg-1 is "allp":
set {turnuva.allplayers} to player's location
send "{@p} &aallp'nin &3spawn yeri belirlendi" to player
if arg-1 is "attackerp":
set {turnuva.kazanan} to player's location
send "{@p} &aattackerp'nin &3spawn yeri belirlendi" to player
if arg-1 is "başlat":
set {turnuva.%player%} to true
set {toyunda.%player%} to true
send "{@p} &3Turnuva başladı,oyuncular tplendi !" to all players
send "{@p} &cTurnuvada yetkili kişi kapıştırılacak oyuncuları belirleyecek lütfen bekleyin." to all players
teleport all players to {turnuva.allplayers}
if arg-1 is "bitir":
set {turnuva.%player%} to false
set {toyunda.%player%} to false
send "&9Realistic &8» &3Turnuva sona ermiştir." to all players
teleport all players to spawn
set flight state of all players to false
execute player command "/unvall off"
command /turnuvaoyuncusec [<player>] [<player>]:
permission: {@perm}
trigger:
if arg-1 is not set:
send "{@p} &c/turnuvaoyuncu [oyuncu1] [oyuncu2]"
else:
send "&9Realistic &8» &3Turnuvada kapışmaları için &c%arg-1% &3ve &c%arg-2% &3adlı oyuncular seçildi !" to all players
wait 2 second
teleport arg-1 to {turnuva.oyuncu1}
teleport arg-2 to {turnuva.oyuncu2}
set {toyunda.%arg-1%} to true
set {toyunda.%arg-2%} to true
execute console command "/§kityükle %arg-1%"
execute console command "/§kityükle %arg-2%"
send "{@p} &6Bol Şans !" to arg-1
send "{@p} &6Bol Şans !" to arg-2
command /§kityükle [<player>]:
permission: {@perm}
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 16 of arrow
on death of player:
if {turnuva.%player%} is true:
if {turnuva.%victim%} is true:
if {turnuva.%attacker%} is true:
teleport attacker to {turnuva.kazanan}
send "{@p} &cTurnuvada %attacker% seni öldürdüğü için elendin !" to victim
on death of player:
if {toyunda.%victim%} is true:
delete {toyunda.%victim%}
on command:
if {turnuva.%player%} is true:
if {toyunda.%player%} is true:
if command is not "report" or "turnuvaizle izle" or "ping" or "turnuvaizle geridön":
if player doesn't have the permission "turnuva.komut":
cancel event
send "{@p} &cTurnuva başlamışken sadece &3/report&8,&3/turnuvaizle&8,&3/ping &ckomutlarını kullanabilirsin"