This repository has been archived by the owner on Jan 12, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 21
Live Map
Casper edited this page Aug 12, 2021
·
4 revisions
Q: How can I change the map files for the live map in SnailyCAD?
A:
-
First you'll need to extract your map files(.ytd) from OpenIV. Make sure they have the correct naming:
minimap_sea_0_0.png
minimap_sea_0_1.png
minimap_sea_1_0.png
minimap_sea_1_1.png
minimap_sea_2_0.png
minimap_sea_2_1.png
-
Navigate to the following folder:
public/tiles/
. -
Replace the corresponding files with your custom tiles.
-
All done! Restart the CAD and you should see your custom map.
First you need to install the livemap module!
Secondly you'll need to add these to your nginx configuration:
location /blips {
proxy_pass http://FiveMIP:livemap_port/blips;
}
location /ws {
proxy_pass http://fivemip:livemap_port/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
then inside of your cad settings under livemap url set this as the websocket: wss://example.com/ws
finally it should work!
If you don't understand any of these steps, please join our support guild