Closed halkeye closed 11 years ago
I'll investigate potentially doing this. Meanwhile if you want this right now you can listen to "message" and use some regexes to figure out when players die.
I have decided that this would be useful, but it's not going to be in mineflayer core. A 3rd party plugin for this would be most welcome. It wouldn't be too hard - you'd pretty much listen to the message
event, use those regexes, and emit a new event.
I was looking at https://github.com/superjoe30/mineflayer/blob/master/doc/api.md#events
Most of the events are about the bot, not other things happening in the world.
Can you add an event for when other players die. Hopefully how they die as well?
Gavin