AutoDeleteCache Bat File

Tired, hopeless or even lazy? if so i have created a very simple bat file that allows you to delete your cache files within your fx folder so you dont have to waste valuable time deleting files manually!

Instructions:

  1. Download The Bat File: https://drive.google.com/open?id=0B_eAEyFu6--ock1xY0tLTzV4bWc
  2. Drag and drop your newly downloaded file into your Fxserver.
  3. Right click on autodelcache fivem bat file and edit with notepad++ https://notepad-plus-plus.org/download/v7.5.1.html
  4. Replace both Place Folder Directory Here with your cache folder directory, save and test!

Folder Directory EG: C:\Users\Administrator\Desktop\FXServer\cache\files

For any more questions please comment bellow!

1 Like

Here we go again, another shitty version of a Cache clearer for FiveM when starting a server…

2 Likes

Unnecesary and low quality release

1 Like

I don’t get this obsession with nuking the cache…
The caching system knows when files change and re-cache them automatically…

1 Like

Why do people think these are even necessary anymore… I’ve caused more issues by clearing my cache than just letting the server handle it on it’s own.

1 Like

There is a reason for the cache folder to exist, and it’s very bad practise to alter or delete it. Thus isn’t the old CitMP days anymore.

Quit bashing the guy. He created something I thought could be helpful. I dont see anyone else doing this. Plus if you create an update to a file, you have to clear out the cache or it wont work properly. So shame on you guys for doing that. I do not see any of you guys coming up with ideas on how to improve ideas. Before you go knocking someone down for their idea, look to make it better and help the community as a whole.

2 Likes

No, you don’t have to clear the cache if you change a file, that was only for the old CFXServer, not the new FXServer. So therefore, this script is pointless, end of story.

There’s literally no purpose for this on FXServer. It’s not bashing, it’s criticism. If you can’t take it, especially when the topic isn’t even yours, you’re in the wrong place.

That’d be where you’re wrong, simply running restart <script> works just fine. :slight_smile:

When you fall into the floor of a mapping, you have to clear your cache, this makes your game respond quicker and load the collission files faster. Saying that it does nothing is just pure ignorance. The cache does not AUTO-UPDATE like the other guy said. Fivem is not that great at managing the cache.
When the server’s client files are changed it’s always good to clear your cache. I recommend it to everyone, clear your cache before every client boot. (Delete everything in /cache/ except the /game/ folder)

Simply use that into a .bat and all done:

@echo off
rmdir /s /q cache
TIMEOUT /T 1
start FXServer.exe +exec server.cfg +set onesync legacy

Yeet wat a haters! Thats not so nice… however it clear that the download url is gone. Would love to see it tough.

ignore their attitudes, they are probably 12yo kids with nothing ahead of them.

these guys… lol. some cases require you to delete the cache. also yes it is needed with fxserver. fxserver actually has a defense built in to reset changed files for what has been previously placed in the servers cache folder. so sometimes you will change a file and restart the resource only to find the changes did not work because of the cache. tell me you cant dev without telling me you cant dev. have a nice day and learn things before crapping on someones post.