The mod is simple. Anytime someone you have kinned, or memorized as red appear, you will be hearthed automatically. Same thing goes for anyone who you may not have kinned. I added two options in the menu to disable those two options, so you can have it hearth only on red, or have it hearth only on unknown people appearing.
It is based off Ender's latest commit.
edit:
Added to ender's client. Visit his thread to get it.
viewtopic.php?f=27&t=14575&start=2160#p299755
For people who wish to see the source: https://github.com/algeralith/Haven-and ... d-by-Ender
Enjoy living =]