What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

What can a plugin do?

znuffie

Active Member
Joined
Feb 23, 2010
Messages
864
Reaction score
30
I'm want to know if a plugin can:

1. read styxsettings.xml
2. write styxsettings.xml
3. detect if you're a lifetime user
4. figure out how many sessions does the user have in use (1/3 shared etc.)
5. disable/enable other plugins
6. capture all the logging.write() calls
7.
 
1. Yes, couldn't be bothered to check if it's in the format the hb settings class reads, but if not just read it as a normal xml file.
2. See #1
3. Styx.StyxWoW.IsLifetimeUser
4. No api can currently do this, but you could possible parse log files and find this out.
5. Yes, iterate Styx.Plugins.PluginManager.Plugins and enable/disable the ones you want
6. Yes, public event Styx.Helpers.Logging.WriteDelegate Styx.Helpers.Logging.OnWrite
7. 42

Seriously, like 10 seconds in the object browser could've given you these answers....
 
Back
Top