diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-12-11 17:33:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-11 17:33:44 +0100 |
commit | 308bb69eefdfb2ff3b893c124ccf0321d99a1bfd (patch) | |
tree | 80fa4808475690f80510dcd6779d671ddbbcbd84 /builtin | |
parent | 02cc257fe09ee0a68f3c09e0cbe48cbbda29a71c (diff) | |
download | minetest-308bb69eefdfb2ff3b893c124ccf0321d99a1bfd.tar.gz minetest-308bb69eefdfb2ff3b893c124ccf0321d99a1bfd.tar.bz2 minetest-308bb69eefdfb2ff3b893c124ccf0321d99a1bfd.zip |
CSM fixes: load mods after flavours & add flavour to block mod loading (#6738)
* CSM fixes: load mods after flavours & add flavour to block mod loading
* Don't permit to load mods twice
* Prepare builtin integrity global algorithm
* Add missing doc & use a nicer byteflag for LOAD_CLIENT_MODS flavour
* flag typo fix
* Invert CSM_FL_LOOKUP_NODES & CSM_FL_LOAD_CLIENT_MODS ids
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/settingtypes.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index fc628c88f..695c0b1d6 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1121,12 +1121,13 @@ server_side_occlusion_culling (Server side occlusion culling) bool true # Restricts the access of certain client-side functions on servers # Combine these byteflags below to restrict more client-side features: -# LOOKUP_NODES_LIMIT: 1 (limits get_node call client-side to csm_flavour_noderange_limit) +# LOAD_CLIENT_MODS: 1 (disable client mods loading) # CHAT_MESSAGES: 2 (disable send_chat_message call client-side) # READ_ITEMDEFS: 4 (disable get_item_def call client-side) # READ_NODEDEFS: 8 (disable get_node_def call client-side) +# LOOKUP_NODES_LIMIT: 16 (limits get_node call client-side to csm_flavour_noderange_limit) # type: int -csm_flavour_limits (Client side modding flavour limits) int 3 +csm_flavour_limits (Client side modding flavour limits) int 18 # If the CSM flavour for node range is enabled, get_node is limited to # this many nodes from the player. |