Yassa 1.2.0

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

Yassa

Yet another server-specific settings API wrapper for EXILED.

Key Features

  • Fluent builders for all option types enables declarative configuration through method chaining, making settings definitions both readable and maintainable.
  • Numeric IDs have been replaced with human-readable string IDs to eliminate the magic numbers. The OptionIdentifiersRegistry ensures that persistent numeric IDs are mapped correctly, maintaining stability across server restarts.
  • Seamless integration with other EXILED plugins that using SSS.

How to Install

Put Yassa.dll under the release tab into %appdata%\EXILED\Plugins (Windows) or ~/.config/EXILED/Plugins (Linux) folder.

Usage Example

Here's an example of how to register settings using Yassa

OptionNode node = new OptionNodeBuilder()
    .SetHeader("My honest option node")
    .SetHint("Option node hint")
    .AddTextInputOption(o => o
        .SetCustomId("YourPlugin.NicknameContent")
        .SetLabel("Custom Nickname")
        .SetCharacterLimit(50)
        .SetPlaceholder("Your nickname here..."))
    .AddButtonOption(o => o
        .SetCustomId("YourPlugin.Confirm")
        .SetLabel("Save Changes")
        .SetText("Confirm")
        .OnClicked(OnConfirmButtonClicked))
    .Build();

OptionsService.Register(node);

private void OnConfirmButtonClicked(Player player, ButtonOption button)
{
    player.CustomName = player.GetStringValue("YourPlugin.NicknameContent");
}
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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.2.0 119 3/25/2026
1.1.0 188 8/3/2025
1.0.1 159 6/1/2025
1.0.0 190 5/21/2025

Yassa 1.2.0
           What's Changed
           - Added silent error mode for value retrieval methods.
             `GetStringValue`, `GetNumberValue`, and `GetBooleanValue` now accept an optional `silent` argument (default: false).
              When `true`, method returns a type-appropriate default value instead of throwing an exception.
           - A new `FallbackValue` property has been added to `TextInputOption`.