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
@IcyRelic
But it won't create restart.file again after restart a few times!So my server will only close and not restart again.
Doesnt work for me :(
@nelson2wsx
because thats what restarts the server :)
its an empty file that tells the plugin to restart the server
I have a question~ Why the restart.file will disappear after i start my server?
@huntbunt2000
Let me know if the start.sh works with the mac
@huntbunt2000
mac? uh i dont really know i would think .sh does mac run a .sh? i think .bat is only for windows so i would try the .sh
Could someone help me. Do I use the start.sh or start.bat for Mac?
Wow! This is the best restart plugin and i ever see it!
@Absolutionmc
i took a look at spigot and it looks like there is a /restart command built in so it might interfere with my /restart command because i dont have a @Override on it
Can't you do anything about it? I'd really like to use this plugin
"What is it?
Well put it simply, Spigot is it. Spigot is the "special sauce" used by many of the world's top Minecraft servers to ensure that they can cope with their huge player base, and ensure the satisfaction of their players, by reducing and eliminating many causes of lag."
http://www.spigotmc.org
@Absolutionmc
then it should work because its made with Java 6 and sorry if im a noob but whats spigot?
I'm using spigot's recommended build which is 1.5.1
Java version is Java 7
@Absolutionmc
can i see the following things
Craftbukkit version (/version)
List of plugins (/plugins)
Java version(in terminal or cmd type, javac -version)
2013-03-31 04:25:56 [SEVERE] Error occurred while enabling LegendaryRestart v1.2 (Is it up to date?)
java.lang.NullPointerException
at me.icyrelic.com.LegendaryRestart.onEnable(LegendaryRestart.java:27)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugin(CraftServer.java:305)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.enablePlugins(CraftServer.java:287)
at net.minecraft.server.v1_5_R2.MinecraftServer.j(MinecraftServer.java:307)
at net.minecraft.server.v1_5_R2.MinecraftServer.e(MinecraftServer.java:286)
at net.minecraft.server.v1_5_R2.MinecraftServer.a(MinecraftServer.java:246)
at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:154)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:385)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
@Absolutionmc
its updating soon it still works with 1.5.1 tho
Are you still developing this? No 1.5.1 build?
Problemo: No one beside me can see the message that the server is restarting in (time) amount. Same with broadcasts. No one beside me can see broadcasts and says. Help me. Is it an Essentials Permission i have to add? Or an Chatmanager Permission? Please Help.
sorry icyrelic, it does. u must fix it :(
@PvPTree
this plugin doesnt edit the server.properties