aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/initial_message/init.lua
blob: 59e9f5f4b3e92a87a60d75e4cfb64c6a3bf0ff52 (plain)
1
2
3
4
5
6
7
8
9
minetest.register_on_joinplayer(function(player)
	local cb = function(player)
		if not player or not player:is_player() then
			return
		end
		minetest.chat_send_player(player:get_player_name(), "This is the \"Development Test\" [devtest], meant only for testing and development. Use Minetest Game for the real thing.")
	end
	minetest.after(2.0, cb, player)
end)