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
Um, there is a time spot in the config.yml. What does that mean? By default it says 5000 but is that 5000 seconds? Minutes? And what happens at the end of the 5000? Does it restart?
Un Plugin igual a este y mejor esta en EspaƱol :)
Aqui el Link: http://dev.bukkit.org/bukkit-plugins/reinicio/files/1-reinicio/
I can't change the restart time in the console as it gives an error.
[00:22:08] [Server thread/WARN]: Unexpected exception while parsing console command "restart set 6 H"
org.bukkit.command.CommandException Unhandled exception executing command 'restart' in plugin Restart v1.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(CraftServer.java:670) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:286) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:251) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
Caused by: java.lang.ClassCastException org.bukkit.craftbukkit.v1_7_R1.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
at com.rb2750.restart.Main.onCommand(Main.java:97) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
... 8 more
Does this plugin give warnings before the restart? eg. 10 minutes, 5 minutes, 1 minute and 30 seconds? (definable by the config would be good too)
Please if you are a good person can send plugin.yml / file plugin code to improve it and pls acerle some improvements
@doglover129
Seconds, and yes, if its installed the correct way it will restart.
download not working?
Um, there is a time spot in the config.yml. What does that mean? By default it says 5000 but is that 5000 seconds? Minutes? And what happens at the end of the 5000? Does it restart?
@WithGuns
Sry if im not from Iran and i cant speak English right ..
@j1752s
Can you spell 'does' or 'does not' or even do '-_-'
This plugin dose work but my server sometimes dosnet start again --
The download links broken D:
EDIT: Fixed. Thank you.
Where would I put the run.bat file on a bought server? the ftp client does not allow me to double-click the file. Please help. Great plugin btw!
Can this plugin automatically restart your server for a specified amount of time?
@bear1121102
That'll be an error with your server loop code, please re-review it in the 'Server loops' link.
It keeps saying to me "run.sh: line 4: syntax error near unexpected token `done' run.sh: line 4: `done'"
Easy to use works good but still like a response,...
@ShadowRebornZX
It does do this...
Plugin Works Good But Can you Put Warning if The Server Will Restart
Like Before Its Restart
[Server]<>Server Will Reboot In 5minutes
ShadowCraft! Server ip:mydedicated2u.com:26571
Plugin works good. But: i realy like to see some permissions.
Also my people dont see the msg in-game:
@Mike10221999
People can't go around restarting every 5 seconds, it is op only...