aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/initial_message/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'games/minimal/mods/initial_message/init.lua')
-rw-r--r--games/minimal/mods/initial_message/init.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/minimal/mods/initial_message/init.lua b/games/minimal/mods/initial_message/init.lua
new file mode 100644
index 000000000..f92f4d3cf
--- /dev/null
+++ b/games/minimal/mods/initial_message/init.lua
@@ -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)