• Visit Rebornbuddy
  • enable/disable plugin on startup?

    Discussion in 'Honorbuddy Forum' started by spice203, Apr 10, 2015.

    1. spice203

      spice203 New Member

      Joined:
      May 17, 2013
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      0
      Hi,

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

      Thanks for your help. :)
       
    2. bl4ck

      bl4ck Member

      Joined:
      Aug 18, 2011
      Messages:
      976
      Likes Received:
      6
      Trophy Points:
      18
      What bot you use?
       
    3. blablub

      blablub New Member

      Joined:
      Dec 1, 2012
      Messages:
      809
      Likes Received:
      4
      Trophy Points:
      0
      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.
       
    4. spice203

      spice203 New Member

      Joined:
      May 17, 2013
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      0
      great news. i will check :)
       
    5. judgedread

      judgedread New Member

      Joined:
      Sep 12, 2012
      Messages:
      152
      Likes Received:
      2
      Trophy Points:
      0
      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: Oct 4, 2015

    Share This Page