minetest.register_on_newplayer

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

Description

Called after a new player has been created.

Example

minetest.register_on_newplayer(function(player)
	minetest.chat_send_player(player:get_player_name(), "Welcome new player!")
end)
Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox