SampSharp.Core 0.9.0

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package SampSharp.Core --version 0.9.0
NuGet\Install-Package SampSharp.Core -Version 0.9.0
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="SampSharp.Core" Version="0.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SampSharp.Core --version 0.9.0
#r "nuget: SampSharp.Core, 0.9.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SampSharp.Core as a Cake Addin
#addin nuget:?package=SampSharp.Core&version=0.9.0

// Install SampSharp.Core as a Cake Tool
#tool nuget:?package=SampSharp.Core&version=0.9.0

The core library of SampSharp which manages the communication with the SA-MP server.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on SampSharp.Core:

Package Downloads

A framework for writing SA-MP game modes in C#.


An EntityComponentSystem framework for SampSharp.


A SampSharp wrapper for the Pawn.RakNet plugin.


Wrapper of the SKY plugin for SampSharp Entities.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.10.1 1,411 4/10/2022
0.10.0 1,082 3/29/2022
0.10.0-alpha2 86 3/25/2022
0.10.0-alpha1 134 3/11/2022
0.9.3 877 12/12/2020
0.9.2 551 12/12/2020
0.9.1 1,165 12/12/2020
0.9.0 1,263 12/12/2020
0.8.0 656 12/12/2020
0.8.0-alpha8 356 12/12/2020
0.8.0-alpha7 261 12/12/2020
0.8.0-alpha6 408 12/12/2020
0.8.0-alpha3 252 12/12/2020
0.8.0-alpha2 272 12/12/2020
0.8.0-alpha10 262 12/12/2020
0.8.0-alpha1 270 12/12/2020

- Added `IGameModeClient.RegisterCallback` overloads which allows the arguments of the callback to be provided as an `object[]` to the specified method
- Added option to specify the index at which the identifier arguments are located within natives of native objects
- Added notice to multi-process run mode: "for development purposes only", use hosted hosted mode for production environments
- Added callback name to the `IGameModeClient.UnhandledException` event
- Added unhandled exception handling in hosted mode
- Added unhandled exception handling in multi-process mode for ticks and synchronisations
- Added `IfHosted` and `IfMultiProcess` methods to `GameModeBuilder`
- Updated minimum .NET Standard version to 2.0
- Improved shutdown behaviour of multi-process run mode
- Improved number of memory allocations during handling of callbacks and native calls in hosted run mode
- Changed hosted mode to not automatically redirect console output to the server_log.txt, use `GameModeBuilder.RedirectConsoleOutput()` to reenable logging to the server log
- Removed `GameModeBuilder.BuildWith`
- Fixed `GameModeBuilder.RedirectConsoleOutput` causing errors during startup in multi-process mode
- Fixed garbage strings being returned when no string is set to out string parameters (#323)