You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wiki/getting-started/ServerNetworks.md
+34-3Lines changed: 34 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,43 @@ same folder from them all (e.g. mounting a shared drive/folder). Either of them
28
28
- configure either the `storages/sql.conf` on all server to the same sql-server, or the `storages/file.conf` on
29
29
all server to the same (shared) folder
30
30
- configure all maps on all servers to use that storage
31
-
- choose one of those servers to be the server that will host the web-app. On this server:
32
-
create an extra map-config like [here: "Hosting static maps"]({{site.baseurl}}/wiki/getting-started/Configuration#hosting-static-maps) for each
33
-
map that is on the **other** servers
31
+
- choose one of those servers to be the server that will host the web-app.
32
+
**On this server:**create an extra map-config like [here: "Hosting static maps"]({{site.baseurl}}/wiki/getting-started/Configuration#hosting-static-maps) for each
33
+
map that is on the **other** servers. *(example below)*
34
34
35
35
Now the maps from the other servers should be visible on the web-app of this one server.
36
36
37
+
> #### Example
38
+
> Assuming your servers/maps look like this:
39
+
> ```
40
+
> server1/...
41
+
> s1_map1.conf
42
+
> s1_map2.conf
43
+
>
44
+
> server2/...
45
+
> s2_map1.conf
46
+
> s2_map2.conf
47
+
> ```
48
+
> the maps are all stored on the same database ...
49
+
> now if you want to see the maps from `server2` also on the webapp from `server1`, then you need to add these files:
50
+
> ```
51
+
> server1/...
52
+
> s1_map1.conf
53
+
> s1_map2.conf
54
+
> s2_map1.conf <<-
55
+
> s2_map2.conf <<-
56
+
>
57
+
> server2/...
58
+
> s2_map1.conf
59
+
> s2_map2.conf
60
+
> ```
61
+
> to your `server1` and the content of those two extra files should look like this:
62
+
> ```hocon
63
+
> storage: "sql"
64
+
> ```
65
+
> nothing else.
66
+
67
+
### Live updates
37
68
If you want to have live updating markers and player-markers on all maps, turn on the `write-markers-interval` and the
38
69
`write-players-interval` in each `plugin.conf` on the other servers.
39
70
**Or** if you plan on hosting the entire map with an external-webserver you can reverse-proxy each maps live-interface to the correct
0 commit comments