(API) GroupTab

  • plamzi
  • plamzi's Avatar Topic Author
  • Offline
  • Administrator
27 Mar 2014 17:16 #1 by plamzi
(API) GroupTab was created by plamzi
This module creates a tab inside ChatterBox (by default) that shows status bars for any number of characters:

The supported data source for this module is Aardwolf-style GMCP data sent inside a "group" object.

Optionally, you can display spell affects for the first entity in the GroupTab, which can be the player-controlled character. The format is given below, with the parameters "gives" and "to" being optional.
char.affs [{ "name": "armor", "duration": 16, "gives": -55, "to": "ARMOR" }]


titleSets the tab title. Default is "group".
idSets the id attribute of the GroupTab div. Default is "#group-tab".

    Config.GroupTab = new GroupTab();
    Event.listen('gmcp', Config.GroupTab.update);
    Event.listen('chatterbox_ready', Config.GroupTab.init);
The topic has been locked.