FREE · Automatic cache clearing every time your server restarts.
What it does
- Every time the server starts or restarts (txAdmin scheduled restarts included), it deletes the server's cache folder before your scripts load.
- No more "I updated the script but players still get the old version".
- No more stopping the server to delete the cache by hand.
- Safe: it never touches txAdmin, itself or anything already running.
Where it goes
- Put
rolo_cachecleanin your resources folder. - In server.cfg, add
ensure rolo_cachecleanas the first ensure, before every other resource. - Restart: the console shows "Cache cleared: 165 resource(s) in 2 ms".
Options
- 3 modes: always (every start), next (only the next start) or off.
- Console command
cacheclean always / next / off, no file editing needed. - 0.00 ms: it works once at start and then does nothing.
Works with: any framework (QBCore, Qbox, ESX, vRP, none), with or without txAdmin, Windows and Linux.
Open source: every file is editable.
Delivery: free download from your Cfx Portal → Granted Assets (portal.cfx.re).
ES · GRATIS · Borra la caché del servidor automáticamente cada vez que se reinicia. Se pone como el primer ensure en el server.cfg y se olvida. Abierto, sirve para cualquier framework, Windows y Linux.