Download
(7 Kb)
Download
Updated: 02/17/24 03:39 PM
Pictures
File Info
Compatibility:
Scions of Ithelia (9.3.0)
Endless Archive (9.2.5)
Updated:02/17/24 03:39 PM
Created:06/14/14 02:23 PM
Monthly downloads:31,108
Total downloads:1,168,556
Favorites:741
MD5:
9.3.0
LibHarvensAddonSettings  Popular! (More than 5000 hits)
Version: 1.9.1
by: Harven, votan
Description
With this addon you can create and add your addon settings to the common settings page. The functionality is similar to great Seerah's LibAddonMenu addon but it's written from scratch. The settings page can be found in Settings->Addons menu. When you open that menu you will see sorted addons names. Chosen addon setting will appear after clicking addon name. Main features:
- only one addon settings are visible at a time,
- no control is created when you define your addon settings to avoid "Too many anchors processed" error,
- controls are created when you select an addon,
- when you select another addon the controls are reused, so the number of controls will stay at decent level

Usage
Edit your addon manifest file and add following line:
Code:
## DependsOn: LibHarvensAddonSettings
Then take a look at this example addon:
lua: HarvensAddonSettingsExample.lua
manifest: HarvensAddonSettingsExample.txt

Version 1.9.1
- Fixed drop-downs get cut off.
- API bump for update 41.

Version 1.9.0
- Fixed dropdown with long text.
- Fixed sticky controls after

Version 1.8.0
- Fixed error caused by API change, e.g. Harven's Potion Alert.
- Code refactoring. Thanks to @Scootworks.

Version 1.7.5
- editcontrol: new parameters textType and maxChars (thanks to Scootworks),
- editcontrol: save value if you leave the control without pressing enter (thanks to Scootworks),
- bye bye LibStub

Version 1.7.4
- Fixed controls reanchoring to the top of the panel when used together with LAM

Version 1.7.3
- Changed the type of this addon to library,
- Made LibStub optional,
- Compatibility fixes to 100029 API

Version 1.0.7.2
- Lots of changes since last update ;)

Version 1.0.4
- Added support for default values and "Defaults" button handler,
- Settings controls can be enabled/disabled,
- Done some code refactoring,
- Support for optional "options" table as second parameter to LibHarvensAddonSettings:AddAddon(), see example addon.

Version 1.0.3
- Fixed exception caused by adding more than one addon with the same name,
- Colors are removed from addons names.

Version 1.0.2
- Made some fixes suggested by Garkin.

Version 1.0.1
- Removed whole .xml file because when used in more than one addon, virtual controls were redefined and ESO doesn't like it. Insted the controls are created inside the lua code (still using control pools).
Optional Files (0)


Archived Files (11)
File Name
Version
Size
Uploader
Date
1.9.0
7kB
votan
02/13/22 12:03 PM
1.8.0
7kB
votan
04/11/21 09:44 AM
1.7.5
6kB
Harven
03/25/20 03:49 AM
1.7.4
6kB
Harven
11/01/19 08:32 AM
1.7.3
6kB
Harven
10/31/19 03:42 PM
1.0.7.2
7kB
Harven
02/27/19 03:56 AM
1.0.4
7kB
Harven
06/19/14 03:39 PM
1.0.3
6kB
Harven
06/17/14 10:37 AM
1.0.2
6kB
Harven
06/15/14 10:51 AM
1.0.1
6kB
Harven
06/14/14 03:58 PM
1.0.0
6kB
Harven
06/14/14 02:23 PM


Post A Reply Comment Options
Unread 03/25/20, 12:05 PM  
CastorMatze
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 39
Uploads: 1
Re: Ditto

Originally Posted by Poalima
Originally Posted by sonwon
The newest version 1.7.5 breaks after talking to the banker, the 'escape key' no longer works. I rolled back to version 1.7.4 and all is good again.
Same Here
Report comment to moderator  
Reply With Quote
Unread 03/25/20, 10:52 AM  
Poalima

Forum posts: 2
File comments: 44
Uploads: 0
Ditto

Originally Posted by sonwon
The newest version 1.7.5 breaks after talking to the banker, the 'escape key' no longer works. I rolled back to version 1.7.4 and all is good again.
Report comment to moderator  
Reply With Quote
Unread 03/25/20, 09:34 AM  
Synozeer

Forum posts: 0
File comments: 27
Uploads: 0
Originally Posted by sonwon
The newest version 1.7.5 breaks after talking to the banker, the 'escape key' no longer works. I rolled back to version 1.7.4 and all is good again.
Having the same issue.
Report comment to moderator  
Reply With Quote
Unread 03/25/20, 09:11 AM  
sonwon

Forum posts: 0
File comments: 274
Uploads: 0
The newest version 1.7.5 breaks after talking to the banker, the 'escape key' no longer works. I rolled back to version 1.7.4 and all is good again.
Last edited by sonwon : 03/25/20 at 09:11 AM.
Report comment to moderator  
Reply With Quote
Unread 03/14/20, 11:53 PM  
Rock

Forum posts: 0
File comments: 3
Uploads: 0
outdated and confused

is this ever going to be fixed? I downloaded the AS to LAM adapter mod, but that doesn't work because it says it relies on this library. I am very confused on how to get this fixed.
Report comment to moderator  
Reply With Quote
Unread 11/01/19, 08:44 PM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1018
Uploads: 1
Perfect!

THank you all working fine, now, as before.

I know it was working fine without this lib, BUT i sincerely prefer it that way
Report comment to moderator  
Reply With Quote
Unread 10/22/19, 09:56 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1018
Uploads: 1
Originally Posted by jayman10000
The recent patch seems to have broken this library. Addons relying on it does not longer give access to addon settings from the ingame menu (Settings - Add-Ons). It just displays the text "addon settings are not currently available, please try again later". For example Votans Mininmap relies on this lib and so you cannot currently access Votans Minimap addon settings.
As i am not sure its an error but fear rather for an ESO new rules, you can in the meantime download this :

https://www.esoui.com/downloads/info...AMadapter.html

That will regroup all the Votan's addons settings into the one unique place settings/addOns in game, and you you will have access again to all votan's addons.

Dont forget to check allow outdated addons as one of the lib in this is outdated.

But at least you will be able to access your settings
Last edited by Anceane : 10/22/19 at 09:57 AM.
Report comment to moderator  
Reply With Quote
Unread 10/22/19, 09:08 AM  
jayman10000

Forum posts: 2
File comments: 160
Uploads: 0
The recent patch seems to have broken this library. Addons relying on it does not longer give access to addon settings from the ingame menu (Settings - Add-Ons). It just displays the text "addon settings are not currently available, please try again later". For example Votans Mininmap relies on this lib and so you cannot currently access Votans Minimap addon settings.
Last edited by jayman10000 : 10/22/19 at 09:09 AM.
Report comment to moderator  
Reply With Quote
Unread 10/11/19, 11:06 AM  
vecny.samotar
 
vecny.samotar's Avatar

Forum posts: 23
File comments: 552
Uploads: 0
I use several of your addons (I would like to mention Harven's AS to LAM adapter first). in the addon Harven's AS to the LAM adapter (addon info tab) you mentioned that you created a Harven's Addon Settings addon and I understand it should be an addon that links all your addons into one item and I could set up all your addons that I use but I have a problem that in settings => addons I do not have the item Harven's Addon Settings and your addons what I use are shown in settings => addons each addon has my own item so they are not affiliated to one addon as you have screen
Report comment to moderator  
Reply With Quote
Unread 11/09/14, 11:16 AM  
gillysan

Forum posts: 5
File comments: 124
Uploads: 0
I think I understand now, this is for addon authors. I'm not an addon author so I'll stick to bringing issues to the individual addons you have published. Thanks for the reply.
Report comment to moderator  
Reply With Quote
Unread 11/09/14, 05:10 AM  
Harven
 
Harven's Avatar
AddOn Author - Click to view AddOns

Forum posts: 135
File comments: 275
Uploads: 31
Hey gillysan,
These are instructions for addon authors. If you are here because some of my addons are broken with the new patch, then check them again because they are already updated.

Originally Posted by gillysan
Usage instructions need some clarifications....

"Inside your addon" does this mean the individual Harven's addon folders? If so, what about the Harven's folders that do not have a libs subfolder?

The txt file copy/paste portion is only needed if the above is true regarding the libs folder already present in the Harven's addons.

I am not at all sure what to do at this point. Do I copy this lua file to some folder? Do I copy/paste code inside this example.lua into the another lua file? If so, copy to beginning or end?
Report comment to moderator  
Reply With Quote
Unread 11/06/14, 11:17 AM  
gillysan

Forum posts: 5
File comments: 124
Uploads: 0
Usage instructions need some clarifications....

Copy "LibHarvensAddonSettings" folder content to "libs" folder inside your addon folder (excluding "LibHarvensAddonSettings.txt" file).
"Inside your addon" does this mean the individual Harven's addon folders? If so, what about the Harven's folders that do not have a libs subfolder?

The txt file copy/paste portion is only needed if the above is true regarding the libs folder already present in the Harven's addons.

Then take a look at this example addon:
I am not at all sure what to do at this point. Do I copy this lua file to some folder? Do I copy/paste code inside this example.lua into the another lua file? If so, copy to beginning or end?
Report comment to moderator  
Reply With Quote
Unread 11/04/14, 02:44 PM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1671
Uploads: 40
Hot Fix for Update 1.5.2

Originally Posted by Teryl
I got the following error this evening after installing eso 1.5.2 update


2014-11-04T20:15:10.139+12:00 |cff0000Lua Error: EsoUI/Common/ZO_Options/ZO_SharedOptions.lua:23: attempt to index a nil value
stack traceback:
EsoUI/Common/ZO_Options/ZO_SharedOptions.lua:23: in function 'ZO_SharedOptions:InitializeControl'
EsoUI/Common/ZO_Options/Keyboard/ZO_Options_Keyboard.lua:61: in function 'ZO_KeyboardOptions:InitializeControl'
EsoUI/Common/ZO_Options/Keyboard/ZO_Options_Keyboard.lua:98: in function 'ZO_OptionsWindow_InitializeControl'
user:/AddOns/HarvensPotionsAlert/libs/LHAS/LibHarvensAddonSettings.lua:628: in function 'AddonSettings:AddToOptionsPanel'
user:/AddOns/HarvensPotionsAlert/libs/LHAS/LibHarvensAddonSettings.lua:806: in function 'OptionsWindowFragmentStateChange'
EsoUI/Libraries/Utility/ZO_CallbackObject.lua:86: in function 'ZO_CallbackObject:FireCallbacks'
EsoUI/Libraries/ZO_Scene/ZO_Scene.lua:234: in function 'ZO_Scene:SetState'
EsoUI/Libraries/ZO_Scene/ZO_SceneManager.lua:113: in function 'ZO_SceneManager:ShowScene'
EsoUI/Libraries/ZO_Scene/ZO_SceneManager.lua:327: in function 'ZO_SceneManager:OnSceneStateChange'
EsoUI/Ingame/Scenes/IngameSceneManager.lua:221: in function 'ZO_IngameSceneManager:OnSceneStateChange'|r
** link removed by myself **
Harven has updated the library with help of Garkin already. If you still need an updated version, you can copy it from one of Harven's addons.
Last edited by votan : 11/07/14 at 05:04 AM.
Report comment to moderator  
Reply With Quote
Unread 06/19/14, 06:36 AM  
Harven
 
Harven's Avatar
AddOn Author - Click to view AddOns

Forum posts: 135
File comments: 275
Uploads: 31
Hey,
As you probably know, this library isn't just appearance changing replacement for LAM. I took different approach in creating controls (reusable controls) and control panels. I think it's better that way and some addon authos may agree and other may disagree so it's good to have some alternative (from dev point of view). Authors that will use my library (it will be probably just me ) can then write in thier addon description that users can get lam2has or has2lam to unify the appearance.

If I release just one addon - lam2has - there will be a little interest because settings menu appearance isn't that important and users will not understand the benefits gained from using that addon.
Report comment to moderator  
Reply With Quote
Unread 06/19/14, 01:43 AM  
Sasky
AddOn Author - Click to view AddOns

Forum posts: 231
File comments: 87
Uploads: 4
You're releasing 3 addons, lam2has, has2lam, and has.

Under this model, for it to be "users' choice", they have to install either lam2has or has2lam to have a unified menu. Otherwise their menus are split up. As well, there's no notificaiton in-game of how to fix this.

All I'm saying is why not just leave all the creation code in lam and just make a single lam2has addon?
Here the user's choice is simple: if they want HAS, they install that addon.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: