mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
CSM/SSM: Add on_mods_loaded callback (#7411)
* CSM/SSM: Add on_mods_loaded callback
This commit is contained in:
parent
a2de439a91
commit
ccc3af128c
12 changed files with 50 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue