ServerStatusREST
Introducing ServerStatusREST — an elegant solution for monitoring and managing your gaming server through a simple REST API. This mod provides access to key server status information and soft shutdown functionality.
Main Features
Server Information Retrieval:
- Check current player count on the server via the
/playercountendpoint - Get information about maximum player capacity through
/maxplayercount - Access environment variables SERVER_NAME and SERVER_NODE via
/servernameand/nodetype(particularly useful for Kubernetes deployments) - Verify server health through
/status
Server Management:
- Initiate graceful server shutdown via
/softstop
Important Security Warning: Use this mod only with properly configured firewall or similar network security rules! Otherwise, there's a risk of unauthorized server shutdown.