Skip to content
Browse files

Update remove_player documentation

This function only removes player meta data,
not player authentication data.
  • Loading branch information
ShadowNinja committed Jun 3, 2017
1 parent fe046fa commit e4d3639d403f1d7cc4223bcca3816d8f19198cb6
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit e4d3639

Please sign in to comment.