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.
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:
An Eluna module for AzerothCore.
You can get the sources using git.
- open a terminal inside your
azerothcore-wotlk
folder - go inside the modules folder:
cd modules
- download the module sources using:
git clone https://github.com/azerothcore/mod-eluna.git mod-eluna
You need to run the cmake again and rebuild the project.
Eluna API for AC: https://www.azerothcore.org/pages/eluna/index.html
- Getting started
- Eluna features
- Function documentation (AC version)
- Hook documentation
- Lua reference manual
- Forum - support, releases, guides
- Example scripts
- Contributing
- Added
RegisterPlayerEvent
43
(PLAYER_EVENT_ON_PET_ADDED_TO_WORLD
) fires for pets and summoned creatures: #3 - Added
RegisterPlayerEvent
44
(PLAYER_EVENT_ON_LEARN_SPELL
): #46 - Added
RegisterPlayerEvent
45
(PLAYER_ON_ACHIEVEMENT_COMPLETE
): #47 - Added
RegisterPlayerEvent
46
(PLAYER_EVENT_ON_FFAPVP_CHANGE
): #63 - Added
RegisterPlayerEvent
47
(PLAYER_EVENT_ON_UPDATE_AREA
): #65 - Added
RegisterPlayerEvent
48
(PLAYER_EVENT_ON_CAN_INIT_TRADE
): #83 - Added
RegisterPlayerEvent
49
(PLAYER_EVENT_ON_CAN_SEND_MAIL
): #85 - Added
RegisterPlayerEvent
50
(PLAYER_EVENT_ON_CAN_JOIN_LFG
): #86 - Added
RegisterPlayerEvent
51
(PLAYER_EVENT_ON_QUEST_REWARD_ITEM
): #88 - Added
RegisterPlayerEvent
52
(PLAYER_EVENT_ON_CREATE_ITEM
): #88 - Added
RegisterPlayerEvent
53
(PLAYER_EVENT_ON_STORE_NEW_ITEM
): #88 - Added
RegisterPlayerEvent
54
(PLAYER_EVENT_ON_COMPLETE_QUEST
): #90 - Added
RegisterPlayerEvent
55
(PLAYER_EVENT_ON_CAN_GROUP_INVITE
): #100 - Added
RegisterPlayerEvent
56
(PLAYER_EVENT_ON_GROUP_ROLL_REWARD_ITEM
): #119 - Added
RegisterPlayerEvent
57
(PLAYER_EVENT_ON_BG_DESERTION
): #146 - Added
Player:GetMailCount()
: #76 - Added
Player:GetXP()
: #77 - Added
Player:GetAchievementCriteriaProgress()
: #78 - Added vendor entry as argument to
Player:SendListInventory(object, vendorentry)
: #48 - Added
Player:GetPlayerSettingValue()
andPlayer:UpdatePlayerSetting()
: #125 - Added
Player:GetTrader()
: #126 - Added
Player:CanCompleteRepeatableQuest(questId)
: #141 - Added
Player:CanRewardQuest(questId)
: #141 - Added
Player:SetGlyph(glyphId, slotIndex)
: #152
- Added
Unit:ModifyThreatPct()
: #25 - Added
Unit:GetAttackers()
: #116 - Added
Unit:GetThreatList()
: #117 - Added
Unit:GetUnitFlags()
: #137 - Added
Unit:GetUnitFlagsTwo()
: #137 - Added
Unit:SetUnitFlags(flags)
: #137 - Added
Unit:SetUnitFlagsTwo(flags)
: #137 - Added
Unit:SetSpeedRate(unitMoveType, speed)
: #155 - Added
Unit:SetSpeedRate()
: #155
- Added
GameObject:AddLoot()
to add loot at runtime to an empty container: #52
- Added
Object:IsPlayer()
: #42
- Added
Item:GetItemTemplate()
: #84
- Added
HttpRequest()
: #2 - Added
GetItemTemplate(itemEntry)
: #84 - Added
ChatHandler
methods: #23 - Added
ItemTemplate
methods: #84 - Added
Roll
methods: #119 - Added logging with
ELUNA_LOG_INFO
forRunCommand()
: #75 - Added
GetOwnerHalaa
andSetOwnerHalaa
: #79 - Added
WorldDBQueryAsync
,CharDBQueryAsync
andAuthDBQueryAsync
: #113