promotional bannermobile promotional banner

Nsk

Shared core library for Nosink addons: client detection, event bus, database, localization, settings panel, slash commands, windows and minimap button.
Back to Files

Nsk 1.7.0

File nameNsk.zip
Uploader
NosinkDNosinkD
Uploaded
Nov 27, 2026
Downloads
377
Size
30.8 KB
Flavors
MoP ClassicRetailClassic TBCClassicForever
File ID
9846050
Type
R
Release
Supported game versions
  • 12.1.5
  • 12.1.0
  • 5.5.4
  • 4.4.2
  • 3.4.5
  • 2.5.6
  • 1.60.1
  • 1.15.9

What's new

Changelog

1.7.0 (LibStub Nsk-1.0, revision 8)

Added

  • ns.settingsPanel.SetValue(key, value): changes a setting through its control on the settings page, so an open page shows the new value at once. Falls back to ns.settingsStore.Set when the setting has no control.
  • panel:DependsOn(parentKey, enabledValue): optional second argument, the value of parentKey that enables the control (default true). Pass false to disable a control while a checkbox is on.
  • panel:AddSubpage(title): adds a sub-page that the AddOns list shows under the addon's [+]. It takes the same controls as the panel and is registered by the panel's Register().
  • panel:AddColorPicker(label, key, tooltip): a color swatch that opens Blizzard's color picker. The setting is an opaque "ffRRGGBB" hex string, updated live while dragging; Cancel restores the previous color. A Class color button above the hex box picks the player's class color.
  • panel:AddPosition(label, xKey, yKey, tooltip, options): a row with X and Y boxes on one line and four arrow buttons (1 px, Shift-click 10 px). Writes whole numbers through ns.settingsStore.Set; options.readCurrent supplies the position while the stored one is unset. Without the Settings color swatch, the setting is registered with no control.

This mod has no additional files