Commit Graph

12 Commits

Author SHA1 Message Date
jay
47a944fe2a fix: 🐛 compat: don't use ?. for compat with older node.js 2020-12-24 09:19:32 +05:00
jay
1a3c345017 chore: 🙈 ignore .env 2020-12-24 09:16:11 +05:00
jay
de0af4d2ac feat: 🚀 add and use dotenv-packed
Use dotenv for more convenient credential management
2020-12-24 08:52:50 +05:00
jay
73d5f43ad3 feat: actually enable mover and eater plugins 2020-12-23 13:28:34 +05:00
jay
b970231519 feat: add mover plugin
General purpose mover / goto plugin.
Replaces the old solver based `comehere` in miner.js.
Instead, directly based on mineflayer bot apis and pathfinder.
This makes it simpler and easier to debug.
While less general, pathfinder is sophisticated enough for most cases.

For anything that needs moving from point A to point B.
Such as:
- following
- go to a location

Not in scope: locations and places. Would be a separate plugin.
2020-12-22 15:38:45 +05:00
jay
787d08dd31 feat: add automatic eater plugin 2020-12-22 15:29:06 +05:00
jay
f8df1fa319 feat: update command plugin 2020-12-22 11:31:46 +05:00
jay
8eb6d790b0 feat: update sleeper 2020-12-22 11:31:06 +05:00
jay
5ead6b7267 feat: update miner 2020-12-22 11:30:16 +05:00
jay
149a01551c feat: update inventory 2020-12-22 11:29:31 +05:00
jay
b1f27f455d feat: update guard 2020-12-22 11:28:44 +05:00
jay
4f1e510386 feat: 🎉 init new repo
Dump of current working bot.

Warning: somewhat messy code! Lints haven't been run, no tests, etc.
2020-12-21 21:08:38 +05:00