Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Guide How to optimise your server a little bit! (step-by-step for dummies)

artistas

Gold Elite
Joined
Apr 23, 2021
Messages
41
Reaction score
882
Points
296
In this guide I will tell you how to get a little bit more FPS in your FiveM server.

First of all, you'll have to find simple scripts from your FiveM server (scripts that only use one .lua file)
You don't have permission to view content!


When you'll have to make a new resource. Make new folder, add fxmanifest.lua to it.
Then put all your simple scripts in that folder, make sure there are no multiple files with the same name, if that happens, just rename those files to anything you want.
Your resource now should look something like this:
You don't have permission to view content!


Then enter fxmanifest.lua and declare every script you just added, your fxmanifest.lua now should look like this:
You don't have permission to view content!


Save your fxmanifest.lua and you're good to go with this part.

Other way to save some FPS is to put every streaming script to one.

Once again, you'll have to make a new resource, and create fxmanifest.lua, don't type anything in it, leave it blank.
Then make new folder and name it "stream".

Your resource now should look like this:
You don't have permission to view content!


If it does, good job, now you'll have to find every streaming resource that you have, ymaps, mlos, clothes, ydrs etc.

Once you find all your streaming resources open up "stream" folder and for every streaming resource you had make a new folder and name it whatever you like, and add every streamable item into it.
You don't have permission to view content!

You don't have permission to view content!


And we're done, now just start your server and enjoy your few extra FPS!

Like from you would be awesome if it helped u!
 
Last edited:

TheRealDee

Bronze Elite
Joined
Aug 5, 2023
Messages
10
Reaction score
26
Points
176
Location
Australia
This is probably less beneficial than more..

The fxmanifest.lua servers as a configuration file, this may increase loading time by 0.000001% (qquite literally), messing around with manifest could break mods,

As for the MLOs and other objects, this will do absolutely nothing.
CFX recursively scans all directories looking for folders that are ensured, MLOs, etc.
Changing the folder they are in will not do anything simply because they will still go through the exact same process

Plus, mixing resources is never good for development or testing.

-1
 
Top