Follow these steps to properly clear the cache in your FiveM server, using either the Game Panel or txAdmin:
Using the Game Panel
1. Stop Your Server
Login to the Game Panel. Navigate to your FiveM server dashboard and use the Stop
button to ensure your server is not running.
2. Access Server Files
Using your preferred FTP client or the built-in file manager, access your server's files.
3. Navigate to the Cache Folder
Locate the cache
folder in your FiveM server directory.
4. Delete Cache Contents
- Delete all files and folders inside the
cache
folder, except for thegame
folder. - If a
cache.old
folder exists, you may also delete this.
5. Restart Your Server
Return to the Game Panel and restart your server using the Start
button.
Using txAdmin
1. Stop Your Server
Login to txAdmin and navigate to your server dashboard. Use the Stop
button to ensure your server is not running.
2. Access Server Files
Within txAdmin, use the File Manager to access your server files.
3. Navigate to the Cache Folder
Locate the cache
folder in your FiveM server directory.
4. Delete Cache Contents
- Delete all files and folders inside the
cache
folder, except for thegame
folder. - If a
cache.old
folder exists, you may also delete this.
5. Restart Your Server
Use the Start
button in txAdmin to restart your server.
General Notes
After restarting your server, monitor its performance to ensure it's functioning smoothly. Clearing the cache is a common troubleshooting step for various server issues, including script errors and loading problems. It's not a universal solution but can be effective for specific problems.