Automatically shuts a Minecraft server down when only one player is connected. https://jonas-thelemann.de/one-player-shutdown
Find a file
renovate[bot] c6e264d42e
chore(deps): update actions/setup-java digest to f2beeb2 (#32)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-05 09:50:32 +00:00
.github/workflows chore(deps): update actions/setup-java digest to f2beeb2 (#32) 2025-12-05 09:50:32 +00:00
.idea chore(ide): update idea 2025-10-15 02:01:38 +02:00
src Improved the way the plugin gets the count of online players 2018-01-22 11:07:48 -06:00
.gitignore IntelliJ IDEA Migration 2017-10-20 05:23:57 +02:00
LICENSE MIT License 2017-10-20 05:27:14 +02:00
pom.xml chore(deps): update org.spigotmc:spigot-api to 1.21.9-R0.1-SNAPSHOT 2025-10-15 02:01:07 +02:00
README.md docs(readme): correct ci status badge 2025-03-28 14:43:04 +01:00
renovate.json chore(renovate): extend root configuration 2021-10-19 00:51:49 +02:00

ci status

OnePlayerShutdown

Automatically shuts a Minecraft server down when only one player is connected.

Download

See Releases.

Installation

Just put the downloaded .jar into your plugins folder and start or reload your server!

What this plugin does

Whenever a player is playing alone on a Minecraft Server this plugin enables the server to announce a server shutdown if nobody else joins within two minutes. The time limit can be changed by the user and the plugin can be disabled and enabled again through the /oneplayershutdown command.

Why

For me multiplayer servers are there for people to play with one another. To make sure nobody feels lonely on my Minecraft server I decided to write this plugin to prevent excessive singleplayer gaming on a multiplayer server.

Commands

  • oneplayershutdown - Commands for configuring automatic shutdown.
    • /<command> [enable, start] - enable One-Player-Shutdown.
    • /<command> [disable, stop] - disable One-Player-Shutdown.
    • /<command> status - displays the current plugin configuration.
    • /<command> timelimit <seconds> - set the shutdown's timelimit.
    • /<command> reset - resets this plugin's configuration.

Default Settings

  • enabled: true
  • timelimit: 180