Quantcast
Download
(48 Kb)
Download
Updated: 06/09/18 01:08 AM
Pictures
File Info
Compatibility:
Summerset (4.0)
Updated:06/09/18 01:08 AM
Created:05/27/18 12:46 PM
Monthly downloads:40
Total downloads:161
Favorites:3
MD5:
Categories:Developer Utilities, Utility Mods
New Addon
Version: 1.1
by: Phuein [More]
This is not a game addon and it does nothing meaningful.

This is a template for new addons. I often use these features when making or upgrading an addon. It is inteded to be a "blank slate" to work with quickly and efficiently.

Included in this template are the following:
  • Manifest.
  • Keybinding.
  • LibStub & LibAddonMenu-2.0 with all the default menu options.
  • Multiple language support.
  • Chat output, an animated announcement (center), and an alert (top-right.)
  • A slash command: "/newaddon".
  • Colors.
  • XML UI elements.
  • Events handled: EVENT_ADD_ON_LOADED, EVENT_PLAYER_ACTIVATED, zo_callLater() [which uses RegisterForUpdate().]

More useful features can be added in time. I welcome all code input, improvements, and requests.

Writing addons shouldn't be about hunting for code online, but rather focusing on functionality and aesthetics.
1.1
- Bugfixes.
- Separated Settings menu to its own file.
- Changed some code format for readability.

1.0
- Core functionality for most addons. Full list in the description page.
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
1.0
47kB
Phuein
05/27/18 12:46 PM


There have been no comments posted to this file.
Be the first to add one.



Category Jump: