PrismarineJS / mineflayer

Create Minecraft bots with a powerful, stable, and high level JavaScript API.
https://prismarinejs.github.io/mineflayer/
MIT License
4.96k stars 904 forks source link

Add plugin creation examples #1401

Closed TheDudeFromCI closed 3 years ago

TheDudeFromCI commented 3 years ago

Is your feature request related to a problem? Please describe.

Many new contributors want to create new plugins for Mineflayer, but are either unsure how to begin or use an unexpected format.

Describe the solution you'd like

Adding some example plugins in the examples folder might make it much easier for new contributors to create plugins using a predictable format.

Describe alternatives you've considered

N/A

Additional context

This should make it much clearer how plugins work and how plugins are expected to be loaded and operate.

This might also be a starting point for standardizing plugin metadata. (#1244)

rom1504 commented 3 years ago

A few more examples wouldn't hurt

rom1504 commented 3 years ago

done