mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
doc/client_lua_api: Clarify how client side api and mods start (#8822)
This commit is contained in:
parent
c9ec1a8580
commit
5c97eeabac
@ -30,6 +30,16 @@ Startup
|
|||||||
Mods are loaded during client startup from the mod load paths by running
|
Mods are loaded during client startup from the mod load paths by running
|
||||||
the `init.lua` scripts in a shared environment.
|
the `init.lua` scripts in a shared environment.
|
||||||
|
|
||||||
|
In order to load client-side mods in a world, the following conditions need to be satisfied:
|
||||||
|
|
||||||
|
1) `$path_user/minetest.conf` contains the setting `enable_client_modding = true`
|
||||||
|
|
||||||
|
2) The client-side mod located in `$path_user/clientmods/<modname>` is added to
|
||||||
|
`$path_user/clientmods/mods.conf` as `load_mod_<modname> = true`.
|
||||||
|
|
||||||
|
Note: Depending on the remote server's settings, client-side mods might not
|
||||||
|
be loaded or have limited functionality. See setting `csm_restriction_flags` for reference.
|
||||||
|
|
||||||
Paths
|
Paths
|
||||||
-----
|
-----
|
||||||
* `RUN_IN_PLACE=1` (Windows release, local build)
|
* `RUN_IN_PLACE=1` (Windows release, local build)
|
||||||
|
Loading…
Reference in New Issue
Block a user