ESODecoded

SetSetting

ESO Lua API function — used by 189 of the 3,030 addons we indexed (combined 11,484,305 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

SetSetting([SettingSystemType|#SettingSystemType] system, integer settingId, string value, [SetOptions|#SetOptions] setOptions)

Real usage — from Ravalox' Quest Tracker

	local newSetting = QUESTTRACKER.svCurrent.hideDefaultQuestTracker and "false" or "true"
	SetSetting(SETTING_TYPE_UI, UI_SETTING_SHOW_QUEST_TRACKER, newSetting)
end

Short excerpt from the shipping addon Ravalox' Quest Trackerits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Ravalox' Quest Tracker1,460,568
Lootdrop, Continued (All in One)1,145,178
RuESO870,904
Addon Selector (Save & Load AddOn profiles/packs)726,157
Wykkyd Outfitter632,442
Wykkyd Toolbar567,448