A simple utility for modpack makers that teleports the player to coordinates in a certain dimension when the sleep in a bed.
Note: Before you launch Minecraft, you should copy and paste this into a file called TeleSleep.json in the config folder.
Original demonstration and an example of the /reloadTeleSleep command.
Originally made for Tavinnea and DivineGaming, enjoy!