Quantcast
Download
(48 Kb)
Download
Updated: 08/16/18 12:42 PM
Pictures
File Info
Compatibility:
Summerset (4.0)
Updated:08/16/18 12:42 PM
Created:05/27/18 12:46 PM
Monthly downloads:21
Total downloads:226
Favorites:4
MD5:
Categories:Developer Utilities, Utility Mods
New Addon
Version: 1.2
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.2
- Settings code is easier to modify and improved.

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 (2)
File Name
Version
Size
Author
Date
1.1
48kB
Phuein
06/09/18 01:08 AM
1.0
47kB
Phuein
05/27/18 12:46 PM


Post A Reply Comment Options
Unread 09/15/18, 10:31 PM  
Phuein
AddOn Author - Click to view AddOns

Forum posts: 47
File comments: 63
Uploads: 5
Originally Posted by RavenMind
Nice work! I've been thinking about learning LUA & trying my hand at addons, and this template looks to be very useful! Thank you for taking the time to post it!
I enjoy others' addons, so go ahead!
Report comment to moderator  
Reply With Quote
Unread 09/15/18, 12:14 AM  
RavenMind
 
RavenMind's Avatar

Forum posts: 0
File comments: 282
Uploads: 0
Nice work! I've been thinking about learning LUA & trying my hand at addons, and this template looks to be very useful! Thank you for taking the time to post it!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: