promotional bannermobile promotional banner
header
PathWatcher avatar

PathWatcher

This mod requires Fabric and does not work on Forge!

 

Pathwatcher is a server-side mod that restarts the server once a change has been made in the configured folders.

To generate the config, simply run the server with the mod installed.

 

Configurable:

  • Folders/files to watch
  • Time until the server should stop/restart
  • Command to run after the server stops, use "" to simply stop the server.

 

Example config:

# Restart the server a minute after any change has been made in the mods or config folders
directories: 
  - "mods" 
  - "config" 

# Time is in milliseconds 
restart_delay: 60000 

# Use start.bat on windows; this should be the file generated by the Fabric Server Installer
restart_script: "./start.sh"