Hello everyone and this is a simple bat file to clear the cache when you use the run.bat it basicly deletes the files inside the cache folder everytime you boot up and when you click it, it ends the current server running if you have one!
You do know that not everyone stores their server on their desktop, nor is their computer name âRhys19â. If you want to make something like so that it clears the cache, then make it so that people donât have to change the code of it
P.S. This is not for FX either, CFX is depreciated!
Hereâs one that works for FXServer, throw it into your server directory ( same directory as your server.cfg should be ) and it should do all by itself after being started.
Clearing the cache folder on FXServer will cause people to get the âCouldnât load resource sessionmanagerâ error, which can be resolved by not deleting the cache, as it auto-updates itself when files have been updated in resources.
i also dont think its usefull for cfx anymore because i heard from someone that fivem will be blacklisting all cfx servers (today) not for sure but idk