EasyRestarts
EasyRestarts

Features
You can restart the Server with one Command!
You can create a Broadcast Message!
You can can reload the Server (with message)!
You can edit the Plugin Prefix and the Messages!
Installation
1. Download the "EasyRestarts.jar" File.
2. Drag and Drop the File in your "plugins" Folder.
3. Start the Server
4. Finish
Config File
Go to the "plugins" Folder and open the "EasyRestarts" Folder. Open the "config.yml" File with an TextEditor.
prefix: This is the Prefix (Chat)
restartChatMessage: Chat Message (for restart)
reloadChatMessage: The Reload Message
reloadCompleteChatMessage: When the Reload Complete Message.
Commands
/restartserver: Restarting the Server!
/reloadserver: Reloading the Server!
Source
Permissions
Coming soon!
Bugs/Errors/etc.
Your server will not restart?
Edit your .bat/.cmd/.command/... File!
Your old:
@echo off
"..." -Xms... -Xms... -jar ....jar/zip
pause
Edited File:
@echo off
:restart
"..." -Xms... -Xms... -jar ....jar/zip
goto restart
pause
Donate
important information:
The money can not be repaid!
Nitrado Support:
-
View User Profile
-
Send Message
Posted Oct 6, 2013@bram3535
Thanks for the idea!
(My english is not better ;) I am from Germany)
-
View User Profile
-
Send Message
Posted Oct 6, 2013@luricos
I update all my plugins and i fix bugs...
That's the event of the server restarts: 1. The Server is saving your world. 2. The Server is sending a Message. 3. The Server is restarting
Sorry for my bad english...
-
View User Profile
-
Send Message
Posted Sep 29, 2013how do u broadcast?
-
View User Profile
-
Send Message
Posted Aug 6, 2013What about a timer?
-
View User Profile
-
Send Message
Posted May 20, 2013I've an idea! Maybe you can add a option that you can change the time when te server goes to restart! Maybe with the command /restartserver -t 30!
Sorry for my bad english
-
View User Profile
-
Send Message
Posted Apr 19, 2013@BoJustus The tutorial you provided in that video works for windows not for linux servers. Only the windows batch will process the next command which is goto restart allowing an infinite loop.
Also you could only CTRL+C the batch process then to shutdown the server having the process killed without saving the data.
Technically its not a restartserver command if you plugin requires a batch file that can only run on windows systems. Its /stopserver command.
Also your sourcecode says that you do use Bukkit.shutdown() after saving the player data. I dont see a restartserver here either.
Please add a note to that command so that it is clear that this plugin only restarts the server with the batch file you provided and when running the server on windows otherwise people will get pissed as soon as they find out that this command does not do what the name tells them.
-
View User Profile
-
Send Message
Posted Mar 17, 2013@Sahee YOU CAN EDIT IT! Watch that:
Minecraft Bukkit after /restartserver will the server restart!
Your start data is:
@echo off
"..." -Xms... -Xms... -jar ....jar/zip
pause
Edit it to:
@echo off
:restart
"..." -Xms... -Xms... -jar ....jar/zip
goto restart
pause
-
View User Profile
-
Send Message
Posted Mar 17, 2013@chrisknyfe
no! thats a bug! i fix it
-
View User Profile
-
Send Message
Posted Mar 16, 2013Yup, it just shutting down the server.
-
View User Profile
-
Send Message
Posted Mar 16, 2013Where exactly is the restart? It seems you are just shutting down the server.