docker-minecraft-server icon indicating copy to clipboard operation
docker-minecraft-server copied to clipboard

Custom startup/shutdown commands

Open MattiDragon opened this issue 3 years ago • 1 comments

Enhancement Type

A completely new feature

Describe the enhancement

It'd be nice to be able to run some system commands when the server has started or is shutting down. For example sending a message on a discord webhook without having to install a mod.

MattiDragon avatar Oct 08 '22 14:10 MattiDragon

That's an interesting idea. It would also need an enhancement on https://github.com/itzg/mc-server-runner especially to handle the shutdown.

My only concern is that I wouldn't want to make any guarantees about what is available to run other than bash and mc-image-helper.

itzg avatar Oct 08 '22 15:10 itzg