LegendaryRestart
Newest Version: 1.2
Notes
MORE INFORMATION WILL BE POSTED SOON
About
LegendaryRestarts gives your server the ability to restart every x number or minutes and you also have the option to restart now
Features
- Automatic Server Restarts
- Linux Support
- Windows Support (Windows Script by bergerb)
- Automatic Updates (Optional in config)
Setup
- Download the zip file
- Unzip it
- Put LegendaryRestart.jar and the LegendaryRestart folder in the /plugins/ directory
- Replace your start.bar OR start.sh with the new ones
- Start.sh is used on linux, Start.bat is used on windows
- Run the Start file and then your server is setup for automatic restarts
NOTE
if you are using linux for the start.sh file to work you need to use the command chmod 777 start.sh
Default Config
#all intervals are in minutes #there is 1440 minutes in 1 day #720 in 12 hours Settings: Restart_Message: '&aServer is restarting' Broadcast: true Messages: 1: '&cServer Restarting in 5 Seconds' 2: '&cServer Restarting in 4 Seconds' 3: '&cServer Restarting in 3 Seconds' 4: '&cServer Restarting in 2 Seconds' 5: '&cServer Restarting in 1 Seconds' 6: '&cServer Restarting' Automatic_Restarts: Broadcast: true Restart_Interval: 720 Messages: 1: '&cServer Restarting in 5 Minutes' 2: '&cServer Restarting in 2 Minutes' 3: '&cServer Restarting in 1 Minute' 4: '&cServer Restarting in 30 Seconds' 5: '&cServer Restarting in 15 Seconds' 6: '&cServer Restarting in 10 Seconds' 7: '&cServer Restarting in 5 Seconds' 8: '&cServer Restarting in 4 Seconds' 9: '&cServer Restarting in 3 Seconds' 10: '&cServer Restarting in 2 Seconds' 11: '&cServer Restarting in 1 Second' 12: '&cServer Restarting'
Commands & Permissions
Command | Description | Permission |
---|---|---|
/legendaryrestart reload | Reload Config | LegendaryRestart.Reload |
/legendaryrestart restart | RestartServer | LegendaryRestart.Restart |
/lr reload | Reload Config | LegendaryRestart.Reload |
/lr restart | RestartServer | LegendaryRestart.Restart |
/restart | Restart Server | LegendaryRestart.Restart |
To-Do
- More Customization
- More Features
@LcyRelic please update!
@Rabies_Squirrel
Plugins like this do not function on our system due to the need of a .sh/.bat file. If you need an automatic restart just contact our support and we can help with that :)
@IcyRelic Im using MCProHosting and im having some issues with the plugin, when using /lr restart i get a countdown and the restart msg but the server never restarts. Is there something i need to do in the config or is it an issue because im using a host not doing it myself ?
@IcyRelic update please?
@edward5409
Just type /restart and update to newest version
@xxfire17xx
You cant, its only for home-run servers
Where do i put the start.bat if i am hosted by mcprohosting
Can you make this Spigot compatible?
Every 7 hours the server restarts but does not turn it back on
Any reason it says: [LegendaryRestart] New Version Available! LegendaryMessages v5.4
Hi, it works with CB1.7.9-R0.2
Now I have a question: I don't want that many alerts for my autorestart. I want it to be something like this
----------------------------------What I mean is that I don't want it to send blank messages but just not say anything at all on those empty spots. How can I fix this?Can I use with CB1.7.2-r0.3?
when I type /lr restart ,This message appears, can not be restart..
Error message: [11:28:29] [Thread-24/WARN]: Exception in thread "Thread-24" [11:28:29] [Thread-24/WARN]: java.lang.IllegalStateException: Asynchronous player kick! [11:28:29] [Thread-24/WARN]: at org.bukkit.craftbukkit.v1_7_R1.entity.CraftPlayer.kickPlayer(CraftPlayer.java:228) [11:28:29] [Thread-24/WARN]: at me.icyrelic.com.Commands.LRCommand$1.run(LRCommand.java:96) [11:28:29] [Thread-24/WARN]: at java.lang.Thread.run(Thread.java:745)
System is windows server 2008 bukkit 1.7.2
Can u add in a scoreboard that counts down to the restart??? @IcyRelic
i use the bukkitGUI for my server, how can i do so it will restart :P?
Does it work on mac?
What happends about hosted servers on a hosted site? Please make it work with that!
whatt about dedicated servers?
@irRedemption
As far as I know, it means the plugin is trying to kick a player out-of-sync with the rest of java, and writing something onto a java program out of sync can cause bad problems, so spigot has a built-in guard against this. http://www.spigotmc.org/threads/spigot-disallows-asynchronous-player-kick.5596/
I am having an issue with this as well. If there is a player logged into the server when the scheduled restart would take place, it doesn't, and an error occurs, saying "Cannot kick player on asynchronous thread!"
I am using the 1.4.7 version, along with MCPC+ and FTB Ultimate. A solution to this would be greatly appreciated.
When I try and use the re starter I find that it doesn't actually work. It goes through the restart countdown and then shuts everything downs but stalls out and the CMD prompt says "Press any key to continue..." and doing so kills the CMD line.