init.lua 313 B

123456789
  1. core.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. core.chat_send_player(player:get_player_name(), "This is the \"Development Test\" [devtest], meant only for testing and development.")
  7. end
  8. core.after(2.0, cb, player)
  9. end)