summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/client_lua_api.txt2
-rw-r--r--doc/lua_api.txt3
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt
index bdefa3af5..46b47d892 100644
--- a/doc/client_lua_api.txt
+++ b/doc/client_lua_api.txt
@@ -648,6 +648,8 @@ Call these functions only at load time!
* `minetest.register_globalstep(func(dtime))`
* Called every client environment step, usually interval of 0.1s
+* `minetest.register_on_mods_loaded(func())`
+ * Called just after mods have finished loading.
* `minetest.register_on_shutdown(func())`
* Called before client shutdown
* **Warning**: If the client terminates abnormally (i.e. crashes), the registered
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index b89ba47c6..d9cf96800 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2793,6 +2793,9 @@ Call these functions only at load time!
* `minetest.register_globalstep(func(dtime))`
* Called every server step, usually interval of 0.1s
+* `minetest.register_on_mods_loaded(func())`
+ * Called after mods have finished loading and before the media is cached or the
+ aliases handled.
* `minetest.register_on_shutdown(func())`
* Called before server shutdown
* **Warning**: If the server terminates abnormally (i.e. crashes), the