Aero.Framework
0.1.0
dotnet add package Aero.Framework --version 0.1.0
NuGet\Install-Package Aero.Framework -Version 0.1.0
<PackageReference Include="Aero.Framework" Version="0.1.0" />
<PackageVersion Include="Aero.Framework" Version="0.1.0" />
<PackageReference Include="Aero.Framework" />
paket add Aero.Framework --version 0.1.0
#r "nuget: Aero.Framework, 0.1.0"
#:package Aero.Framework@0.1.0
#addin nuget:?package=Aero.Framework&version=0.1.0
#tool nuget:?package=Aero.Framework&version=0.1.0
Aero Framework API
Aero Framework is a high-performance C# server-side development framework designed specifically for FiveM (Cfx.re) servers.
This package (Aero.API) provides the developers with interfaces, attributes, and base classes to write modular plugins, register chat commands, hook native events with zero allocation pressure, and utilize built-in registry drivers.
Features
- Modular Plugins: Inherit from
Plugin<TConfig>to build plug-and-play assembly extensions. - Zero-Touch Commands: Implement
ICommandto automatically register server commands. - Low GC Event Dispatcher: Use the
[AeroEvent]attribute to hook events handled in pre-allocated circular buffers. - Centralized Drivers: Interact with MySQL databases (
oxmysql), players, peds, and vehicles safely viaDriverRegistry.
Installation
Add the package to your C# class library project:
dotnet add package Aero.API
Basic Plugin Example
using System;
using Aero.API;
using Aero.API.Interfaces;
using Aero.Events;
using Aero.API.Events.Network;
public class MyConfig : IConfig
{
public string Message { get; set; } = "Hello World!";
}
public class MyPlugin : Plugin<MyConfig>
{
public override string Name => "MyAwesomePlugin";
public override string Author => "Vertex Tools";
public override Version Version => new Version(1, 0, 0);
public static MyConfig Config { get; set; }
public override void OnLoad()
{
Log.Success($"[{Name}] Loaded! Welcome message: {Config.Message}");
}
[AeroEvent(typeof(PlayerEnteringEvent))]
public void OnPlayerEntering(PlayerEnteringEvent e)
{
Log.Info($"Player {e.PlayerName} (ID: {e.PlayerId}) is joining the game.");
}
}
License
This project is licensed under the MIT License - see the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- CitizenFX.Core.Server (>= 1.0.26803)
- YamlDotNet (>= 18.1.0)
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 |
|---|---|---|
| 0.1.0 | 147 | 7/13/2026 |