mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Allow requesting reconnect when mods kick player (#14971)
This commit is contained in:
parent
b12e67699a
commit
38b4505ad7
7 changed files with 28 additions and 37 deletions
|
@ -6999,10 +6999,11 @@ Bans
|
|||
* Returns boolean indicating success
|
||||
* `minetest.unban_player_or_ip(ip_or_name)`: remove ban record matching
|
||||
IP address or name
|
||||
* `minetest.kick_player(name, [reason])`: disconnect a player with an optional
|
||||
* `minetest.kick_player(name[, reason[, reconnect]])`: disconnect a player with an optional
|
||||
reason.
|
||||
* Returns boolean indicating success (false if player nonexistent)
|
||||
* `minetest.disconnect_player(name, [reason])`: disconnect a player with an
|
||||
* If `reconnect` is true, allow the user to reconnect.
|
||||
* `minetest.disconnect_player(name[, reason[, reconnect]])`: 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 nonexistent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue