mirror of
https://github.com/minetest-mods/xban2.git
synced 2025-04-30 13:41:40 -04:00
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:
parent
d2cda4f73a
commit
94d62ce4be
1 changed files with 3 additions and 0 deletions
3
init.lua
3
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")
|
||||
|
|
Loading…
Add table
Reference in a new issue