Jump to content
Alloder.pro: about Allods with love
Search In
  • More options...
Find results that contain...
Find results in...

New program for writers

We turn from quantity to quality and tell you how we will supplement the Allods Team program with rewards in rubles.

More

The new Updater

Let us to introduce the new addon updater software and to share the details

Read more

Alloder 2.0

We have started the process of project evolve, and this relates not only, and not even primarily of the site's view

Read more

2 Screenshots

About This File

A simple addon to log events to chat or to the log file to help with development and API exploration. The parameters passed to the event can be printed as well.

The addon is configured using chat commands (see below for details). In the script file ( " EventLogger.lua") you can add events which should always be ignored (to prevent spamming). By default a few events are ignored, which I consider unimportant (check the file for yourself).

Chat commands:

[BOOLEAN] has to be either "on"/"true" to turn on, "off"/"false" to turn off,
          or nothing to toggle
          
"/el [BOOLEAN]" -- Enable/Disable this addon
"/elfilter [STRING]" -- Set/Reset filter string
"/elparams [BOOLEAN]" -- Enable/Disable logging of parameters
"/elchat [BOOLEAN]" -- Enable/Disable logging to chat
"/ellog [BOOLEAN]" -- Enable/Disable logging to log

Filter string:

By typing "/ elfilter YOUR_FILTER_STRING "  in chat, you can filter which events will be logged. You can use the ' | 'character (bar character) as an OR operator and lua pattern syntax  for more precise filtering. Letter case (capitalization) is ignored (So "unit", "UNIT", "Unit", "uNiT" are all the same).

Examples:
"/ elfilter unit" - only list events containing the word "unit".
"/ elfilter avatar | object" - only list events which either contain the word "avatar" or the event "object".

 

The events listened for are taken from  the official API documentation .

If anybody want to add some UI or anything else, feel free to do so and upload it.


What's New in Version 2.0.0   See changelog

Released

Added more features, chat commands and saving config

  • Thanks 1
 Share


User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use