1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

CSM: add requested CSM_RF_READ_PLAYERINFO (#8007)

* CSM: add requested CSM_RF_READ_PLAYERINFO

This new CSM limit permit to limit PLAYERINFO read from server.

It affects get_player_names call
This commit is contained in:
Loïc Blot 2018-12-24 10:51:10 +01:00 committed by GitHub
parent 9080d7c990
commit a5197eaebc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 20 additions and 6 deletions

View file

@ -1468,8 +1468,9 @@
# READ_NODEDEFS: 8 (disable get_node_def call client-side)
# LOOKUP_NODES_LIMIT: 16 (limits get_node call client-side to
# csm_restriction_noderange)
# READ_PLAYERINFO: 32 (disable get_player_names call client-side)
# type: int
# csm_restriction_flags = 30
# csm_restriction_flags = 62
# If the CSM restriction for node range is enabled, get_node calls are limited
# to this distance from the player to the node.