command /otopvp [<text>]:
trigger:
if arg-1 is "oto":
broadcast "&aPvP'nin aktif olmasına &c60&a saniye kaldı!"
wait 45 seconds
broadcast "&aPvP'nin aktif olmasına son &e15&a saniye kaldı!"
wait 5 seconds
broadcast "&aPvP'nin aktif olmasına son &610&a saniye kaldı!"
wait 5 seconds
broadcast "&aPvP'nin aktif olmasına son &c5&a saniye kaldı!"
wait 2 seconds
broadcast "&aPvP'nin aktif olmasına son &43&a saniye kaldı!"
wait a second
broadcast "&aPvP'nin aktif olmasına son &42&a saniye kaldı!"
wait a second
broadcast "&aPvP'nin aktif olmasına son &41&a saniye kaldı!"
wait 15 ticks
execute console command "mv modify set pvp true harita"
execute console command "rg flag harita pvp allow"
send all players title "&aPvP Aktif&c!" with subtitle "&cKapanmasına 30 dakika kaldı!" for 7 seconds
wait 8 seconds
broadcast "&cPvP'nin kapanmasına &c30&c dakika kaldı!"
wait 30 minutes
execute console command "mv modify set pvp false harita"
execute console command "rg flag harita pvp deny"
send all players title "&aPvP Kapatıldı&c!" with subtitle "&aPvP'nin açılmasına 3 saat kaldı!" for 7 seconds
wait 3 hours
execute console command "/otopvp oto"
cancel event
on skript load:
execute console command "/otopvp oto"