- Баллы
- 88
- Ник в Minecraft
- OpaVlad
Как сделать,перезагрузку сервера через плагин ConsoleScheduler каждые 3 часа.
Конфиг:
Конфиг:
Код:
# Configuration explanation below ~
#
# ALL TIMES ARE IN SECONDS!
# Initial delay is the time before the plugin starts starting
# the commands in the schedule. This is in place so that other
# plugins have the time to start. You could set this to 0,
# but errors may occur.
# Make sure the Command1, Command2, Command3 etc. are numbered
# in succession. This will ensure they all load.
#
# Also make sure you enter a command, heh.
#
# 1 minute = 60 seconds. 1 hour = 3600 seconds
# HOUR in 24-hour format!
# SpecificTime commands ALWAYS repeat!
CheckUpdates: true
InitialDelay: 5
CommandSchedule:
Command1:
After: 10800
Repeat: true
Interval: 10800
Command: say Перезагрузка сервера через 1 минуту
Hour: 2
Minute: 59
Second: 0
Command2:
After: 10830
Repeat: true
Interval: 10830
Hour: 2
Minute: 59
Second: 30
Command: say Перезагрузка сервера через 30 секунд
Command3:
After: 10850
Repeat: true
Interval: 10850
Hour: 2
Minute: 59
Second: 50
Command: say Перезагрузка сервера через 10 секунд
Command4:
After: 10855
Repeat: true
Interval: 10855
Hour: 2
Minute: 59
Second: 55
Command: say Перезагрузка сервера через 5 секунд
Command5:
After: 10856
Repeat: true
Interval: 10856
Hour: 2
Minute: 59
Second: 56
Command: say Перезагрузка сервера через 4 секунды
Command6:
After: 10857
Repeat: true
Interval: 10857
Hour: 2
Minute: 59
Second: 57
Command: say Перезагрузка сервера через 3 секунды
Command7:
After: 10858
Repeat: true
Interval: 10858
Hour: 2
Minute: 59
Second: 58
Command: say Перезагрузка сервера через 2 секунды
Command8:
After: 10859
Repeat: true
Interval: 10859
Hour: 2
Minute: 59
Second: 59
Command: say Перезагрузка сервера через 1 секунда
Command9:
After: 240
Repeat: true
Interval: 240
Hour: 3
Minute: 0
Second: 0
Command: say Перезагрузка сервера!
Command10:
After: 241
Repeat: true
Interval: 241
Hour: 3
Minute: 0
Second: 1
Command: restart