Skip to content

A script to automatically restart FiveM scripts when files are saved/changed.

Notifications You must be signed in to change notification settings

loaf-scripts/loaf_watchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watchdog

A FiveM script that automatically restarts resources when a .lua file is saved, created or deleted.

The watchdog also has the ability to automatically delete all entities created by resources when they are stopped. To enable this feature, set DELETE_ENTITIES to true in the config.json.

Installation

  1. Add the script to your resources folder
  2. Add add_ace resource.loaf_watchdog command.refresh allow to your server.cfg to allow the script to refresh resources
  3. Add start loaf_watchdog to the bottom of your server.cfg
  4. Restart your server

About

A script to automatically restart FiveM scripts when files are saved/changed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published