mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Improve register_on_leaveplayer documentation
This commit is contained in:
parent
71893807b3
commit
4c9be808a7
@ -5796,6 +5796,7 @@ Call these functions only at load time!
|
|||||||
* `last_login`: The timestamp of the previous login, or nil if player is new
|
* `last_login`: The timestamp of the previous login, or nil if player is new
|
||||||
* `minetest.register_on_leaveplayer(function(ObjectRef, timed_out))`
|
* `minetest.register_on_leaveplayer(function(ObjectRef, timed_out))`
|
||||||
* Called when a player leaves the game
|
* Called when a player leaves the game
|
||||||
|
* Does not get executed for connected players on shutdown.
|
||||||
* `timed_out`: True for timeout, false for other reasons.
|
* `timed_out`: True for timeout, false for other reasons.
|
||||||
* `minetest.register_on_authplayer(function(name, ip, is_success))`
|
* `minetest.register_on_authplayer(function(name, ip, is_success))`
|
||||||
* Called when a client attempts to log into an account.
|
* Called when a client attempts to log into an account.
|
||||||
|
Loading…
Reference in New Issue
Block a user