Page 1 of 1

[Mod] Custom Player Spawn Points [0.1] [playerspawn]

PostPosted: Tue Oct 09, 2012 15:21
by BrandonReese
This is my first mod. It adds a block that when punched sets a new spawn point for the player. Then when the player dies instead of moving to the default spawn point, they move to the point that they punched the spawn point block. If they have not set a spawn point using a spawn block the default spawn behavior is used.

Spawn block crafting recipe:
stone, stone, stone
stone, steel ingot, stone
stone, stone, stone

Known issues:
Block is not diggable

Future:
Add a command to set custom spawn points for players w/o using the block
Different block texture

Code: LGPL
Textures: WTFPL

Mod dependencies: default

Download: http://ubuntuone.com/3zlKmd9bAtVK5MbJgRBubM

Image

PostPosted: Tue Oct 09, 2012 16:03
by PilzAdam
BrandonReese wrote:Future:
Add a command to set custom spawn points for players w/o using the block

There are many /sethome mods in the forum.

PostPosted: Tue Oct 09, 2012 16:18
by BrandonReese
PilzAdam wrote:
BrandonReese wrote:Future:
Add a command to set custom spawn points for players w/o using the block

There are many /sethome mods in the forum.


I hadn't seen any, I thought I was being original. Oh well it was good experience.

PostPosted: Tue Oct 09, 2012 22:39
by SegFault22
I hadn't seen any, I thought I was being original. Oh well it was good experience.

Maybe you can be the first to make a mod that allows more than one /sethome, and actually works instead of crashing upon setting home #2?

PostPosted: Wed Oct 10, 2012 00:59
by cornernote
BrandonReese wrote:I hadn't seen any, I thought I was being original. Oh well it was good experience.


Don't worry that similar mods already exist. None does exactly what yours does, so it's a welcome addition to the Minetest mods.

Now that you know of other similar mods, you can "borrow" some features of them to make yours better:

sethome - http://minetest.net/forum/viewtopic.php?id=741
home_gui - http://minetest.net/forum/viewtopic.php?id=3101

Re: [Mod] Custom Player Spawn Points [0.1] [playerspawn]

PostPosted: Fri Jul 10, 2015 18:05
by Pickles
your ubunto link isnt working for me is there a github link maybe?

Re: [Mod] Custom Player Spawn Points [0.1] [playerspawn]

PostPosted: Sat Jul 11, 2015 09:08
by Krock
Pickles wrote:your ubunto link isnt working for me is there a github link maybe?

Please don't bump 3 year old topics.
Check out multispawn, spawn command and set spawn