Marks an addon as enabled. The addon will remain inactive until the player logs out and back in or reloads the UI (see ReloadUI()).

Changes to the enabled/disabled state of addons while in-game are saved on a per-character basis.


See also Addon-related functions.

Signature:

EnableAddOn(index, "character") or EnableAddOn("name", "character")

Arguments:

  • index - The index of the addon to be enabled (number)
  • name - The name of the addon to be enabled (string)
  • character - The name of the character (without realm) whose setting to modify. Pass nil to apply to all characters on the current realm ('All' setting in default UI). (string)