aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLejo <Lejo_1@web.de>2020-05-01 16:47:17 +0200
committerGitHub <noreply@github.com>2020-05-01 16:47:17 +0200
commit74d9b6010fd42573d20cdbe78f7aaa07badfbf1b (patch)
treeb5ecae9e69bd6d282e528c57f185a3daca02ca84 /doc
parent3f275d799cdcd61928854bb98ca5eb74af22f31e (diff)
downloadminetest-74d9b6010fd42573d20cdbe78f7aaa07badfbf1b.tar.gz
minetest-74d9b6010fd42573d20cdbe78f7aaa07badfbf1b.tar.bz2
minetest-74d9b6010fd42573d20cdbe78f7aaa07badfbf1b.zip
Give the online lua mainmenu also the client_list and mods (#8691)
Diffstat (limited to 'doc')
-rw-r--r--doc/menu_lua_api.txt25
1 files changed, 14 insertions, 11 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt
index df6424ad7..8f5460acb 100644
--- a/doc/menu_lua_api.txt
+++ b/doc/menu_lua_api.txt
@@ -156,18 +156,21 @@ core.get_favorites(location) -> list of favorites (possible in async calls)
^ location: "local" or "online"
^ returns {
[1] = {
- clients = <number of clients/nil>,
- clients_max = <maximum number of clients/nil>,
- version = <server version/nil>,
- password = <true/nil>,
- creative = <true/nil>,
- damage = <true/nil>,
- pvp = <true/nil>,
- description = <server description/nil>,
- name = <server name/nil>,
- address = <address of server/nil>,
- port = <port>
+ clients = <number of clients/nil>,
+ clients_max = <maximum number of clients/nil>,
+ version = <server version/nil>,
+ password = <true/nil>,
+ creative = <true/nil>,
+ damage = <true/nil>,
+ pvp = <true/nil>,
+ description = <server description/nil>,
+ name = <server name/nil>,
+ address = <address of server/nil>,
+ port = <port>
+ clients_list = <array of clients/nil>
+ mods = <array of mods/nil>
},
+ ...
}
core.delete_favorite(id, location) -> success