[Discussion] Log after loading mods [Closed]
Hello everyone!
Should mods print some message after loading?
Example:
We should decide wether all mods should use this.
Result:
If "log_mods" in minetest.conf is set to true the mods will log that they have loaded.
Example code:
Should mods print some message after loading?
Example:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.log("action", "[modname] loaded")
We should decide wether all mods should use this.
Result:
If "log_mods" in minetest.conf is set to true the mods will log that they have loaded.
Example code:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
if minetest.setting_get("log_mods") then
minetest.log("action", "default loaded")
end