mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-11 04:15:25 +01:00
Replacement for Minimal Development Test (PR) (#9450)
This commit is contained in:
9
games/minimal/mods/initial_message/init.lua
Normal file
9
games/minimal/mods/initial_message/init.lua
Normal file
@@ -0,0 +1,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)
|
||||
Reference in New Issue
Block a user