ByAli_Pro_PvP
Marangoz
- Mesajlar
- 52
- En iyi cevaplar
- 0
- Beğeniler
- 4
- Puanları
- 60
merhaba serverimizde bir adakit oluşturmaya çalıştık ama sadece sünger veriyor bunun yanlış olanlarını düzeltip atarmısınız veya nerde var sölermisiniz
JavaScript:
options:
adakit: &6&lADAKIT &8&l| #Chata Gelen Başlık
adakitx: &6&lADAKIT #Ekrana Gelen Başlık
hata: &c&lHATA &8&l| #Chata Gelen Başlık
hatax: &c&lHATA #Ekrana Gelen Başlık
command: /adakit
if command is "adakit":
if {adakit.%player%} is 1:
set {adakit.%player%} to 0
else:
if {adakitaldi.%player%} is 0:
cancel event
execute console command "tm msg %player% {@adakitx}\n&8[&a/adakit&8] &7Komutunu Tekrar Kullan&8."
send "{@adakit} &bADAKIT&7'ini Sadece 1 Kere Alabilirsin&8." to player
send "{@adakit} &7Almak İstediğinine Eminsen &8[&a/adakit&8] &7Komutunu Tekrar Kullan&8." to player
set {adakit.%player%} to 1
wait 20 real seconds
set {adakit.%player%} to 0
stop
else:
cancel event
execute console command "tm msg %player% {@hatax}\n&7Hakkın Dolmuştur&8."
send "{@hata} &bADAKIT&7'ini Alma Hakkın Dolmuştur&8." to player
command /adakit:
trigger:
set {adakitaldi.%player%} to 1
execute console command "tm msg %player% {@adakitx}\n&b320 Elmas Blok &7Veriliyor&8..."
send "{@adakit} &b320 Elmas Blok &7Veriliyor&8..." to player
give 320 diamond block to player
wait 3 second
execute console command "tm msg %player% {@adakitx}\n&b32 Sünger &7Veriliyor&8..."
send "{@adakit} &b32 Sünger Veriliyor &7Veriliyor&8..." to player
give 32 sponge to player
wait 4 second
execute console command "tm msg %player% {@adakitx}\n&b16 Prizmarin &7Veriliyor&8..."
send "{@adakit} &b16 Prizmarin &7Veriliyor&8..." to player
give 16 prismarine to player
wait 5 second
execute console command "tm msg %player% {@adakitx}\n&b Spawnerler &7Veriliyor&8..."
execute console command "itemsp ver %player% demirblok 4"
execute console command "itemsp ver %player% altinblok 2"
command /adakitsifirla:
trigger:
if player has permission "op":
set {adakitaldi.%player%} to 0
wait 1 tick
execute console command "tm msg %player% {@adakitx}\n&bADAKIT &aHakkınız Sıfırlandı&8."
send "{@adakit} &bADAKIT &7Hakkınız &aBaşarıyla &7Sıfırlandı&8."
else:
execute console command "tm msg %player% {@hatax}\n&7Bu Komutu Kullanamazsın&8."
send "{@hata} &7Bu Komut İçin Gerekli Yetkiye Sahip Değilsiniz&8." to player
on first join:
set {adakitaldi.%player%} to 0
on join:
if {adakitaldi.%player%} is not set:
set {adakitaldi.%player%} to 0