aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/initial_message/init.lua
blob: f92f4d3cfd8a7d603b16685d3bce6835c761c911 (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 \"Minimal development Test\" [minimal], meant only for testing and development. Use Minetest Game for the real thing.")
	end
	minetest.after(2.0, cb, player)
end)