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.
This commit is contained in:
Zweihorn 2022-12-21 07:12:08 +01:00 committed by GitHub
parent d2cda4f73a
commit 94d62ce4be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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")