summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt3
1 files changed, 3 insertions, 0 deletions
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