summaryrefslogtreecommitdiff
path: root/docs/create-a-script.md
blob: 0ab40cd0c35b1583572fadf9aa59d2357d740c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Create a Script

# Script vs module

On AzerothCore, we don't really use the usual scripts like in other emulators. Instead, we work with modules which are way more practical to use. See [Create-a-Module](create-a-module)

# Scripts

You still want to make a simple script before switching to modules? Read below.

## How to learn

If you never made any script before, you can study some of the **[modules' scripts](https://www.azerothcore.org/catalogue/)**, compare, dissect etc... If you find some open issues, fix them to improve your skills!

## How to create a script from scratch

You can use this as a base: https://github.com/azerothcore/azerothcore-boilerplates

## How to add your custom script to AzerothCore

For your script to be compiled, read the README.md **[here](https://github.com/azerothcore/azerothcore-wotlk/blob/master/src/server/scripts/Custom/README.md)**