AkuYoh#0616
Cok makbule gecer :)[DOUBLEPOST=1458141205,1458141163][/DOUBLEPOST]Bu gun yazıp atıveriyim o zaman
Denedim ama olmadı chestin içinden fln item cıkmasıskript yerine komut bloklarıylan yapabilirsin :)
command /cekilis:
permission: admin.cekilis
permission message: &cCekilisi Baslatmak İcin Op Olmalisiniz
trigger:
loop all players:
add loop-player to {_list::*}
if size of {_list::*} is more than 0:
set {_player} to a random element out of {_list::*}
broadcast "&8&l[&c&lCekilis&8&l] &c&l%player% &7&lAdli Admin Sans Kutusu Cekilisini Baslatti. Sonuclar 30 Saniye Sonra Aciklanacak. Sans kutusu icin envanterinizde yer acin"
wait 27 seconds
broadcast "&8&l[&c&lCekilis&8&l] &7Cekilise son 3 saniye..."
wait 1 seconds
broadcast "&8&l[&c&lCekilis&8&l] &72 saniye..."
wait 1 seconds
broadcast "&8&l[&c&lCekilis&8&l] &71 saniye..."
wait 1 seconds
send "&8&l[&c&lCekilis&8&l] &7Sanslisin! Cekiliste Sen Secildin ! Odul Icin Envanterini Kontrol Et!" to {_player}
execute console command "sanskutusuver %{_player}%"
broadcast "&8&l[&c&lCekilis&8&l] &7Cekiliste &c%{_player}% &7Adli Oyuncu Secildi Ve Sans Kutusu Kazandi .Iyi Oyunlar."
command /sanskutusuver <player>:
permission: admin.cekilis
permission message: &cBunu İcin Op Olmalisiniz
trigger:
give a chest named "&8>>&a&lKutu&8<<" to arg 1
on rightclick with a chest:
if name of player's held item is "&8>>&a&lKutu&8<<":
chance of 30%:
give diamond sword of sharpness 4 named "&6&lSans Kilici" to player
send "&6Tebrikler! &cSans Kilici &6kazandin!" to player
remove chest named "&8>>&a&lKutu&8<<" from player's inventory
stop
chance of 30%:
give diamond sword of sharpness 5 named "&3&lSuper Kilic" to player
send "&6Tebrikler! &cSuper Kilic &6kazandin!" to player
remove chest named "&8>>&a&lKutu&8<<" from player's inventory
stop
chance of 30%:
give diamond helmet of protection 3 named "&a&lGuclu Kask" to player
give diamond chestplate of protection 3 named "&a&lGuclu Zirh" to player
give diamond leggings of protection 3 named "&a&lGuclu Pantolon" to player
give diamond boots of protection 3 named "&6&lGuclu Botlar" to player
send "&6Tebrikler! &cP3 Set &6kazandin!" to player
remove chest named "&8>>&a&lKutu&8<<" from player's inventory
stop
chance of 10%:
give diamond helmet of protection 4 named "&6&lSans Kaski" to player
give diamond chestplate of protection 4 named "&6&lSans Zirhi" to player
give diamond leggings of protection 4 named "&6&lSans Pantolonu" to player
give diamond boots of protection 4 named "&6&lSans Botlari" to player
send "&6Tebrikler! &cP4 Set &6kazandin!" to player
remove chest named "&8>>&a&lKutu&8<<" from player's inventory
stop
else:
stop
BloodyX#4069
command /şans:
permission: op.cekilis
permission message: &cGerekli Yetkiye saipdegilsiniz
trigger:
loop all players:
add loop-player to {_list::*}
if size of {_list::*} is more than 0:
set {_player} to a random element out of {_list::*}
broadcast "&8&l[&c&lCekilis&8&l] &c&l%player% &7&lAdli Admin Sans Kutusu Cekilisini Baslatti. Sonuclar 30 Saniye Sonra Aciklanacak. Sans kutusu icin envanterinizde yer acin"
wait 27 seconds
broadcast "&8&l[&c&lCekilis&8&l] &7Cekilise son 3 saniye..."
wait 1 seconds
broadcast "&8&l[&c&lCekilis&8&l] &72 saniye..."
wait 1 seconds
broadcast "&8&l[&c&lCekilis&8&l] &71 saniye..."
wait 1 seconds
send "&8&l[&c&lCekilis&8&l] &7Sanslisin! Cekiliste Sen Secildin ! Odul Icin Envanterini Kontrol Et!" to {_player}
execute console command "sanskutusuver %{_player}%"
broadcast "&8&l[&c&lCekilis&8&l] &7Cekiliste &c%{_player}% &7Adli Oyuncu Secildi Ve Sans Kutusu Kazandi .Iyi Oyunlar."
command /sanskutusuver <player>:
permission: admin.cekilis
permission message: &cBunu İcin Op Olmalisiniz
trigger:
give a chest named "&8>>&a&lKutu&8<<" to arg 1
on rightclick with a chest:
if name of player's held item is "&8>>&a&lKutu&8<<":
chance of 30%:
give diamond sword of sharpness 4 named "&6&lSans Kilici" to player
send "&6Tebrikler! &cSans Kilici &6kazandin!" to player
remove chest named "&8>>&a&lKutu&8<<" from player's inventory
stop
chance of 30%:
give diamond sword of sharpness 5 named "&3&lSuper Kilic" to player
send "&6Tebrikler! &cSuper Kilic &6kazandin!" to player
remove chest named "&8>>&a&lKutu&8<<" from player's inventory
stop
chance of 30%:
give diamond helmet of protection 3 named "&a&lGuclu Kask" to player
give diamond chestplate of protection 3 named "&a&lGuclu Zirh" to player
give diamond leggings of protection 3 named "&a&lGuclu Pantolon" to player
give diamond boots of protection 3 named "&6&lGuclu Botlar" to player
send "&6Tebrikler! &cP3 Set &6kazandin!" to player
remove chest named "&8>>&a&lKutu&8<<" from player's inventory
stop
chance of 10%:
give diamond helmet of protection 4 named "&6&lSans Kaski" to player
give diamond chestplate of protection 4 named "&6&lSans Zirhi" to player
give diamond leggings of protection 4 named "&6&lSans Pantolonu" to player
give diamond boots of protection 4 named "&6&lSans Botlari" to player
send "&6Tebrikler! &cP4 Set &6kazandin!" to player
remove chest named "&8>>&a&lKutu&8<<" from player's inventory
stop
else:
stop
Ayarlarsınız siz de kendinize gore o mesajları felan işte. Dilediğinizce kullanın :)yukardaki permission message: &cGerekli Yetkiye sahip degilsiniz olsa ii olur
halil bence şans ii hem hoş bence op.cekilis olsun ama oynama yaparım ben sagol paylaşmısın kullanırız
Agam Eyw Cok sağol...Ayarlarsınız siz de kendinize gore o mesajları felan işte. Dilediğinizce kullanın :)
Agam Eyw Cok sağol.İşine yaramasına sevindim kardeş
Tekrar sağol Halil Akdeniz.Mesela burdaki protection 4 yazan yere unbreaking eklemek icinKod:give diamond leggings of protection 4 named "&6&lSans Pantolonu" to player
Yazmalısın. yani üstteki komut hem kırılmazlık 4 hem korumaKod:give diamond leggings of protection 4 and unbreakind 4 named "&6&lSans Pantolonu" to player
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!