MenuAPI.FiveM.Enhanced 4.0.1

dotnet add package MenuAPI.FiveM.Enhanced --version 4.0.1
                    
NuGet\Install-Package MenuAPI.FiveM.Enhanced -Version 4.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MenuAPI.FiveM.Enhanced" Version="4.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MenuAPI.FiveM.Enhanced" Version="4.0.1" />
                    
Directory.Packages.props
<PackageReference Include="MenuAPI.FiveM.Enhanced" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MenuAPI.FiveM.Enhanced --version 4.0.1
                    
#r "nuget: MenuAPI.FiveM.Enhanced, 4.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MenuAPI.FiveM.Enhanced@4.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MenuAPI.FiveM.Enhanced&version=4.0.1
                    
Install as a Cake Addin
#tool nuget:?package=MenuAPI.FiveM.Enhanced&version=4.0.1
                    
Install as a Cake Tool

C# Menu API for FiveM and RedM

Discord CodeFactor Patreon

Designed specifically as a replacement of NativeUI, MenuAPI features performance improvements, improved stability, better features, less bugs, full safezone alignment support for both left and right aligned menus and less (in my opinion) unnecessary features.

This has been coded from the ground up. Using decompiled scripts from GTA V to figure out what some undocumented natives were used for.

Which package do I need?

MenuAPI comes in three packages. Pick the one that matches the game and the C# runtime your resource uses. All three always have the same version number, and they come out together.

Package Game What it is built for
MenuAPI.FiveM.Enhanced FiveM Enhanced .NET 10 with the new CitizenFX.FiveM.Client runtime
MenuAPI.FiveM FiveM .NET Framework 4.5.2 with the classic CitizenFX.Core runtime
MenuAPI.RedM RedM .NET Framework 4.5.2 with the RedM CitizenFX.Core runtime

The two FiveM packages are built from the exact same code, so they offer the same features. Both draw the menu with NUI, which is a small web page that FiveM shows on top of the game. Your resource needs a ui_page and has to list the menuapi folder in its fxmanifest.lua for that to work. The TestMenu folder in this repository has a working example of both manifests.

The RedM package is the older MenuAPI, kept as it was, with a few fixes.

Installation

Please refer to the documentation for installation instructions: FiveM or RedM.

Building it yourself

There are two solutions in this repository.

  1. MenuAPI.FiveM.slnx builds both FiveM packages. One project builds the same code twice, once for .NET 10 and once for .NET Framework 4.5.2. The few things that differ between the two FiveM runtimes live in the MenuAPI/platform folder.
  2. redm/MenuAPI.RedM.slnx builds the RedM package. It is completely separate and shares nothing with the FiveM side.

Run dotnet build on either one. For the smaller web files, install Node and run npm ci once first. Without it the build still works, it just ships the web files unminified.

Documentation

Documentation is available here.

Feel like contributing to the documentation? The docs source lives in the docs/ folder of this repository, thanks!

Copyright © Tom Grobbe 2018-2026.

MenuAPI is licensed under the GNU Lesser General Public License v3.0 or later (LGPL-3.0-or-later).

The LGPL is written as a set of additional permissions on top of the GPL, so both texts are included: LICENSE.md (LGPL-3.0) and LICENSE.GPL.md (GPL-3.0).

In short — this is not legal advice, read the license itself:

  • You may link MenuAPI into your own resource and ship it, including closed-source and paid resources. Your own code does not become LGPL.
  • If you modify MenuAPI itself and distribute it, you must release those modifications under the LGPL.
  • You must credit MenuAPI, keep the copyright and license notices intact, and make clear that MenuAPI is used and available under the LGPL.
  • Your users must be able to relink your resource against a modified MenuAPI. Shipping MenuAPI.dll as its own file (rather than merging it into your assembly) satisfies this.
  • It comes with absolutely no warranty. Nothing is guaranteed to work, I do not take responsibility for any bugs or damages caused by this code. Use at your own risk.

Full notice

MenuAPI
Copyright (C) 2018-2026 Tom Grobbe

This library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this library.  If not, see <https://www.gnu.org/licenses/>.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.1 47 10/11/2026
4.0.0 50 10/11/2026
1.0.33 63 10/9/2026
1.0.32 112 10/4/2026
1.0.31 129 9/20/2026
1.0.28 170 9/2/2026
1.0.27 105 9/2/2026
1.0.25 121 8/31/2026
1.0.24 110 8/31/2026
1.0.23 117 8/30/2026
1.0.22 102 8/30/2026
1.0.21 114 8/30/2026
1.0.20 104 8/28/2026
1.0.15 108 8/28/2026
1.0.11 112 8/26/2026
Loading failed