FxDK
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:
Highlights
Live code editing experience
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.
Integrated essentials
A game console, server console and combined resource monitor, all in one place.
Excellent coding experience
Thanks to the amazing the open source code editor by Microsoft, we’re able to integrate a cutting edge coding experience appropriately named FXCode.
Code editor extensions
In FxDK, you can use all of your favorite extensions that you normally use in VSCode.
World Editor
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.
Ready-to-deploy server builds
In FxDK, building deploy-ready server is as easy as clicking on a button, batteries included.
Getting started
If you have FiveM installed - skip to step 2.
- Install FiveM.
- Next to
FiveM.exe
you’ll find a shortcut namedFiveM - Cfx.re Development Kit (FxDK)
. - Follow intro or skip and start creating right away.
Projects
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/.
Limitations
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.
Contributing
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.