Compatibility
Minecraft: Java Edition
1.21–1.21.1
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.x
Platforms
Bukkit
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed GPL-3.0-or-later
Published 3 months ago
Updated 3 months ago
AutoShutdown
Automatically stop/shutdown your server after no players have been online for a specific amount of time. Nothing more, nothing less.
Why? This frees up resources on your system and can minimize the risk of unwanted attention to your server while no one is there to monitor it.
Installation
- Put the .jar file in your plugins or mods folder (depending on server loader you are using).
- Run the server once to generate the config file and stop it again
- Change any config values if wanted
- Run the server again
- The plugin/mod should now be working
Config
value | loader * | explanation |
---|---|---|
initial_delay | bukkit, fabric | Specifies the delay before the first check for 'online players'. |
polling_delay | fabric | The amount of time between each check for 'online players' |
shutdown_delay | bukkit, fabric | Timeframe after the last person has left the server (or after the initial delay has ended), until the server is actually shut down. If a new player joins the server within this timeframe, the shutdown process will be cancelled. |
enable_logging | bukkit, fabric | Whether or not basic information should be logged to the console. When disabled, warnings and errors will still be logged but no basic information. |
* Depending on the version of the plugin/mod you are using (e.g. bukkit or fabric) some values might or might not be relevant to you and thus not exist within your config file. The plugin/mod itself however will still work perfectly fine :). For the values that do exist, you can find their explanation here.
Help! Which version do I use?
- For any minecraft servers based on fabric (e.g. fabric, quilt, etc.) use the version annotated with [fabric].
- For servers based on bukkit (e.g. craftbukkit, spigot, paper, etc.) use the [bukkit] annotated version.
Questions, bugs or feature requests?
Please use the github issues page for this as I will probably not read this modrinth page that often.