From 5a0134e924f8e12da288fc6f08d20c31ead6c398 Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Sat, 10 Dec 2016 21:27:09 -0600 Subject: [PATCH] Update documentation --- doc/lua_api.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 62cd6bb46..d1468c417 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2129,6 +2129,13 @@ and `minetest.auth_reload` call the authetification handler. ### Chat * `minetest.chat_send_all(text)` * `minetest.chat_send_player(name, text)` +* `minetest.set_join_message(text)` + * Override player join message + * First `%s` found is replaced with player name +* `minetest.set_leave_message(text, timeout_append) + * Override player leave message + * First %s found is replaced with player name + * Optional second argument for time-out append. `(timed out)` by default ### Environment access * `minetest.set_node(pos, node)`