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

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

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

by BrandonReese » Tue Oct 09, 2012 15:21

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

by PilzAdam » Tue Oct 09, 2012 16:03

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: 836
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

by BrandonReese » Tue Oct 09, 2012 16:18

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

by SegFault22 » Tue Oct 09, 2012 22:39

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.
 

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

by cornernote » Wed Oct 10, 2012 00:59

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 » Fri Jul 10, 2015 18:05

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

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

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

by Krock » Sat Jul 11, 2015 09:08

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
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 


Return to Old Mods

Who is online

Users browsing this forum: No registered users and 27 guests

cron