StreamDeck-Tools 2.0.0

There is a newer version of this package available.
See the version list below for details.
Install-Package StreamDeck-Tools -Version 2.0.0
dotnet add package StreamDeck-Tools --version 2.0.0
<PackageReference Include="StreamDeck-Tools" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StreamDeck-Tools --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StreamDeck-Tools, 2.0.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 StreamDeck-Tools as a Cake Addin
#addin nuget:?package=StreamDeck-Tools&version=2.0.0

// Install StreamDeck-Tools as a Cake Tool
#tool nuget:?package=StreamDeck-Tools&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

BarRaider's Stream Deck Tools

This library wraps all the communication with the Stream Deck App, allowing you to focus on actually writing the Plugin's logic.


Author's website and contact information:
** Samples of plugins using this framework: Samples

Version 2.0 is out!

WARNING: This version breaks interfaces used in versions 1.x
This is done to simplify the work on creating plugins even more. In addition, it adds access to additional functionality and data.
Please follow the "Upgrading from versions 1.x" section below to quickly move to version 2.x


  • Optimized for the Stream Deck 4.1 SDK
  • Added support for GlobalSettings (introduced in the 4.1 SDK)
  • Simplified receiving Global Settings updates through the new ReceivedGlobalSettings method
  • Simplified receiving updates from the Property Inspector through the new ReceivedSettings method along with the new Tools.AutoPopulateSettings() method. See the "Auto-populating plugin settings" section below.
  • Introduced a new attribute called PluginActionId to indicate the Action's UUID (See below)
  • Simplified working with filenames from the Stram Deck SDK. See "Working with files" section below
  • Built-in integration with NLog. Use Logger.LogMessage() for logging.
  • Just call the SDWrapper.Run() and the library will take care of all the overhead
  • Just have your plugin inherit PluginBase and implement the basic functionality. Use the PluginActionId to specify the UUID from the manifest file.

How do I use this?

A list of plugins already using this library can be found here

This library wraps all the communication with the Stream Deck App, allowing you to focus on actually writing the Plugin's logic. After creating a C# Console application, using this library requires two steps:

  1. Create a class that inherits the PluginBase abstract class.
    Implement your logic, focusing on the methods provided in the base class.
    Follow the samples here for more details
    New: In version 2.x - use the PluginActionId attribute to indicate the action UUID associated with this class (must match the UUID set in the manifest file)
public class MyPlugin : PluginBase
	// Create this constructor in your plugin and pass the objects to the PluginBase class
	public MyPlugin(SDConnection connection, InitialPayload payload) : base(connection, payload)
		// TODO: Use the payload.Settings to see the various settings set in the Property Inspector (in my samples, I create a private class that holds the settings)
		// Other relevant settings in the payload include the actual position of the plugin on the Stream Deck
		// Note: By passing the `connection` object back to the PluginBase (using the `base` in the constructor), you now have access to a property called `Connection` 
		// throughout your plugin.
	// TODO: Implement all the remaining abstract functions from PluginBase (or just leave them empty if you don't need them)
	// An example of how easy it is to populate settings in StreamDeck-Tools v2
	public override void ReceivedSettings(ReceivedSettingsPayload payload)
		Tools.AutoPopulateSettings(settings, payload.Settings); // "settings" is a private class that holds the settings for your plugin's instance.
  1. In your program.cs, just pass the args you received to the SDWrapper.Run() function, and you're done!
    Note: This process is much easier than the one used in 1.x and is based on using the PluginActionId attribute, as shown in Step 1 above.
class Program
	static void Main(string[] args)
  1. There is no step 3 - that's it! The abstract functions from PluginBase that are implemented in MyPlugin hold all the basics needed for a plugin to work. You can always listen to additional events using the Connection property.

Additional step-by-step instructions, including how to upgrade from v1.0 are here

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on StreamDeck-Tools:

Repository Stars
Elgato Stream Deck plugin for Elite Dangerous
Create sophisticated macros easily and run them through your Stream Deck
Version Downloads Last updated
3.2.0 920 1/20/2021
3.1.0 548 11/29/2020
3.0.0 301 10/1/2020
2.9.0 402 6/25/2020
2.8.0 383 4/27/2020
2.7.0 726 1/2/2020
2.6.0 489 9/29/2019
2.5.0 365 8/12/2019
2.4.2 302 7/15/2019
2.3.0 287 7/9/2019
2.2.0 372 5/24/2019
2.0.1 396 3/8/2019
2.0.0 444 3/4/2019
1.1.6 371 2/18/2019
1.1.5 380 2/15/2019
1.1.1 357 2/9/2019

Note: Library has been optimized for the new 4.1 SDK!
Some of the changes are breaking existing interfaces. Upgrade instruction are available on the Github page:
Added new functionality + more data to existing methods. Plugin creation is now much easier