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: azerothcore#3 - Added
RegisterPlayerEvent
44
(PLAYER_EVENT_ON_LEARN_SPELL
): azerothcore#46 - Added
RegisterPlayerEvent
45
(PLAYER_ON_ACHIEVEMENT_COMPLETE
): azerothcore#47 - Added
RegisterPlayerEvent
46
(PLAYER_EVENT_ON_FFAPVP_CHANGE
): azerothcore#63 - Added
RegisterPlayerEvent
47
(PLAYER_EVENT_ON_UPDATE_AREA
): azerothcore#65 - Added
RegisterPlayerEvent
48
(PLAYER_EVENT_ON_CAN_INIT_TRADE
): azerothcore#83 - Added
RegisterPlayerEvent
49
(PLAYER_EVENT_ON_CAN_SEND_MAIL
): azerothcore#85 - Added
RegisterPlayerEvent
50
(PLAYER_EVENT_ON_CAN_JOIN_LFG
): azerothcore#86 - Added
RegisterPlayerEvent
51
(PLAYER_EVENT_ON_QUEST_REWARD_ITEM
): azerothcore#88 - Added
RegisterPlayerEvent
52
(PLAYER_EVENT_ON_CREATE_ITEM
): azerothcore#88 - Added
RegisterPlayerEvent
53
(PLAYER_EVENT_ON_STORE_NEW_ITEM
): azerothcore#88 - Added
RegisterPlayerEvent
54
(PLAYER_EVENT_ON_COMPLETE_QUEST
): azerothcore#90 - Added
RegisterPlayerEvent
55
(PLAYER_EVENT_ON_CAN_GROUP_INVITE
): azerothcore#100 - Added
RegisterPlayerEvent
56
(PLAYER_EVENT_ON_GROUP_ROLL_REWARD_ITEM
): azerothcore#119 - Added
RegisterPlayerEvent
57
(PLAYER_EVENT_ON_BG_DESERTION
): azerothcore#146 - Added
Player:GetMailCount()
: azerothcore#76 - Added
Player:GetXP()
: azerothcore#77 - Added
Player:GetAchievementCriteriaProgress()
: azerothcore#78 - Added vendor entry as argument to
Player:SendListInventory(object, vendorentry)
: azerothcore#48 - Added
Player:GetPlayerSettingValue()
andPlayer:UpdatePlayerSetting()
: azerothcore#125 - Added
Player:GetTrader()
: azerothcore#126 - Added
Player:CanCompleteRepeatableQuest(questId)
: azerothcore#141 - Added
Player:CanRewardQuest(questId)
: azerothcore#141 - Added
Player:SetGlyph(glyphId, slotIndex)
: azerothcore#152
- Added
Group:GetGroupType()
: azerothcore#82 - Added
Group:SetMemberFlag()
: azerothcore#102
- Added
Unit:ModifyThreatPct()
: azerothcore#25 - Added
Unit:GetAttackers()
: azerothcore#116 - Added
Unit:GetThreatList()
: azerothcore#117 - Added
Unit:GetUnitFlags()
: azerothcore#137 - Added
Unit:GetUnitFlagsTwo()
: azerothcore#137 - Added
Unit:SetUnitFlags(flags)
: azerothcore#137 - Added
Unit:SetUnitFlagsTwo(flags)
: azerothcore#137 - Added
Unit:SetSpeedRate(unitMoveType, speed)
: azerothcore#155 - Added
Unit:SetSpeedRate()
: azerothcore#155
- Added
GameObject:AddLoot()
to add loot at runtime to an empty container: azerothcore#52
- Added
Object:IsPlayer()
: azerothcore#42
- Added
Item:GetItemTemplate()
: azerothcore#84
- Added
HttpRequest()
: azerothcore#2 - Added
GetItemTemplate(itemEntry)
: azerothcore#84 - Added
ChatHandler
methods: azerothcore#23 - Added
ItemTemplate
methods: azerothcore#84 - Added
Roll
methods: azerothcore#119 - Added logging with
ELUNA_LOG_INFO
forRunCommand()
: azerothcore#75 - Added
GetOwnerHalaa
andSetOwnerHalaa
: azerothcore#79 - Added
WorldDBQueryAsync
,CharDBQueryAsync
andAuthDBQueryAsync
: azerothcore#113