The Cfx.re Development Kit, FxDK for short, is an integrated development environment designed to provide a smooth developer experience for FiveM.
Detailed documentation links:
With FxDK you no longer have to switch between your server console and game to restart resources. FxDK detects changes in your resources and will restart them automatically.
A game console, server console and combined resource monitor, all in one place.
Thanks to the amazing the open source code editor by Microsoft, we're able to integrate a cutting edge coding experience appropriately named FXCode.
In FxDK, you can use all of your favorite extensions that you normally use in VSCode.
No more handcrafted scripts to place objects on a map, World Editor allows you to do it the same way you'd do it in Unity editor or Unreal Engine editor, visually.
In FxDK, building deploy-ready server is as easy as clicking on a button, batteries included.
If you have FiveM installed - skip to step 2.
FiveM.exeyou'll find a shortcut named
FiveM - Cfx.re Development Kit (FxDK).
FxDK operates on so called projects. Project, in a nutshell, is a dedicated folder on your disk where all project files live. It is a collection of all assets, scripts, models and other files, treat projects like a complete runnable server.
Currently, there're two types of assets:
If you're familiar with how typical server's folder is structred, FxDK projects are a bit different in a way that there's no limitation on where exactly you put your resources.
FxDK provides system resources automatically, you just enable what you need in project settings, unlike how normally you'd download them from https://github.com/citizenfx/cfx-server-data/.
FxDK was designed as a local-only development environment for a single user, however, many people have asked us about that it would be useful to let other users to join you on a dev session, and we understand this demand, however, there're some technical difficulties wrapping this problem.
This implies a lot of things needs to be done to make it work as you'd expect, we have some plans about it, but it's a long-term concern and you should not expect multi-user experience soon.
If you have any suggestions, bug reports or questions, please file an issue on our GitHub.
For all existing FxDK related issues see
sdk labelled issues.