Skip to content

Provider info_Creating your extention addon

hypernormalisation edited this page Jan 14, 2023 · 4 revisions

Step 1: Fork the Scambuster example repository

The first step is to make a fork of the repository at:

Call the repository something like Scambuster-[somename] where [somename] is descriptive of the community you are from.

Step 2: Configure your .toc (table of contents) file

It may be worth familiarising yourself with the TOC format before proceeding:

The requirements on a WoW addon specify that the parent addon folder, the .toc filename, and the addon name inside the .toc file should all share the same name.

As an example, for the Golemagg discord, our extension addon and its .toc file are located in the user's install like so:

Addons/Scambuster-Golemagg/Scambuster-Golemagg.toc

and the file contents are:

## Interface: 30400
## Title: Scambuster-Golemagg
## Notes: Extension for Scambuster packaging Golemagg realm data
## Author: Swedge
## Version: 1.0.0
## DefaultState: enabled
## Dependencies: Scambuster
## X-Curse-Project-ID: 809313

LibStub.lua
settings.lua
list.lua
core.lua

The important things are that Scambuster is included as a dependency, and that the order of .lua files laid out is not altered.

The line ## X-Curse-Project-ID: 809313 is used by the Bigwigs Packager to automatically publish the list to Curse, and contains the Curse project ID for the Golemagg addon. We'll cover that kind of automation later, but if you don't intend to use the packager you can safely leave it out.

With that completed, we'll move onto configuring your provider settings.

Clone this wiki locally