Darthfett / helperbot

A mineflayer bot that helps you do things in minecraft.
57 stars 14 forks source link

miner plugin: high-efficiency automatic miner #22

Closed andrewrk closed 11 years ago

andrewrk commented 11 years ago

I also silenced navigator3d a little bit and fixed a blockFinder bug. Depends on latest mineflayer and mineflayer-navigate.

Darthfett commented 11 years ago

He seems to consistently get stuck in the equipTool state, and no amount of restarting him seems to work (I've only had success with killing him and giving him new tools).

Can you fix this, and also remove the debug stuff from the console?

andrewrk commented 11 years ago

I fixed it on the subway :D it was a mineflayer bug. Yeah i'll delete the log statements

Darthfett commented 11 years ago

For 0.0.4, I am now going to also request a help statement for all the commands. Is there any chance you could also use the new responderFunc function passed to chatCommand handlers to respond to the user, instead of bot.chat?:

Here's the general syntax for adding help

chatCommands.addCommandHelp('stop', "'stop' - Make the bot stop doing everything.");

Here's the general syntax for using the new responderFunc:

chatCommands.registerCommand('stop', function(username, args, responderFunc) {
    responderFunc('Stopping!');
}, 0, 0);
Darthfett commented 11 years ago

Merged in, pretty awesome plugin, thanks!! :D