static_spawnpoint = x,y,z/set static_spawnpoint x,y,zbrunob.santos wrote:I want a message to appear when the player first enters the server. Is there any mod for that?
minetest.register_on_newplayer(function(player)
minetest.chat_send_all(player:get_player_name() .. " is new, say "Hello!"")
end)
Mossmanikin wrote:I'm not sure how exactly this mod works (never tested it), but maybe this one is what you're looking for.
Menche wrote:You can set the spawnpoint with this setting: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
static_spawnpoint = x,y,z
Put that in minetest.conf or runYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.in game.
- Code: Select all
/set static_spawnpoint x,y,z
Darkbee wrote:Menche wrote:You can set the spawnpoint with this setting: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
static_spawnpoint = x,y,z
Put that in minetest.conf or runYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.in game.
- Code: Select all
/set static_spawnpoint x,y,z
So is the static_spawnpoint is global for all worlds, or is it world specific if you do it in-game?
Users browsing this forum: No registered users and 6 guests