FiveMGen is a Visual Studio Code extension that helps streamline the development of FiveM resources using Lua or JavaScript. It provides code snippets, templates, and tools to help developers create scripts faster and with fewer errors.
🚀 Features
🔁 Snippets for FiveM Lua and JavaScript scripting
📁 Quick generation of __resource.lua and fxmanifest.lua
🧱 Scaffolding for new FiveM resource projects
🧠 Smart suggestions for events and native functions
🛠 Compatible with both client-side and server-side scripts
⚙️ Requirements
To get the most out of this extension, ensure you have:
Visual Studio Code installed
Basic knowledge of Lua or JavaScript (depending on your scripting language)
A local FiveM server for testing your scripts
No other dependencies are required to use the extension itself.
🔧 Extension Settings
FiveMGen contributes the following settings:
fivemgen.enable: Enable or disable the extension (default: true)
fivemgen.language: Set preferred scripting language (lua | javascript)
fivemgen.defaultResourceName: Default name for new resource folders
🐛 Known Issues
C# support is currently not implemented
May not support nested workspace folders properly
No live validation of manifest files (planned for future release)