AutoShutdown

AutoShutdown

Automatically stop/shutdown your server after no players have been online for a specific amount of time

by
2.1K Downloads
bukkitfabricpaperpurpurquiltspigotmanagementoptimizationutility
Rent Server with this Mod

Screenshots

Some command-line output

About this Mod

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.

Newer minecraft version needed?

Just try the newest version of the plugin for your loader (see "Help! Which version do I use?" above), it will likely work anyway.

I don't update the supported versions section often enough to keep up with the rate at which new minecraft versions drop, srry!

Questions, bugs or feature requests?

Please use the github issues page for this as I will probably not read this modrinth page that often.

Available Versions

AutoShutdown [fabric] 1.0.1release
MC 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric, quilt
September 22, 2024
AutoShutdown [bukkit] 1.0.0release
MC 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
September 22, 2024
AutoShutdown [fabric] 1.0.0release
MC 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1fabric, quilt
September 22, 2024

How to Install AutoShutdown on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set bukkit Loader

In the panel under "Egg", select the bukkit loader and matching Minecraft version (1.21.11).

3

Install Mod

Open the mod browser in the dashboard and search for "AutoShutdown". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

bukkitfabricpaperpurpurquiltspigot

Minecraft Versions

1.21.11, 1.21.10, 1.21.9 (+67 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

AutoShutdown server crashes on startup – what to do?

Most common cause: wrong bukkit version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.

Is AutoShutdown compatible with bukkit and fabric and paper and purpur and quilt and spigot?

AutoShutdown officially supports bukkit, fabric, paper, purpur, quilt, spigot for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with AutoShutdown – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if AutoShutdown consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install AutoShutdown with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 or later
Server-side
Required

Supported Versions

1.21.111.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.31.21.2+60 more