Jump to content

1 Screenshot

  • 103
  • 2
  • 9.32 kB
  • Update details
    v1.0.0
    Released
    Download size9.32 kB
    Total versions1
    Freshness Updated today

Works with

Compatible add-ons, packages, or tools that pair well with this resource.

About FileWatcher

Description

FileWatcher monitors your server’s config and lang JSON files and automatically reloads the affected plugin when changes are detected. This is aimed at faster iteration while developing or tuning plugins — edit JSON, save, and the plugin reloads itself.

Features

Config + Lang monitoring
Watches oxide/config/*.json
- Watches oxide/lang/**.json (including subfolders)

Safe reload behavior
Debounce (1s): prevents multiple reloads while a file is still being written
- Reload cooldown (20s): prevents reload loops and spam
- Ignore list: exclude specific plugins from being reloaded
- Always ignores FileWatcher itself

Stability
If the watcher throws errors, it auto-restarts itself after 5 seconds

Debug mode
Optional debug output for watcher init, file changes, cooldown/debounce decisions, etc.

Commands
 

/fwstatus

Shows watcher status (Config/Lang on/off) and ignored count. Admin only.

Permissions

No Oxide permission is used. Access is gated by player.IsAdmin.

Config

{
  "Watch config folder": true,
  "Watch lang folder": true,
  "Ignored plugins": [
    "PermissionManager" // This is an example.
  ],
  "Debug mode": false
}

load, run, enjoy 💝


User Feedback

2.3m

Downloads

Total number of downloads.

10.6k

Customers

Total customers served.

153.7k

Files Sold

Total number of files sold.

3.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.