ALE API Documentation [-] [+]

Script your server in Lua.

ALE (AzerothCore Lua Engine) lets you hook the events of a running world - a player logging in, a creature dying, a table being loaded - and answer them in Lua. Add a command, give a creature new behaviour, patch a data table in memory. If the hook exists, you can script it.

Categories

Getting started

  1. 1 Clone AzerothCore, if you have not already.
  2. 2 From its modules directory, run
    git clone https://github.com/azerothcore/mod-ale.git mod-ale
  3. 3 Run CMake, then build. Your Lua scripts go in lua_scripts.

Support lives in the #ac-lua-engine channel of AzerothCore's Discord. If you would rather write typed code, there is eluna-ts.

Credits

Eluna

ALE is a fork of the Eluna Lua Engine. Nearly everything documented here started there. Our thanks to its authors and contributors.

This documentation

The generator was written by Patman64 and is maintained by the ALE team. Its search and page structure came from doc.rust-lang.org.