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

Recompile Plugins

znex

New Member
Joined
Jun 21, 2010
Messages
36
Reaction score
2
Hi

so a got i little problem recompiling plugins via code.
using styx.plugins.pluginmanager.reloadplugins() makes hb recompile and then disable all plugins.
is there any other way to do it/avoid that?
or even better: a way to recompile a certain plugin?

greetings
 
Hi

so a got i little problem recompiling plugins via code.
using styx.plugins.pluginmanager.reloadplugins() makes hb recompile and then disable all plugins.
is there any other way to do it/avoid that?
or even better: a way to recompile a certain plugin?

greetings

you're probably going to have to do from a new thread, especially if the plugins get are getting disabled. have the thread recompile, and enable all previously enabled plugins. never tried it though
 
Last edited:
looking at the api public static void RefreshPlugins(params string[ ] defaultEnabled)
I assume the string array holds the names of the plugins you want enabled
 
Back
Top