itzg / itzg/mc-server-runner

Bypass stop-server-announce-delay if no players are online

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
45
Forks
22
Avg merge
7h 53m
Merged PRs (30d)
2

Description

> Do you think that it would additionally make sense to add a setting that, if enabled, bypasses `stop-server-announce-delay` when no players are connected?
>

_Originally posted by @DerRockWolf in [#94](https://github.com/itzg/mc-server-runner/issues/94#issuecomment-2611035022)_

> It would...but right now mc-server-runner is not aware of connected player count. Eventually could incorporate https://github.com/itzg/mc-monitor as a library to query for that.

_Originally posted by @itzg in [#94](https://github.com/itzg/mc-server-runner/issues/94#issuecomment-2611095822)_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing stop-server-announce-delay setting and shutdown flow; the issue names no source files or tests. Review how mc-monitor could provide connected-player information, then define and verify a setting that bypasses the delay when no players are online.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.