aboutsummaryrefslogtreecommitdiff
path: root/doc/client_lua_api.txt
diff options
context:
space:
mode:
authorcora <coradelamouche@gmx.ch>2023-06-15 20:15:17 +0200
committercora <coradelamouche@gmx.ch>2023-06-15 20:15:17 +0200
commit64e7dda46e9c8020a43a5e0f8032d4068628336b (patch)
treeb828573611448daae5a3085d2651100f6564ff19 /doc/client_lua_api.txt
parent7a59bcda75bcf29180072b026f438b56ce66dfbb (diff)
downloaddragonfireclient-64e7dda46e9c8020a43a5e0f8032d4068628336b.tar.xz
Add server info seed field to documentation
Diffstat (limited to 'doc/client_lua_api.txt')
-rw-r--r--doc/client_lua_api.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt
index 75e40945f..108cd2fa8 100644
--- a/doc/client_lua_api.txt
+++ b/doc/client_lua_api.txt
@@ -1639,7 +1639,8 @@ It can be created via `Raycast(pos1, pos2, objects, liquids)` or
address = "minetest.example.org", -- The domain name/IP address of a remote server or "" for a local server.
ip = "203.0.113.156", -- The IP address of the server.
port = 30000, -- The port the client is connected to.
- protocol_version = 30 -- Will not be accurate at start up as the client might not be connected to the server yet, in that case it will be 0.
+ protocol_version = 30, -- Will not be accurate at start up as the client might not be connected to the server yet, in that case it will be 0.
+ seed = 123 -- Map Seed of the current map
}
```