itzg/docker-minecraft-server

auto-restart feature

Open

#1,918 opened on Jan 22, 2023

View on GitHub
 (3 comments) (4 reactions) (0 assignees)Shell (1,858 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (13,694 stars)
PR merge metrics
 (Avg merge 15h 10m) (32 merged PRs in 30d)

Description

Enhancement Type

A completely new feature

Describe the enhancement

It would be great to have some options for the server to automatically restart itself under configurable conditions: i.e. no users connected in the last X minutes (similar to the autopause condition), last started more than Y hours ago, only inside a certain time window, etc. When combined with SPIGET_RESOURCES this would also facilitate easier automatic updating of highly version-sensitive plugins such as Geyser, ViaVersion, or ViaBackwards.

Contributor guide