Zweihorn
88f02e2b6b
Print when the mod is loaded (#7)
* 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. * amend load print with extra compatibilty Unfortunately I do not know how to resolve a PR conversation with changing my own commit accordingly (yet). My prior PR was aiming at compatibilty with legacy clients and servers. If you scan the MT forum you will become aware that there seem to be quite many MT 0.4 servers around which are actively used by many players. I would like to continue in using the one load print for better compatibilty with legacy MT software in the field and would use the minetest.log for all other cases where applicable. However, the best solution may be this new piece of improved code, if I understand the MT Lua code correctly. * amend load print with improved compatibility This should be the more correct code now. Unfortunately I do not know how to resolve a PR conversation with changing my own commit accordingly (yet) or how to revoke a commit be GitHub web GUI. My prior PR was aiming at compatibilty with legacy clients and servers. If you scan the MT forum you will become aware that there seem to be quite many MT 0.4 servers around which are actively used by many players. I would like to continue in using the one load print for better compatibilty with legacy MT software in the field and would use the minetest.log for all other cases where applicable. However, the best solution may be this new piece of improved code, if I understand the MT Lua code correctly. * Apply suggestions from code review Co-authored-by: David Leal <halfpacho@gmail.com>
Library Mount
Made by blert2112.
Handed over to Panquesito7.
Current version: 1.3
Dependencies
default
(included in Minetest Game)player_api
(included in Minetest Game)
Optional dependencies
Requirements
- Version 1.0 for MT 0.4.14+
- Version 1.1 for MT 5.0.0+
License
Copyright (C) 2016 blert2112 and contributors
Copyright (C) 2019-2022 Panquesito7 (halfpacho@gmail.com) and contributors
Based on the Boats mod by PilzAdam.
See LICENSE.md
for information.
Installation
-
Unzip the archive, rename the folder to
lib_mount
and place it in../minetest/mods/
. -
GNU/Linux: If you use a system-wide installation, place it in
~/.minetest/mods/
. -
If you only want this to be used in a single world, place the folder in
worldmods/
in your world directory.
For further information or help, see:
http://wiki.minetest.net/Installing_Mods.
Bugs, suggestions, features & bugfixes
Report bugs or suggest ideas by creating an issue.
If you know how to fix an issue, consider opening a pull request.
Description
Languages
Lua
100%