Setup
You need the following requirements to use the c# module.
- Latest .NET 6.0 SDK.
Step 1
Download server from https://altv.mp/#/downloads and check c# module, config and data files. Also make sure to select the operating system where you want to run the server
Your server should now look like this:
modules/
└── csharp-module.dll
resources/
AltV.Net.Host.dll
AltV.Net.Host.runtimeconfig.json
server.toml
altv-server.exe (altv-server on linux)
Now you are ready for creating your first c# resource.