NoPlayerStop

A scriptable server-side mod & plugin to auto-stop your Minecraft Servers when empty!

90

Quick challenge

How far can you run before the mobs catch you?

NoPlayerStop

NoPlayerStop

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.

Supported Platforms

* Any Paper-Based * Any Paper-Based * Any Paper-Based * Any Paper-Based like Purpur.

-----

Serverless Infrastructure with MC-Gate

This mod is designed to work as the perfect companion for mc-gate.

MC-Gate waking up the server

While mc-gate 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.

MC-Gate Server online message

-----

Key Features

* Native Performance: Monitors player activity and triggers a shutdown sequence only when the server is truly empty. * Native Performance: Configurable delays to ensure the server doesn't shut down during quick relogs. * Native Performance: Provides real-time warnings in the console before the final shutdown occurs. * Native Performance: Send automated notifications to Native Performance or custom web services the moment the server goes offline. * Native Performance: Built to be as lightweight as possible with zero impact on tick rates or game performance.

Configuration

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%`.

License

This project is licensed under the MIT License.

ADS