AutoShutdown
This is an Admin tool to shutdown the server at a specific time.
Usage
- Put the jar in the plugins folder.
- Reload / restart your server.
- Change the configuration of AutoShutdown.
- Basically what this does is shutting down the server at a time specified in the config file.
Config
The standard config.yml
noPlayersHour: 22 noPlayersMinute: 0 absoluteHour: 23 absoluteMinute: 0 enabled: true
On startup this will check if enabled is true, if not, then it will disable the shutdown function.
If you want to use this as restarter for your server, then use the next batch file :
:start @echo off java -Xmx1024M -Xms1024M -jar craftbukkit.jar pause goto start
Commands
The main command is /AutoShutdown or /asd for short.
- reload, pretty straight forward right?
- set noPlayersHour/noPlayers/absoluteHour/absoluteMinute <setting>, this will change the setting in the config.yml
To-do-list
- Fix announcements - Done
- Suggestions?
@Kevdude0625
This plugin has 2 shutdown times.
The absolute times are the final times, server will shutdown anyways.
noPlayers determines the shutdown time when there are no players online.
So this config is kinda confusing me.
noPlayersHour: 22 is the time that it warns the players and then the absolutehour is when it restarts?
Can you please elaborate on this? sorry
@pokekart2014
Outdated doesn't mean broken. This plugin is build on the API, not on NMS. So it should work just fine.
And I won't implement 1.8 features,
Most of the code is time converting, starting from scratch would be a better solution, or you could use a decompiler on this.
Hello?
It seems that this project is abandoned somehow?
I would like a download for 1.8, or at least the source code, for me to work on it a little, if you don't mind.
This looks pretty straight forward, but I would like to have it for my server, with a little adjustments, such as 1.8 title messages, countdowns, and such.
Thanks in advance,
pokekart2014
@madaeq1234
This plugin isn't able to start the server again, that is why there is a modified run.bat between the config and the command.
And what about this needs to be updated then? Version number? Not really needed.
Won't update as long as it isn't needed.
@Timtower Does it start it to? And Please UPDATE!
@davewolax
I made this for my home hosted server once, then you don't have that
Most of servers are running with McMyAdmin Control panel and it has a built in settings for server. you can set timer to restart the server everyday, or say a message when player joins the server or even shutdown the server or start up the server at a certain time or anything else you want!
@modzmarvin
Don't need a bungeecord setup. Was aiming for: I don't know if you can stop the sub-servers without restarting the wrapper
@Timtower
Message me on the forum dude. Il send you a premade bungee setup.
I can help you now :P XD < yea i did XD again lol
@James2025
I don't even know how to use bungeecord itself
Do you have any idea how to use this for bungeecord?
@zoknimano
Post an error log in pastebin or something similar ;)
Hello! Please update it to work with Tekkit Lite 0.6.5! Please, I need it so much but it doesent't work on it becouse of the FML! Thanx!
@Kasatome
If that plugin was made by me then you can keep your old config, the new config values will be added to it ;) @matty_mitchell
Impossible, this plugin just runs /stop, you cant cancel that
Is this the same as the old plugin or is it completely different? I only ask to know if I can keep my old config file.
Suggestion: maybe if a player joins when it just starting to shutdown it will startup.
@JAG100
This is possible by just putting the next line at the end of the run.bat
This line will replace the pause at the end of the file Do make sure that the absolute time is the same as the noPlayer time.
I'm looking for a way to shutdown my servers at a specified time and also force window 8 to restart. Then I have a batch file in the Windows 8 startup that will start up all the servers again. This plugin sounds like it will stop all the servers at a time specified but can I also call a batch file to issue a windows restart command?
@fyrus12345
Could you post an console log? ( please use pastebin for it ) And you are trying to restart right? ( correct me if i am wrong )