aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2017-06-03 14:39:49 -0400
committerShadowNinja <shadowninja@minetest.net>2017-06-03 14:39:49 -0400
commite4d3639d403f1d7cc4223bcca3816d8f19198cb6 (patch)
tree6ff1ea6c65c3512bf07ea21b07d06e16e8f46106
parentfe046fab8aa0bde610f8828fb1c3fc014cf7e193 (diff)
downloadminetest-e4d3639d403f1d7cc4223bcca3816d8f19198cb6.tar.gz
minetest-e4d3639d403f1d7cc4223bcca3816d8f19198cb6.tar.bz2
minetest-e4d3639d403f1d7cc4223bcca3816d8f19198cb6.zip
Update remove_player documentation
This function only removes player meta data, not player authentication data.
-rw-r--r--doc/lua_api.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 9bf0b551b..ddfd0c202 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2789,6 +2789,7 @@ These functions return the leftover itemstack.
* `minetest.get_server_status()`: returns server status string
* `minetest.get_server_uptime()`: returns the server uptime in seconds
* `minetest.remove_player(name)`: remove player from database (if he is not connected).
+ * Does not remove player authentication data, minetest.player_exists will continue to return true.
* Returns a code (0: successful, 1: no such player, 2: player is connected)
### Bans