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:
@@ -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
|
||||
|
Reference in New Issue
Block a user