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

enable/disable plugin on startup?

spice203

New Member
Joined
May 17, 2013
Messages
8
Reaction score
0
Hi,

it is possible, perhaps with an command line switch, to enable/disable plugins on startup`from honorbuddy?

Thanks for your help. :)
 
Hi,

it is possible, perhaps with an command line switch, to enable/disable plugins on startup`from honorbuddy?

Thanks for your help. :)
since they are stored in a file (%hb folder%\settings\%servername%\%charname%\charactersettings.xml -> search for <EnabledPlugins>
<Entry>Anti Drown</Entry>
<Entry>Refreshment Detection</Entry>
</EnabledPlugins>, you could switch / rename files with a script and then start honorbuddy.

i.e.

setup 1
rename filenormal -> file2
rename file1 -> filenormal
start honorbuddy

setup 2
rename filenormal -> file1
rename file2 -> filenormal
start honorbuddy

if its skipps on errors you have 2 shortscuts / .bat files and can start with the needed plugins

or if you need one plugin just sometimes i.e. for timber or trapping just make another honorbuddy folder and use it just for these cases.
 
Enable a plugin on hb start

or you can do this.

make a profile like this

Code:
<HBProfile>
	<!-- Sole purpose is to enable a plugin when started with Questing bot -->
	<Name>Enable Plugin</Name>
	<MinLevel>1</MinLevel>
	<MaxLevel>200</MaxLevel>
	
	<MinDurability>-1</MinDurability>
	<MinFreeBagSlots>-1</MinFreeBagSlots>

<QuestOrder>

<CustomBehavior File="EnablePlugin" Names="NameOfPlugin" />

</QuestOrder>
	
</HBProfile>

Then on your HB shortcut add the arguments like so: <PathToHonorbuddyExe>\Honorbuddy.exe /noupdate /autostart /loadprofile="<PathToEnablePluginProfile>\EnablePlugin.xml" /botname="Questing"

if you have multiple CustomClasses then you may want to add the /customclass="" argument as well (set it to Singular if having issues)

This will run the profile that enables your plugin and then stop, you can do what you want from there.

Reference: http://wiki.thebuddyforum.com/index.php?title=Honorbuddy:HelpDesk:"Command_line"_parameters
 
Last edited:
Back
Top