- Open
<server>/dynmap/custom-perspectives.txt - Below the line
perspectives:and add the following:
- class: org.dynmap.hdmap.IsoHDPerspective
name: nether_SE_map_hires
maximumheight: 256
minimumheight: 128
inclination: 30
scale: 16
azimuth: 135- name can be whatever we want. Later we will use it.
- maximumheight and minimumheight are self explanatory
- inclination is the angle, in degrees below horizontal, of the viewpoint for the map: 90 = top view, 0 = horizontal. With 30 we get a nice side view. If we want a Top view, we'll leave it in 90.
- scale is the scale or resolution used for rendering the scene, in pixels per block edge.
- azimut is the angle, in degrees clockwise from north, of the viewpoint for the map : 0 = north, 90 = east, 180 = south, 270 = west. For a South-East view, we'll leave it in 135.
- We save the file and restart the server.
- Run
dynmap pause all - In order to know the name of the nether map, we run
dmap worldlist. It should appear 3 and it should be the second one. Probably is called world_nether or DIM-1. Henceforth, we'll asume it is called world_nether - We have two options:
- (most likely) To add a new view to the nether map with the custom perspective we run
dmap mapadd world_nether:nether_roof_side title:"The Roof" perspective:nether_SE_map_hires - To change the perspective of an already existing view of the nether map, we run
dmap mapset world_nether:nether_roof_side perspective:nether_SE_map_hires
- (most likely) To add a new view to the nether map with the custom perspective we run
- To give a icon to our new view, we run
dmap mapset world_nether:nether_roof_side icon:images/block_other.png- In order to choose a custom icon, we save a 16x16px png image in
<server>/dynmap/web/imagesand re-run the previous command with the name of the image.
- In order to choose a custom icon, we save a 16x16px png image in
- Run
dynmap pause none - (not indispensable) To start a full render we run
dynmap fullrender world_nether:nether_roof_side - Profit
Sources: