1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-17 18:35:20 +02:00

CSM/SSM: Add on_mods_loaded callback (#7411)

* CSM/SSM: Add on_mods_loaded callback
This commit is contained in:
Loïc Blot
2018-06-06 12:53:59 +02:00
committed by GitHub
parent a2de439a91
commit ccc3af128c
12 changed files with 50 additions and 0 deletions

View File

@@ -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