/mod-eluna

Eluna Lua Engine © for WoW Emulators

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Eluna

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:

logo mod-eluna for AzerothCore

  • Latest build status with azerothcore: Build Status

english | 中文说明 | Español

An Eluna module for AzerothCore.

How to install:

1) Download the sources

You can get the sources using git.

download with git

  1. open a terminal inside your azerothcore-wotlk folder
  2. go inside the modules folder: cd modules
  3. download the module sources using:
git clone https://github.com/azerothcore/mod-eluna.git mod-eluna

2) Build

You need to run the cmake again and rebuild the project.

Eluna API for AC: https://www.azerothcore.org/pages/eluna/index.html

Documentation

Links

Additions from Eluna/master

Player

  • 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() and Player:UpdatePlayerSetting(): azerothcore#125
  • Added Player:GetTrader(): azerothcore#126
  • Added Player:CanCompleteRepeatableQuest(questId): azerothcore#141
  • Added Player:CanRewardQuest(questId): azerothcore#141

Group

Unit

GameObject

  • Added GameObject:AddLoot() to add loot at runtime to an empty container: azerothcore#52

Object

Item

Misc