init.lua 325 B

123456789
  1. minetest.register_on_joinplayer(function(player)
  2. local cb = function(player)
  3. if not player or not player:is_player() then
  4. return
  5. end
  6. minetest.chat_send_player(player:get_player_name(), "This is the \"Development Test\" [devtest], meant only for testing and development.")
  7. end
  8. minetest.after(2.0, cb, player)
  9. end)