aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2018-07-19 03:58:48 +0100
committerGitHub <noreply@github.com>2018-07-19 03:58:48 +0100
commit4b36a39d37aa7abfdc531dbc1afbac16952a8fdd (patch)
tree84c138f3073c1020e593cacdf618db340d9b9978 /builtin
parentbc9bb63aed82fb98eeab641eb8515c4cc1779230 (diff)
downloadminetest-4b36a39d37aa7abfdc531dbc1afbac16952a8fdd.tar.gz
minetest-4b36a39d37aa7abfdc531dbc1afbac16952a8fdd.tar.bz2
minetest-4b36a39d37aa7abfdc531dbc1afbac16952a8fdd.zip
CSM: Disallow exploitable clientside mod functions by default (#7547)
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index d969799ce..40c4e8b16 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -1130,17 +1130,17 @@ block_send_optimize_distance (Block send optimize distance) int 4 2
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:
+# Combine these byteflags below to restrict client-side features:
# 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_restriction_noderange)
-csm_restriction_flags (Client side modding restrictions) int 18
+csm_restriction_flags (Client side modding restrictions) int 30
# If the CSM restriction for node range is enabled, get_node calls are limited
# to this distance from the player to the node.
-csm_restriction_noderange (Client side node lookup range restriction) int 8
+csm_restriction_noderange (Client side node lookup range restriction) int 0
[*Security]