çözümün bende dostum

tce ile ilk olarak /sunucuotorestart komutunu istedigin bir saate ayarla sonra bu skripti sunucuna kur.
Kuruluma geçelim
Skript kısmı;
Kod:
command /sunucuotorestart:
permission: sunucu.restart
trigger:
send "&6Oto &8> &7Restart geliyor son 5 saniye" to players
wait 1 second
send "&6Oto &8> &7Restart geliyor son 4 saniye" to players
wait 1 second
send "&6Oto &8> &7Restart geliyor son 3 saniye" to players
wait 1 second
send "&6Oto &8> &7Restart geliyor son 2 saniye" to players
wait 1 second
send "&6Oto &8> &7Restart geliyor son 1 saniye" to players
wait 1 second
send "&6Oto &8> &c&lRESTART" to players
execute console command "stop &6Oto &8> &eSunucu Oto Restartlandı!"
Plugin kısmı;
Kod:
/tce <Saat>:<Dakika>:<Saniye> /sunucuotorestart
Olarak ayarla!
CMD kısmı;
Kod:
@echo off
title Faction
java -Xmx1024M -jar Spigot.jar -o true
@Echo off
:start
java -Xms1024M -Xmx2024M -jar Spigot.jar
echo Sunucu yenileniyor!
ping 1.1.1.1 -n 1 -w 1000 >NUL
goto start
Spigot yazan yere kendi kullandıgın jarın ismini yaza bilirsin.
CMD kısmını neden verdim neden böyle bir sistem mevcut diyorsan 2.
@Echo off dan sonrası sunucuyu tekrar başlatır yani stop çekildiğinde pencere kapanmaz. sunucuyu tekrar çalıştırır.
Gördügün gibi bu kadar basit iyi forumlar dilerim
@Kartila7