mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Implemented disconnect_player (#10492)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
This commit is contained in:
parent
c85aa0030f
commit
413be76c63
4 changed files with 22 additions and 8 deletions
|
@ -5741,6 +5741,10 @@ Bans
|
|||
* `minetest.kick_player(name, [reason])`: disconnect a player with an optional
|
||||
reason.
|
||||
* Returns boolean indicating success (false if player nonexistant)
|
||||
* `minetest.disconnect_player(name, [reason])`: disconnect a player with an
|
||||
optional reason, this will not prefix with 'Kicked: ' like kick_player.
|
||||
If no reason is given, it will default to 'Disconnected.'
|
||||
* Returns boolean indicating success (false if player nonexistant)
|
||||
|
||||
Particles
|
||||
---------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue