SimpleAutoRestart
Bardzo prosty plugin Spigot, który automatycznie restartuje twój serwer.
- Dostępne pliki
- 1
- Obsługiwane wersje
- 36
- Najnowszy plik
- 28.07.2025
SimpleAutoRestart
I tried many of the auto restart plugins out there, but all I could find were either too complex or tick based. This means they were not accurate when TPS drops below 20 and therefore not compatible with plugins like Hibernate and Server Naptime.
Dlatego postanowiłem stworzyć własną.
Funkcje
- Zaplanowane automatyczne restarty o określonych porach.
- Komunikaty ostrzegawcze wyświetlane graczom przed restartem.
- Zaplanuj wiele restartów.
- Oparte na czasie rzeczywistym, a nie na tickach, dla większej dokładności.
- Kompatybilny z wtyczkami takimi jak Hibernate i Server Naptime.
Jak to wygląda w grze (choć możesz to dostosować):

Jak to wygląda w konsoli serwera (choć możesz to dostosować):

Instalacja
- Ustaw skrypt uruchamiający w spigot.yml
- Pobierz
SimpleAutoRestart-x.x.x-jarze strony wydań. - Umieść plik JAR w folderze plugins na swoim serwerze.
- Uruchom lub zrestartuj serwer.
- Skonfiguruj wtyczkę, edytując plik config.yml w folderze plugins/SimpleAutoRestart.
Konfiguracja
# The hour and minute when the server should restart (24 hour format)
restartTime:
- '00:00'
# Add multiple times by adding a new line like: - '12:00'
# Configure message and the corresponding pre-warning time in seconds
messages:
'0': 'Restarting now'
'1': 'Restarting in 1 second'
'2': 'Restarting in 2 seconds'
'3': 'Restarting in 3 seconds'
'60': 'Restarting in 1 minute'
'120': 'Restarting in 2 minutes'
'180': 'Restarting in 3 minutes'
'300': 'Restarting in 5 minutes'
titles:
'300' : '§l§4Warning'
'3' : '§l§4Warning'
subtitles:
'300' : "§6Restarting in 5 minutes"
'3' : "§6Restarting now..."
# The commands that will be executed at restart time
commands:
- 'restart'
Polecenia
/simpleautorestartlub/sarlub/autorestart- Pokaż menu pomocy./simpleautorestart cancel- Anuluj następny restart./simpleautorestart resume- Wznowij następny restart./simpleautorestart status- Pokaż status następnego restartu./simpleautorestart set <hour> <minute>- Zaplanuj restart o określonej porze.
Rozwiązywanie problemów
Odlicza w dół, ale restart nie następuje
Upewnij się, że skonfigurowałeś restart-script w spigot.yml
Wsparcie
Jeśli masz jakiekolwiek problemy lub pytania. Śmiało utwórz zgłoszenie błędu.
Opis projektu pochodzi z CurseForge i został udostępniony po polsku. Szczegóły konfiguracji, zależności oraz aktualne komunikaty autora sprawdź na w źródłowym katalogu CurseForge.
SimpleAutoRestart-2.9.0.jar 28.07.2025 80 KB
Jak bezpiecznie sprawdzić ten plugin
Wybierz zgodny plik
Oznaczenia wersji pochodzą z metadanych autora. Dobierz również właściwe oprogramowanie serwera i Javę.
Zachowaj kopię
Przed pierwszym startem skopiuj świat, konfigurację oraz dane pozostałych pluginów.
Przeczytaj log
Po uruchomieniu sprawdź brakujące zależności i pierwszy błąd związany z nazwą pluginu.