[Mod] Sethome using bed [sethome]

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

[Mod] Sethome using bed [sethome]

by amadin » Thu Dec 24, 2015 09:35

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
Last edited by amadin on Fri Oct 07, 2016 05:21, edited 17 times in total.
 

User avatar
cx384
Member
 
Posts: 249
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [Mod] Sethome for beds [sethome]

by cx384 » Thu Dec 24, 2015 19:00

Can your read this?
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: [Mod] Sethome for beds [sethome]

by benrob0329 » Thu Dec 24, 2015 19:08

Beds is included in MT Game as of 0.4.13
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [Mod] Sethome for beds [sethome]

by amadin » Thu Dec 24, 2015 19:23

Added information for support PilzAdam's beds mod.
 

blert2112
Member
 
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [Mod] Sethome for beds [sethome]

by blert2112 » Thu Dec 24, 2015 22:44


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.
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [Mod] Sethome for beds [sethome]

by amadin » Fri Dec 25, 2015 07:49

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.
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 45 guests

cron