- En iyi cevaplar
- 0
Merhaba forumda çok fazla turnuva skript istekleri gördüm ve bende yazıyım dedim yaklaşık 35 dakika içindede yazmayı bitirdim.
Herhangi bir yanlışımı görürseniz yorumda belirtirseniz sevinirim ki bende hemen düzeltiyim.
İzin almadan paylaşmayın fakat kendi serverinizde kullanabilirsiniz!
Herhangi bir yanlışımı görürseniz yorumda belirtirseniz sevinirim ki bende hemen düzeltiyim.
İzin almadan paylaşmayın fakat kendi serverinizde kullanabilirsiniz!
Kod:
#Turnuva Sistemi
#Author: Kaan Koc
#Oyuncuları ışınlanıcak konumları belirleme
command /konumbelirle [<text>]:
permission: turnuva.admin
permission message: &cBu komutu kullanmak icin yeterli izne sahip degilsiniz!
trigger:
if arg-1 is "oyuncu1":
set {turnuva.oyuncu1} to player's location
message "&cOyuncu 1'nin konumu ayarlandi!" to player
if arg-1 is "oyuncu2":
set {turnuva.oyuncu2} to player's location
message "&cOyuncu 2'nin konumu ayarlandi!" to player
if arg-1 is "butunoyuncular":
set {turnuva.allplayers} to player's location
message "&cTüm oyuncular turnuva başlatılınca buraya cekilicek!" to player
if arg-1 is "ölenoyuncular":
set {turnuva.ölenler} to player's location
message "&cÖlen oyuncular buraya gelicek!" to player
if arg-1 is "kazananoyuncu":
set {turnuva.kazanan} to player's location
message "&cKazanan oyuncular buraya gelicek!" to player
#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
Son düzenleme: