join a player on a server and get notified on events unfortunately mineflayer currently only supports <=1.20.1
- set
username
to your microsoft email (login is handled by mineflayer) - set
host
andport
- if you want to use the discord webhook functionality, add your webhook url in
webhook.url
. Ohterwise comment it out - there are two settings under
app
requireEmptyInventory
checks the inventory on join and disconnect if the bot's inventory is not emptysendEventsToDiscord
defines the events that are send to discord. Possible values:true
, which tells the bot to send the event as json file to the webhook- a fuction that takes the arguments from the event and returns a string or discord message payload