WIth this mod you can create homes to teleport back to with just a simple command.
This is the command used to sethome, do command /sethome <name> to make a home where you are standing.
/home <name> will teleport you back to that home you made five seconds after the command. This gives you enough time to log out incase of a mistake.
This command allows you to delete a home previously made. This would be good for discarding the teleport to a random cave you wanted to explore.
This mod allows you to essentially create an infinite amount of homes. Don't worry about having to delete homes when you can simply have as many as you'd like.
You will need minecraft version 26.1, Fabric loader, and Fabric API in your mods folder, regardless of whether the mod is installed on the server or client.