From 7cf413265bac7a596c96f0feca52c2fdfe50b0c9 Mon Sep 17 00:00:00 2001 From: Zweihorn <4863737+Zweihorn@users.noreply.github.com> Date: Wed, 21 Dec 2022 06:50:53 +0100 Subject: [PATCH] amend load print Add a final **print to log** at the end of `init.lua` to indicate themod was loaded successfully. This idea was derived from other mods which are specifically aimed at MT servers. This could be useful not only for player support (e.g. in the MT forum) but would be certainly useful for MT server admins using the CLI and reading their server logs. --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 2876876..cd732be 100644 --- a/init.lua +++ b/init.lua @@ -25,3 +25,6 @@ if minetest.get_modpath("default") then dofile(modpath .. "/crafting.lua") dofile(modpath .. "/aliases.lua") end + +-- print to log after mod was loaded successfully +print ("[MOD] MoreOres loaded")