Originally Posted by stealthbr
The Interface Settings I like to use but that always get defaulted after I restart my client are: Ability Bar - Don't Show, Healthbars - OFF, Group Members Indicators - OFF, Resurrectable Players Indicators - OFF, Followers Indicators - OFF
|
I couldn't find where are those settings stored, so let's try code which will set the settings.
In your addons folder create a new folder called "SetMySettings". Inside of this folder create two text files - "SetMySettings.txt" and "SetMySettings.lua".
To the SetMySettings.txt copy this text:
Code:
## APIVersion: 100009
SetMySettings.lua
To the SetMySettings.lua copy this text:
Lua Code:
EVENT_MANAGER:RegisterForEvent("SetMySettings", EVENT_ADD_ON_LOADED,
function(event, name)
if (name):find("^ZO_") then return end
EVENT_MANAGER:UnregisterForEvent("SetMySettings", event)
--Ability Bar: Don't Show
SetSetting(SETTING_TYPE_UI, UI_SETTING_SHOW_ACTION_BAR, ACTION_BAR_SETTING_CHOICE_OFF)
--Healthbars: OFF
SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_ALL_HEALTHBARS, "false")
--Group Members Indicators: OFF
SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_GROUP_INDICATORS, "false")
--Resurrectable Players Indicators: OFF
SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_RESURRECT_INDICATORS, "false")
--Followers Indicators: OFF
SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_FOLLOWER_INDICATORS, "false")
end)
Run the game and check the result. If you want to set any other settings using the addon, write me which option and what value it should have.
EDIT: I have attached file with the code above to this post.