Dominik Madarász c1464c55e1 | ||
---|---|---|
.github | ||
apps | ||
conf | ||
data | ||
src | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
include.sh | ||
pull_request_template.md |
.github/README.md
SKELETON - Module template
How to create your own module
- Use the script
create_module.sh
located inmodules/
to start quickly with all the files you need and your git repo configured correctly (heavily recommended). - You can then use these scripts to start your project: https://github.com/azerothcore/azerothcore-boilerplates
- Do not hesitate to compare with some of our newer/bigger/famous modules.
- Edit the
README.md
and other files (include.sh
etc...) to fit your module. Note: the README is automatically created fromREADME_example.md
when you use the scriptcreate_module.sh
. - Publish your module to our catalogue.
How to test your module?
Disable PCH (precompiled headers) and try to compile. To disable PCH, set -DNOPCH=1
with Cmake (more info here).
If you forgot some headers, it is time to add them!
Licensing
The default license of the skeleton-module template is the MIT but you can use a different license for your own modules.
So modules can also be kept private. However, if you need to add new hooks to the core, as well as improving existing ones, you have to share your improvements because the main core is released under the AGPL license. Please provide a PR if that is the case.