Quick Description
This addon allows you to associate your addons to custom categories.
Each categories can be reordered like you would like.
Categories
There is already some categories created :
User Interface, Trackers, Combat, PvE, PvP, Util, Craft, Housing, Map, Class
You can create how many new categories that you want.
AddonCategory also have some addons already put into categories.
For Authors
You can assign your own addon to a category if the addon doesn't already have a category linked to it.
Exemple if you want to set your addon's category "Combat" :
Lua Code:
--Add this to your OnAddOnLoaded function
if AddonCategory then
AddonCategory.AssignAddonToCategory(addonName, AddonCategory.baseCategories.Combat)
end
AddonCategory.baseCategories is :
Lua Code:
AddonCategory.baseCategories = {
UserInterface = "User Interface",
Trackers = "Trackers",
Combat = "Combat",
PvE = "PvE",
PvP = "PvP",
Util = "Util",
Craft = "Craft",
Housing = "Housing",
Map = "Map",
Class = "Class",
}
Let me know if there is any bugs !
Big thanks to
MrPikPik and
andy.s for helping me when i started developing this addon.