itzg/docker-minecraft-server

auto-restart feature

Open

#1918 opened on Jan 22, 2023

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

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