
A scriptable server-side mod & plugin to auto-stop your Minecraft Servers when empty!
NoPlayerStop is a lightweight utility that enables your server to operate on demand. By automatically shutting down when no players are active, it transforms your setup into a serverless-like environment, saving CPU and RAM resources during downtime.
This mod is designed to work as the perfect companion for mc-gate.

While NoPlayerStop handles the automated shutdown when your server is empty, mc-gate acts as a high-performance async proxy that stays online. When a player attempts to join or pings the server, mc-gate detects the traffic and executes a command to wake the server back up.
Together, they create a fully automated On-Demand ecosystem: your server only consumes hardware resources when someone is actually playing.

The configuration file is generated automatically on the first run. You can adjust the following parameters:
enabled: Toggle the entire system on or off.shutdown-delay: How many seconds to wait after the last player leaves.warning-seconds: When to start broadcasting shutdown warnings.min-players: The player count threshold to start the timer (usually 0).enable-webhooks: Enable or disable external notifications.webhook-url: Your Discord or custom API endpoint.webhook-body: The JSON payload to send, supporting variables like %time% and %last_player_active%.This project is licensed under the MIT License.