You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Yeah, lots of that intricate stuff is hard to get from at the container level, ie number of players online. A while ago I was using this plugin on Paper and just had my container configured to restart unless-stopped and didn't provide a restart script to the plugin and it worked perfectly.
You could theoretically send the list command to the server when it wanted to restart, process the output then restart if able to, but that sounds janky and I don't know if it would make directly interfacing with the server console messy.
EDIT: after digging around actually how this container works, you could probably write a wrapper and use mc-monitor
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.
The text was updated successfully, but these errors were encountered: