-
Notifications
You must be signed in to change notification settings - Fork 21
Auto-restart on /stop. #965
Comments
Technically this is possible by yourself, probably disabled by minehut, if not should be (@drtshock). Create a file called |
It'll break the container's functionality if you try to do something like this. We could probably add something like this through the panel. I like the idea. |
Yeah, I have a UHC Meetup server and well I have to be on for them to be able to play (since the server reboots at the end of the game to clear world) This would definitely help out :D |
As a temporary solution you can probably have your server hibernate itself to reset if you have a stateless server, just load a bunch of stuff into RAM and crash your server. I know it's not the best option, but it is an option. (people can then start it from the lobby) |
You can use: echo {1..1000000000} as your "restart-script" and it will force-hibernate your server (by crashing it), unsure how well that works for your situation. |
Yeah no it's apart of a network sadly so this probably wouldn't work. |
Actually it would work better since minehut will repair the server and boot it back up. (If you only crash the sub servers) minehut used a keepalive protocol for networks so if one pod goes down it reboots it, if the main proxy pod goes down it kills the entire process, though it should probably just recreate the pod, but that’s an issue for another topic |
Feature request
Checklist
Platform
Panel
Describe the feature
Ability to auto-restart server on /stop like Pterodactyl.
How the feature is useful
For minigame networks with sub-servers restarting automatically.
Use 👍 and 👎 reactions to indicate you agree or disagree with this suggestion! Feel free to discuss the idea in the comments.
The text was updated successfully, but these errors were encountered: