Start / Stop Minecraft Server - Linux CLI

Trying to create some server automation scripts and looking for a way to give AMP command to Start or Stop the Minecraft Server. I know there are “ampinstmgr” commands, however these can only Start or Stop the instance as a whole, making other AMP features unavailable.

Thus, I am wondering whether there is a way to send MC server start and stop commands directly from Linux CLI?


A) set the startup mode of the instance to “Start Application” so that the MC server starts when the instance starts (and by extension shuts down when the instance shuts down or
B) use AMPs API to start/stop the server.

Thanks for pointing, Mike!

I guess I should do some research on AMP API and give it a go. Stopping the instance isn’t an option, sadly, as this would disable other features such as scheduling.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.