Page 1 of 1

[Mod] Sethome using bed [sethome]

PostPosted: Thu Dec 24, 2015 09:35
by amadin
Teleporting player to a bed after writing in chat /home if player was slept in a bed before.

Download

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

Re: [Mod] Sethome for beds [sethome]

PostPosted: Thu Dec 24, 2015 19:00
by cx384

Re: [Mod] Sethome for beds [sethome]

PostPosted: Thu Dec 24, 2015 19:08
by benrob0329
Beds is included in MT Game as of 0.4.13

Re: [Mod] Sethome for beds [sethome]

PostPosted: Thu Dec 24, 2015 19:23
by amadin
Added information for support PilzAdam's beds mod.

Re: [Mod] Sethome for beds [sethome]

PostPosted: Thu Dec 24, 2015 22:44
by blert2112

It should be compatable with all those listed bed mods, they all save their data in the same way in a file of the same name and location. Is not surprising as they are all based on, or depend on, PilzAdam's original mod.

Re: [Mod] Sethome for beds [sethome]

PostPosted: Fri Dec 25, 2015 07:49
by amadin
PilzAdam's original mod use other file name "beds_player_spawns" instead of "beds_spawns" even if you change file name in source code it will don't work. So i added in readme.md information about work with PilzAdam's beds.