From 94d62ce4becaa3295d7bfa50c1351075e70ab9d1 Mon Sep 17 00:00:00 2001 From: Zweihorn <4863737+Zweihorn@users.noreply.github.com> Date: Wed, 21 Dec 2022 07:12:08 +0100 Subject: [PATCH] amend load print Add a final **print to log** at the end of `init.lua` to indicate the mod 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 certainly be 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 09385bd..aab863d 100644 --- a/init.lua +++ b/init.lua @@ -416,3 +416,6 @@ minetest.after(1, check_temp_bans) dofile(xban.MP.."/dbimport.lua") dofile(xban.MP.."/gui.lua") + +-- print to log after mod was loaded successfully +print ("[MOD] XBan2 loaded")