This commit is contained in:
Evgeny
2025-08-30 22:21:55 +02:00
parent fae2f5c96e
commit a374d9a3ef
29 changed files with 595 additions and 905 deletions

25
.github/README.md vendored Normal file
View File

@@ -0,0 +1,25 @@
# SKELETON - Module template
[English](README.md) | [Español](README_ES.md)
## How to create your own module
1. Use the script `create_module.sh` located in [`modules/`](https://github.com/azerothcore/azerothcore-wotlk/tree/master/modules) to start quickly with all the files you need and your git repo configured correctly (heavily recommended).
1. You can then use these scripts to start your project: https://github.com/azerothcore/azerothcore-boilerplates
1. Do not hesitate to compare with some of our newer/bigger/famous modules.
1. Edit the `README.md` and other files (`include.sh` etc...) to fit your module. Note: the README is automatically created from `README_example.md` when you use the script `create_module.sh`.
1. Publish your module to our [catalogue](https://www.azerothcore.org/catalogue.html).
## How to test your module?
Disable PCH (precompiled headers) and try to compile. To disable PCH, set `-DNOPCH=1` with Cmake (more info [here](http://www.azerothcore.org/wiki/CMake-options)).
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](https://www.azerothcore.org/wiki/How-to-create-a-PR) if that is the case.