Skip to content

Instantly share code, notes, and snippets.

View Darthfett's full-sized avatar

Casey Kuball Darthfett

View GitHub Profile
@Darthfett
Darthfett / gist:4666616
Last active December 11, 2015 21:59
The new chat commands structure: You can now register to commands with spaces. One-word commands are run before 2+ word commands (e.g. handlers registered to "dig" would before handlers registered to "dig here").
commands = {
'dig': {
handlers: [
{
handler: someFunction,
minArgs: 0,
maxArgs: Infinity,
},
{
handler: anotherFunction,
@Darthfett
Darthfett / readme.md
Last active December 11, 2015 23:58 — forked from andrewrk/readme.md

based on mineflayer's api right now (0.0.19), and the existence of mineflayer-navigate, helper bot should be able to resurrect:

  • chat commands
  • navigator 3d
  • task manager
  • aliases
  • chat printer
  • connection notice
  • console
  • death notice