Stormancer.Server.Plugins.Collections 1.0.1-pre

This is a prerelease version of Stormancer.Server.Plugins.Collections.
dotnet add package Stormancer.Server.Plugins.Collections --version 1.0.1-pre
                    
NuGet\Install-Package Stormancer.Server.Plugins.Collections -Version 1.0.1-pre
                    
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="Stormancer.Server.Plugins.Collections" Version="1.0.1-pre" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Stormancer.Server.Plugins.Collections" Version="1.0.1-pre" />
                    
Directory.Packages.props
<PackageReference Include="Stormancer.Server.Plugins.Collections" />
                    
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 Stormancer.Server.Plugins.Collections --version 1.0.1-pre
                    
#r "nuget: Stormancer.Server.Plugins.Collections, 1.0.1-pre"
                    
#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 Stormancer.Server.Plugins.Collections@1.0.1-pre
                    
#: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=Stormancer.Server.Plugins.Collections&version=1.0.1-pre&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Stormancer.Server.Plugins.Collections&version=1.0.1-pre&prerelease
                    
Install as a Cake Tool

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 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. 
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
1.0.1-pre 104 10/11/2026
1.0.0.11 323 3/3/2025
1.0.0.11-pre 257 3/3/2025
1.0.0.10-pre 200 9/30/2024
1.0.0.9-pre 212 6/10/2024
1.0.0.8-pre 205 4/2/2024
1.0.0.6-pre 188 3/11/2024
1.0.0.5-pre 236 12/11/2023
1.0.0.4-pre 251 11/20/2023
1.0.0.3-pre 238 10/19/2023
1.0.0.2-pre 237 10/5/2023
1.0.0.1-pre 228 10/3/2023
1.0.0-pre 235 9/25/2023
0.1.1.9-pre 234 9/13/2023
0.1.1.8-pre 237 9/13/2023
0.1.1.7-pre 235 9/13/2023
0.1.1.6-pre 247 9/12/2023
0.1.1.5-pre 237 9/12/2023
0.1.1.4-pre 244 9/11/2023
0.1.1.3-pre 240 9/11/2023
Loading failed

Changed
*******
- Updated dependencies.