HomeJavaModsSimpleRestartTime
SimpleRestartTime
This plugin allows you to run the restart command "or any command since the 1.3 update" with a countdown to warn players

It will run the restart config from spigot.yml

E.G. /srestart 12
[​IMG]
The reason I made this plugin was because I could not find a plugin that simply restarted the server with a countdown using the inbuilt restart system that Spigot includes itself. So I went ahead and made one :p

Features:
- Warns players with a countdown when the server is about to reboot
- Auto rebooting
- Configurable messages
- The time before the countdown shows in chat is configurable
- Simple & lightweight
- You can use Chat, ActionBar Messages or Both! "Needs ActionBarAPI Installed for ActionBar to work"


[​IMG]




Commands:
Main command: /srestart
Aliases: /sr, /sre "these can be changed in the plugin.yml"
Cancel Command: /scancel
Aliases: /src, /srcancel "these can be changed in the plugin.yml"
Permissions:
sr.use


Config:
Code (Text):

rstart: §6§l***Server Rebooting In***

noperm: §4You Do Not Have Permission For This Command

countcolor: §b  §l

countdownaction: §6§lServer Rebooting In §b§l

finish: §4  §lREBOOTING!!!

tellcmdsender: §bThe Server Is Set To Reboot In§6

#Do you want the countdown to show in chat?
countdowninchat: true

#Do you want the countdown to show in the ActionBar?
#This option requires ActionBarAPI get it here: https://www.spigotmc.org/resources/actionbarapi-1-8-1-9-1-10.1315/
countdowninaction: false

#The showcountdown setting tells the plugin when it should start to display the countdown in chat
#E.G. if you do /srestart 120 the countdown would begin but would not show in chat until it reaches 30
showcountdown: '30'

#To enable autoreboot change false to true
autoreboot: false

#Time in seconds, default time is 1 day or 86400
autoreboottime: '86400'

#The command that will be run when the countdown is finished e.g. you could have "stop" or "reload confirm" instead of restart
restartcommand: restart
 
Requirements: For ActionBar messages to work you need ActionBarAPI installed​
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

SimpleRestartTime is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 3,787 times (via Spigot). Download it and open it directly in the game.

Explore more