Multiplayer Server Pause
This utility mod provides the ability to automatically pause Minecraft servers (including integrated servers). When all connected players enter a paused state or open pausable interfaces, the server automatically freezes.
You can configure additional settings: activate pause when there are no connected clients (which helps save CPU resources) and enable chat notifications for each server pause event.
Administrators have access to the /pause command, which allows them to forcibly stop the server regardless of players' current status.
Important requirement: the mod must be installed on both client and server for proper operation.