Defined file and fileformat for player spawns

User avatar
Echo
Member
 
Posts: 121
Joined: Tue Jul 31, 2012 08:11

Defined file and fileformat for player spawns

by Echo » Tue Nov 20, 2012 18:32

It could be useful that the players spawn-points are saved in a specific file in the worlds folder. So modder could rely on that file to save a spawn-position (like in some bed-mods) or read that position (like my compass mod).
Of cause the format in the file should be determined, too.

In "default" should be a function to set the players position on respawn if defined.
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Nov 21, 2012 06:03

I second. That would also mean there are no clashes in case several mods change spawn points.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 3 guests

cron