Page 1 of 1

How does one set a fixed spawn point?

PostPosted: Thu May 10, 2012 16:37
by Jordach
ME and Redcrab are commiserating on how to set one, now, how do we?

PostPosted: Thu May 10, 2012 17:50
by Calinou
celeron55 had a mod on his server to have a fixed spawn point (it failed 1/2 of the time, though). Maybe ask him?

PostPosted: Thu May 10, 2012 18:17
by Jordach
I think the mod included with J4I's skyblock could hold the key.

PostPosted: Thu May 10, 2012 20:43
by sdzen
ive set it up on rays server tons of times!
want it?
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_on_respawnplayer(function(player)
    player:setpos({x=0, y=0, z=0})
    return true
end)

you can also replace on_respawnplayer to newplayer or dieplayer to set position for new players or on death there is a difference between respawn and death btw

PostPosted: Thu May 10, 2012 21:01
by Jordach
sdzen wrote:ive set it up on rays server tons of times!
want it?
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_on_respawnplayer(function(player)
    player:setpos({x=0, y=0, z=0})
    return true
end)

you can also replace on_respawnplayer to newplayer or dieplayer to set position for new players or on death there is a difference between respawn and death btw

the one in skyblock works for me. serious. we have made the pixel palace, where you Ask me to build the sprite, and you can watch me make it.