mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-05 18:41:05 +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
|
@ -97,8 +97,8 @@ private:
|
|||
// unban_player_or_ip()
|
||||
static int l_unban_player_or_ip(lua_State *L);
|
||||
|
||||
// kick_player(name, [message]) -> success
|
||||
static int l_kick_player(lua_State *L);
|
||||
// disconnect_player(name, [reason]) -> success
|
||||
static int l_disconnect_player(lua_State *L);
|
||||
|
||||
// remove_player(name)
|
||||
static int l_remove_player(lua_State *L);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue