Little things I'll add in my Addons :
First.. versioning, we all know that Firefox 3.6 was better than IE6/7/8 and VLC stayed too long as a 0.x software. Are you using svn/git revs?
Plus we got a good anchor to link our addon versioning : ESO Updates
So for me, 0.1, 0.2, 0.10.1.a-2-r12 ->
Justice-r1, Justice -r2, Justice-r3, ImperialCity-r1, etc.
It's also a great help to me because not all my addons got same original versioning.
We're a lot to handle an addon not originaly made by ourselves
As an exemple, the most downloaded addon Skyshard is at v1.7.8 and the most outdated popular addon, TreasureMaps (outdated since May 2014), is v1.95 ... - _ -
Agree or Not !
Then a little snippet of code I'll add inside my addons, especially if your addons is very downloaded :
Lua Code:
function pChat.onPlayerActivated()
pChat.outdatedWarning()
-- some code
end
function pChat.outdatedWarning()
if GetAPIVersion() ~= "100011" then
if not pChat.opts.outdatedflag then
-- pChat.opts is my ZO_SavedVars
CHAT_SYSTEM:AddMessage("Hello, it's " .. pChat.name .. ". It seems that you have not updated this Addon since few times. Please consider visit www.esoui.com to update your addon, Thank you.")
pChat.opts.outdatedflag = true
end
else
pChat.opts.outdatedflag = false
end
end
EVENT_MANAGER:RegisterForEvent(pChat.name, EVENT_PLAYER_ACTIVATED, pChat.onPlayerActivated)
It will show a message to encourage user to update when 100012 will pop (~ 6 Months)
Then, I'll change the raw value to the new one, etc