summaryrefslogtreecommitdiff
path: root/modules/how_to_make_a_module.md
blob: 52db7a86cff327f62d7ff87232e6f2b5af3a91b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# CREATE A NEW AZEROTHCORE MODULE

1) Read this page first:

http://www.azerothcore.org/wiki/Create-a-Module


2) Run the script `create_module.sh`:
- If you're on windows, execute it with Git Bash (right click on it and choose Git bash) if you have installed Git extensions
- If you're on linux, just run it with bash or with ./create_module.sh

This script will create the base of your module, with a clean history and add a git configuration option to this repository only (local config).


NOTE: You can also clone our skeleton-module manually, clean the history, and configure but you should use the script instead https://github.com/azerothcore/skeleton-module/


3) Share it with the community!

Join us on our discord, share it there, then we might fork it officially and it will appear in the module catalogue.

Note: For Advanced CMake implementations a <ModuleName>.cmake file in your module folder will be included in the config of Modules if it exists. See: ./CMakeList.txt around line #290