By way of followup... the two key elements of the nUI6 info panel system are the EnablePlugin and SetContainer. You aren't guaranteed the order they will be called in, but once you have both, then you are all set. At that point you know that the addons are loaded, variables are loaded, the nUI6 frames have all been created, etc. So you should be able to access everything you need without having to use a lot of event handling. (which was kind of my goal).
The only other significant function you have to worry about is the ResizePlugin -- that will get called if/when the user is customizing their layout. It shouldn't get called otherwise.
The SetConfig() method will get called during the "PLAYER_LOGIN" event as well... it is guaranteed to be called before the first call to EnablePlugin is made.
In theory, you shouldn't have to use an event handler at all.
|