ModdedMinecraft / MMCReboot

A simple to use restart management plugin for sponge
GNU General Public License v3.0
6 stars 6 forks source link

restart options #23

Open aglarcz opened 6 years ago

aglarcz commented 6 years ago

Hello, would it be possible to add these 2 features to your mod?

  1. players online check = if any player is online, skip the restart
  2. before restart commands = send command over console before restarting the server
leelawd commented 6 years ago

Sure i can work on adding these.

For 2, Is that just sending commands right before it stops the server or did you have something else in mind?

aglarcz commented 6 years ago

One thing, Is it able to restart server based on real system (linux) time instead of uptime?

leelawd commented 6 years ago

It is able to do that, just set up the config similar to this: Screenshot from Gyazo