Stormancer.Server.Plugins.Collections
1.0.1-pre
dotnet add package Stormancer.Server.Plugins.Collections --version 1.0.1-pre
NuGet\Install-Package Stormancer.Server.Plugins.Collections -Version 1.0.1-pre
<PackageReference Include="Stormancer.Server.Plugins.Collections" Version="1.0.1-pre" />
<PackageVersion Include="Stormancer.Server.Plugins.Collections" Version="1.0.1-pre" />
<PackageReference Include="Stormancer.Server.Plugins.Collections" />
paket add Stormancer.Server.Plugins.Collections --version 1.0.1-pre
#r "nuget: Stormancer.Server.Plugins.Collections, 1.0.1-pre"
#:package Stormancer.Server.Plugins.Collections@1.0.1-pre
#addin nuget:?package=Stormancer.Server.Plugins.Collections&version=1.0.1-pre&prerelease
#tool nuget:?package=Stormancer.Server.Plugins.Collections&version=1.0.1-pre&prerelease
Collections System
This plugin enables players to get a list of collectibles from the game server with associated metadata, and to unlock them.
The unlocking process can be customized by registering dependencies which implement the ICollectionEventHandler contract, for instance to spend resources on unlock.
Item definitions
Unlockable items are defined in the item definition file. A path to the file containing the item definitions in the cluster file storage system must be defined in the plugin configuration.
Item definitions are identified by an id provided as they key in the definition file. Additionally, you can declare a category, tags and custom metadata for each item definition. Use this data in server & client code to customize display and create custom logic. For instance, you could specify a cost in the metadata, then use it decide how much currency a player has to spend to unlock the item in their collection.
Example:
PUT: {adminApi}/_blobs/{accountId}/{containerName}/{fileId}
{
"items": {
"ring_of_cats": {
"category":"equipment",
"tags":["ring","cat"],
"metadata": {
"foo": 5000
}
},
"item2": {
...
},
"item3":{
}
}
}
}
Configuration
{
...
"collection": {
"ItemDefinitionsPath": "accountId/blobcontainerName/fileId"
},
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- Stormancer.Abstractions.Server (>= 10.2.0.1-pre)
- Stormancer.Abstractions.Server.Users (>= 1.2.0.1-pre)
- Stormancer.Server.Plugins.Annotations (>= 1.1.0.1-pre)
- Stormancer.Server.Plugins.Api (>= 3.2.1-pre)
- Stormancer.Server.Plugins.Configuration (>= 2.1.5-pre)
- Stormancer.Server.Plugins.Database.EntityFrameworkCore (>= 0.1.0.19-pre)
- Stormancer.Server.Plugins.Profile (>= 4.2.0.2-pre)
- Stormancer.Server.Plugins.Users (>= 10.0.3.21-pre)
- Stormancer.Server.Plugins.Users.EntityFramework (>= 1.0.3-pre)
- Stormancer.Server.Plugins.Utilities (>= 3.3.0.1-pre)
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 |
|---|---|---|
| 1.0.1-pre | 35 | 10/11/2026 |
| 1.0.0.11 | 307 | 3/3/2025 |
| 1.0.0.11-pre | 248 | 3/3/2025 |
| 1.0.0.10-pre | 192 | 9/30/2024 |
| 1.0.0.9-pre | 202 | 6/10/2024 |
| 1.0.0.8-pre | 197 | 4/2/2024 |
| 1.0.0.6-pre | 180 | 3/11/2024 |
| 1.0.0.5-pre | 227 | 12/11/2023 |
| 1.0.0.4-pre | 242 | 11/20/2023 |
| 1.0.0.3-pre | 227 | 10/19/2023 |
| 1.0.0.2-pre | 227 | 10/5/2023 |
| 1.0.0.1-pre | 218 | 10/3/2023 |
| 1.0.0-pre | 228 | 9/25/2023 |
| 0.1.1.9-pre | 225 | 9/13/2023 |
| 0.1.1.8-pre | 228 | 9/13/2023 |
| 0.1.1.7-pre | 226 | 9/13/2023 |
| 0.1.1.6-pre | 234 | 9/12/2023 |
| 0.1.1.5-pre | 230 | 9/12/2023 |
| 0.1.1.4-pre | 235 | 9/11/2023 |
| 0.1.1.3-pre | 231 | 9/11/2023 |
Changed
*******
- Updated dependencies.