Scuffed Labs Logo

Organizing Projects

Keeping your projects organized is very important. Whether it be a resource or the server itself, here are some tips we have on how to keep your stuff clean and organized.

Organizing Resources

Most beginners will just toss client & server files into a directory with an fxmanifest.lua and call it good. This makes expanding resources much harder than it needs to be, especially for those of a large size. This is how we personally structure our resources to ensure clean and maintainable code:

We have a resource template available here if you wish to use the same format we do.

main.lua
utils.lua
main.lua
utils.lua
fxmanifest.lua

Organizing Your Server

Just like your resources, your server should also be organized. While FiveM doesn't require any specific folder structure, keeping similar resources grouped together makes your server much easier to navigate and maintain.

For example, if you need to update a vehicle pack, you'll know exactly where to find it. Likewise, if a map is causing issues, you won't have to search through dozens of unrelated resources.

One possible server structure looks like this:

There is no "correct" way

The exact folder names don't matter. What's important is that you choose a structure that makes sense to you and stay consistent. If every vehicle lives in one place, every map in another, and every script has a logical home, maintaining your server becomes significantly easier as it grows.

On this page