4.2 KiB
About
Eluna Lua Engine © is a lua engine embedded to World of Warcraft emulators. Eluna supports MaNGOS, CMaNGOS, TrinityCore and AzerothCore. We are currently working hard to make Eluna better from inside and outside.
If you are having trouble with installation or scripts, please feel free to open an issue. For documentation and reference see Eluna API (AC version) and Lua reference manual.
Community
You can join the official Eluna Discord server, where you'll be able to find resources, releases and support provided by the community:
The official Azerothcore Discord server offers a channel dedicated to lua development as well:
mod-eluna-lua-engine for AzerothCore
An Eluna module for AzerothCore.
How to install:
1) Download the sources
You can get the sources using git.
download with git
- open a terminal inside your
azerothcore-wotlkfolder - go inside the modules folder:
cd modules - download the module sources using:
git clone https://github.com/azerothcore/Eluna.git
2) Build
You need to run the cmake again and and rebuild the project.
Eluna API for AC: https://www.azerothcore.org/pages/eluna/index.html
Documentation
- Getting started
- Eluna features
- Function documentation (AC version)
- Hook documentation
- Lua reference manual
- Forum - support, releases, guides
- Example scripts
- Contributing
Links
Additions from Eluna/master
- Added HttpRequest method. https://github.com/azerothcore/Eluna/pull/2
- Added RegisterPlayerEvent 43:
OnBeforePetAddedToWorld()fires for pets and summoned creatures. https://github.com/azerothcore/Eluna/pull/3 - Added Chat-Handler methods to player events. https://github.com/azerothcore/Eluna/pull/23
- Exposed
ModifyThreatPct(). https://github.com/azerothcore/Eluna/pull/25
How to update the Eluna version (for project mainteners)
cdintomod-eluna-lua-enginegit checkout master- cd
LuaEngine git checkout mastergit pullcd ..so you get back tomod-eluna-lua-enginegit checkout -b some-new-unique-branch-namegit add LuaEnginegit commit -m "feat: update Eluna version"git push- The terminal will tell you something like
fatal: The current branch some-new-unique-branch-name has no upstream branch.and suggest the command to use, for example:git push --set-upstream origin some-new-unique-branch-name - Open the repo on Github and create a new PR
