Open lukeeexd opened 6 years ago
Plugin should implement the basic features of the Spigot autorestart plugin referenced above.
1) The plugin should have it's own config file. The config file should be located in the /wrapper-data/plugins/<< pluginfoldername>>/
folder. It can be a user defined file or a standard storage. In any case, there should be commands to load the storage from disk (using the Storage load()
method).
2) plugin should implement the features and configurations found at: https://www.spigotmc.org/resources/autorestart.2538/
Basically everything this plugin has https://www.spigotmc.org/resources/autorestart.2538/
Specify a time to restart the server in:
/restart in 1:h 0:m 0:s
to restart in 1 hour but not change the auto restart. So if auto restart is set at 12 hours, after 6 hours you type/restart in 1:h 0:m 0:s
server will restart in 1 hour and when it boots back up next restart is 12 hours.Title restart messages with the option to toggle on for off. https://streamable.com/sz3mf
Pause the autorestart timer thats set in config, and able to resume again