IdleShutdown

IdleShutdown

141 Downloads

Since i'm hosting my Minecraft-Server from home, i searched for a way to save some energycost. So i came up with the idea of schutting down my server after a specific time without any players online. Feel free to use this plugin on your server, but please make sure, that you know what you do.

Installation:

This plugin will only work if you're using a Windows computer (like an old computer of you or something like that) with Administrative permissions. To install this plugin,  just drag it into your plugins folder.

To use this plugin:

Make sure you are familiar with batch (to write your startup files), windows internal regedit (to set autostarts), and gerneal administrative tasks. if you aren't familiar with batch, i put the source for my batchfiles onto the git repo, feel free to use them.) For windows regedit i can't really help you here. Maybe i'll do a Tutorial for this stuff on my youtube channel. If so, i'll link it here too. Either you can just put it in the pluginsfolder, set up two batch files (one for starting the server normally ("start.bat") and one to start the server delayed ("start_delayed.bat") and you're ready to go, or if u wish to reboot the server (either bukkit or the entire computer) you can use the following commands (provided you setted up your startup batch files correctly).

Commands:

 - rebootbukkit (aliased with reboot) (does what the command says: it reboots the bukkit server)

 - rebootserver (does what the command says too: it reboots the entire server)

Permissions:

I setted up my minecraft server with permissionsEX and only the ones who have op rights are the ones who have the permissions to this plugin. so i cant tell what the plugin will do without permissionsEX. feel free to test, but i won't take care of the results, neither will i help u to fix caused issues by missusing this plugin.

 - idleshutdown.rebootbukkit (to grant access to the rebootbukkit command)

 - idleshutdown.rebootserver (to grant access to the rebootserver command)

Future:

I'm about to add a config file, so you can setup different named batch files, change the delay for the rebootbukkit command and such stuff. Stay tuned!