diff options
author | rubenwardy <rw@rubenwardy.com> | 2021-01-22 15:08:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 15:08:57 +0000 |
commit | 67aa75d444d0e5cfff2728dbbcffd6f95b2fe88b (patch) | |
tree | f3a2079a9b17056508e8197a701cf90447e4ea4b /doc | |
parent | 4fcd000e20a26120349184cb9d40342b7876e6b8 (diff) | |
download | minetest-67aa75d444d0e5cfff2728dbbcffd6f95b2fe88b.tar.gz minetest-67aa75d444d0e5cfff2728dbbcffd6f95b2fe88b.tar.bz2 minetest-67aa75d444d0e5cfff2728dbbcffd6f95b2fe88b.zip |
Use JSON for favorites, move server list code to Lua (#10085)
Co-authored-by: sfan5 <sfan5@live.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/menu_lua_api.txt | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index 1bcf697e9..db49c1736 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -253,32 +253,6 @@ Package - content which is downloadable from the content db, may or may not be i } -Favorites ---------- - -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_list = <array of clients/nil> - mods = <array of mods/nil> - }, - ... -} -core.delete_favorite(id, location) -> success - - Logging ------- |