timvisee / lazymc

💤 Put your Minecraft server to rest when idle.
GNU General Public License v3.0
600 stars 18 forks source link

Event Based Actions #79

Open rhullah opened 3 months ago

rhullah commented 3 months ago

I was wondering if there is any support for event based actions (scripts) to occur within the lifecycle of lazymc? I tried looking around but couldn't find anything so this may be a feature request. Specifically, I think it would be nice to perform an action (like a backup) when lazymc shuts down the server. Other events, I suppose, could have actions maybe like: startup of lazymc, startup of server, shutdown of server, shutdown of lazymc, etc.

Thanks for your time.