From a5197eaebc61ac6b555a640f36c0b427faef381d Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Mon, 24 Dec 2018 10:51:10 +0100 Subject: 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 --- doc/client_lua_api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index 3b6e1b25b..41560b983 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -763,7 +763,7 @@ Call these functions only at load time! ### Client Environment * `minetest.get_player_names()` - * Returns list of player names on server + * Returns list of player names on server (nil if CSM_RF_READ_PLAYERINFO is enabled by server) * `minetest.disconnect()` * Disconnect from the server and exit to main menu. * Returns `false` if the client is already disconnecting otherwise returns `true`. -- cgit v1.2.3