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

Post Reply
User avatar
BrandonReese
Member
Posts: 839
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese
Location: USA

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

by BrandonReese » Post

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
Last edited by BrandonReese on Tue Oct 09, 2012 15:23, edited 1 time in total.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

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.

User avatar
BrandonReese
Member
Posts: 839
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese
Location: USA

by BrandonReese » Post

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.

User avatar
SegFault22
Member
Posts: 870
Joined: Mon May 21, 2012 03:17
Location: NaN

by SegFault22 » Post

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?
Resources are abundant; only money is scarce. People should not have to work hard and remain poor just to pay for the needs of survival.
Society can thrive without money - but only if productive members of society are rewarded for being productive.

User avatar
cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

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

User avatar
Pickles
New member
Posts: 4
Joined: Mon Jun 22, 2015 18:05
In-game: Pickles

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

by Pickles » Post

your ubunto link isnt working for me is there a github link maybe?

User avatar
Krock
Developer
Posts: 4577
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

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

by Krock » Post

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
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests