This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
Auto restart!
Commands
Player Commands
/restart - Display's how long it is until the server restart's.
Admin Commands - These are OP only!
/restart now - Restart the server
/restart set [Time] [H/M/S] - Set how long until the server restart's in hours mins or secs
/restart setMessage [Message] - Set the server restart message (Supports chat colours as well as \n which will make a new line)
Warning: this will only do the same as /stop but with sound. Your server must be in a loop. Most bought server's have this feature though, if your server is custom made you can use this script: Server loops
An OP or player with permission would have to put it into that mode by running a command. Once it has restarted due to being empty, it wouldn't do it again until an OP or player with permission runs the command again. It's not a persistent mode between restarts, so there is no endless restart loop if the server is empty.
-
View User Profile
-
Send Message
Posted Feb 22, 2013I think we need the permission node.
-
View User Profile
-
Send Message
Posted Feb 17, 2013There isnt one, I dont think it should require one.
-
View User Profile
-
Send Message
Posted Feb 15, 2013What is the permission to use /restart to display the amount of time left until restart?
-
View User Profile
-
Send Message
Posted Feb 15, 2013@ECHO OFF IF /I "%PROCESSOR_ARCHITECTURE:-2%"=="64"
:start
"%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xincgc -Xmx1096M -jar "craftbukkit.jar" IF /I "%PROCESSOR_ARCHITECTURE:-2%"=="86" java -Xms1024 -Xmx8192 -jar "craftbukkit.jar"
goto start
There you go :)
-
View User Profile
-
Send Message
Posted Feb 14, 2013please give an example start.bat, I had not enough heap or something like that when I tried to set it to restart..
mine is
@ECHO OFF IF /I "%PROCESSOR_ARCHITECTURE:-2%"=="64" "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xincgc -Xmx1096M -jar "craftbukkit.jar" IF /I "%PROCESSOR_ARCHITECTURE:-2%"=="86" java -Xms1024 -Xmx8192 -jar "craftbukkit.jar" PAUSE
-
View User Profile
-
Send Message
Posted Feb 13, 2013If you type that at midnight then, yes.
-
View User Profile
-
Send Message
Posted Feb 13, 2013@rb2750
But, from 0 O´clock ? so 0 Hour restart, 4 Hour restart, 8 Hour restart etc.?
-
View User Profile
-
Send Message
Posted Feb 13, 2013Yes... /restart set 4 h Will restart every 4 hours
-
View User Profile
-
Send Message
Posted Feb 13, 2013Can i make that the server restarts every 4 Hours ? ( 4,8,12,16,18,20,24 Hour )
-
View User Profile
-
Send Message
Posted Feb 11, 2013Well erm... No ;p. I may add it. But at the moment you could wait until midnight then set it to 24 hours.
-
View User Profile
-
Send Message
Posted Feb 10, 2013is it possible to somehow to set it will restart every midnight on GMT timezone for example 00:00 in GMT +2?
-
View User Profile
-
Send Message
Posted Feb 10, 2013Ah okay
-
View User Profile
-
Send Message
Posted Feb 10, 2013@rb2750
An OP or player with permission would have to put it into that mode by running a command. Once it has restarted due to being empty, it wouldn't do it again until an OP or player with permission runs the command again. It's not a persistent mode between restarts, so there is no endless restart loop if the server is empty.
-
View User Profile
-
Send Message
Posted Feb 10, 2013What do you mean? Because if I did that if there wernt any players on for like 10 mins then it would just go in a restart loop...
-
View User Profile
-
Send Message
Posted Feb 9, 2013Feature request: restart on empty. Restart the server as soon as the player count is zero.
-
View User Profile
-
Send Message
Posted Feb 9, 2013Thanks. :)
-
View User Profile
-
Send Message
Posted Feb 9, 2013cool plugin, waiting for release :D
-
View User Profile
-
Send Message
Posted Feb 9, 2013Please Download Link. THX