-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathconfig.example.json
39 lines (39 loc) · 1.72 KB
/
config.example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"debug": false,
"tileDirectory": "images/tiles",
"iconDirectory": "images/icons",
"showIdentifiers": false,
"groupPlayers": true, // Wether the map should group players together into "clusters" or not.
"defaults": { // If a server doesn't have the key-value set, it will fallback to these values
"ip": "127.0.0.1", // Make sure this is the PUBLIC IP of the FIVEM server
"socketPort": "30121" // Set to the port that you set in the "socket_port" convar (if different to the one in the config)
},
"servers": {
"Default server 1": {}, // The config values are above, no need to write them again
"Only IP changed": { // Only the IP is different for this server. So, change it
"ip": "192.168.1.2"
},
"Everything is different": {
"ip": "10.10.0.1",
"socketPort": "60121"
},
"Reverse Proxy Example": {
"reverseProxy": { // If you have knowledge on how to set up a "reverse proxy" for your webserver and want to keep the map on a secure connection, set the values below.
"socket": "wss://example.com", // The secure, proxied url for the socket connection
"blips": "https://example.com/server1/blips.json" // The secure, proxied url for the blip file
}
}
},
"maps": [
{
"name": "Normal",
"url": "{tileDirectory}/normal/minimap_sea_{y}_{x}.png",
"minZoom": -2 // Set lower to zoom out more
},
{
"name": "Postal",
"url": "{tileDirectory}/postal/minimap_sea_{y}_{x}.png",
"minZoom": -5 // Since this is 3 times bigger, just remove 3 from the default minZoom
}
]
}