İyi günler, başlıkta da belirttiğim üzere aşağıdaki event skriptinde, event yapıldığı zaman oyuncuların ekranına bildirim gidiyor. Buna ekstra bir kod ekleyerek nasıl oyuncuların bu bildirimi görmemesini sağlarız. Örneğin /notify toggle yazdığımızda açılıp kapanmasını sağlamak istiyorum. Kolay bir şey olacağına eminim yardımcı olursanız minnettar kalırım. Şimdiden teşekkürler.
Kod:
command /eventyap:
executable by: console
trigger:
send players title "&bEvent" with subtitle "&7Event başlıyor... 20 saniye"
wait 10 seconds
send players title "&bEvent" with subtitle "&7Envanterinizde yer açın. 10 saniye"
wait 7 seconds
send players title "&bEvent" with subtitle "&73 saniye"
wait 1 seconds
send players title "&bEvent" with subtitle "&72 saniye"
wait 1 seconds
send players title "&bEvent" with subtitle "&71 saniye"
wait 1 seconds
give 1 emerald to players
give 3 diamond to players
give 4 gold ingot to players
give 8 iron ingot to players
give 4 grass to players
give 4 sand to players
send players title "&bEvent" with subtitle "&7Eşyalar veriliyor.."
wait 3 seconds
execute console command "crate giveall p Event 1"
send players title "&bEvent" with subtitle "&7Anahtar veriliyor.."
wait 2 seconds
send players title "&bEvent" with subtitle "&7Event sona erdi."
stop