If the player has slept on the bed, by entering / home he will be teleported to this bed.
Download
https://notabug.org/Amadin/sethome
Usage: Go to sleep in the bed and you will can teleport to it by typing /home in chat.
Dependencies: beds (aviable by default)
Tested with "Beds" mod from minetest_game, "Mesh Beds", "Beds Plus" and PilzAdam's beds at minetest 0.4.12 and 0.4.13
If you want use PilzAdam's beds mod you must replace all code in init.lua by code from README.md
Credits: blert2112
Licence: LGPL 2.1