mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 02:15:22 +02:00
Implemented disconnect_player (#10492)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
This commit is contained in:
@@ -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
|
||||
---------
|
||||
|
Reference in New Issue
Block a user