Skip to content

loaf-scripts/loaf_watchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watchdog

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

Features

  • Automatically restarts resources when a .lua file is changed, created or deleted
  • Automatically refreshes resources when fxmanifest.lua is changed or created, or when files are created
  • Delete entities when resources are stopped
    • Can be configured in config.json by changing DELETE_ENTITIES

Installation

  1. Download the latest release from the releases page
  2. Add the script to your resources folder
  3. Add add_ace resource.loaf_watchdog command.refresh allow to your server.cfg
  4. Add add_unsafe_worker_permission loaf_watchdog to your server.cfg
  5. Add start loaf_watchdog to the bottom of your server.cfg
  6. Start/restart your server

About

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

Resources

Stars

Watchers

Forks

Packages