I have been working on supporting addons in the game. By allowing players to create addons, it opens up a lot of possibilities and can in fact improve the game experience. Because players might enjoy the information laid out differently, like a minimalist UI, or a more complex one, it is important to give them the space to change the interface.
The devlog video on this topic will be published soon at https://www.youtube.com/channel/UCyOt8sPTqNxRseUzpzUEQQg so stay tuned and hit subscribe + bell icon if you want to follow the devlog.
Lua was a natural choice, because it's a very popular scripting language for this purpose, it has a big community around it, and therefore it is easier to get help. It also makes it easier for existing addon creators to contribute in a familiar, established ground. So I set forth, and added support for basic addons, and currently this is what is supported:
- get player status (id, name, hp, max hp, energy, max energy)
- get target status
- register for experience gain event
- register for player status update
- register for target status update (including changing and clearing target)
- create basic UI elements, like containers, rectangle and labels
Now obviously, this does not allow for spectacular addons, so things for the near future:
- register for chat message events
- register for combat activity events
- register for quest activity events (accept, cancel, collect X, etc)
- allow use of textures in the UI elements
- clickable UI elements
- draggable UI elements
- drag spells into UI elements (for example, I want to revamp the action bars)
And there is a lot more to it. Here is a short piece of code for an example addon that will appear in the video:
And the resulting addon in the game:
Looking forward to have the support for addons more complete and see what comes out from addon creators.