Created Example configurations and demo website (markdown)

Sébastien 2022-11-28 23:04:04 +01:00
parent 3827b2d770
commit a1ff37d7f8

@ -0,0 +1,66 @@
# This page present the github repository and link to the demo website of DynMap
***
### Demo website
If you wonder what can dynmap looks like in term of rendering capabilities, there is only one address for this :
[DynMap example website](https://dynmap-setup.jurgenmk.nl/)
#### Navigate through the differents options on the right menu :
![image](https://user-images.githubusercontent.com/44590042/204385204-c51b3baa-19bb-4af8-9440-4c91fda598e5.png)
By letting your mouse cursor on any map type, you'll get his definition name, like this :
![image](https://user-images.githubusercontent.com/44590042/204385411-5d85f908-859b-40db-b1e3-a8dabb09932c.png)
With this specific name and also the section name, you'll be able to find the corresponding world configuration settings on the appropriate github repository, which we will look further into in the second part of this page.
***
### Example configurations
All the configurations of the above site is publicly available on the following github page ==> [Dynmap-setup GitHub](https://github.com/JurgenKuyper/Dynmap-setup/)
How to search for a settings you saw in the demo website ? that's fairly easy.
As an example, if we take the one in the above section, we want to get the configuration for the world "World-Lightings" with the map definition named "Surface-shadows-smooth".
First, open the file named [worlds.txt](https://github.com/JurgenKuyper/Dynmap-setup/blob/master/worlds.txt), then do a search for the world name, here "World-Lightings", you should only have one result.
As this stage, you arrive to the world definition, bellow will be all the statements for the differents map renders.
![image](https://user-images.githubusercontent.com/44590042/204389115-b4b4a375-ef0c-4114-b185-34dba8438a25.png)
Now, you can search for the map definition :
![image](https://user-images.githubusercontent.com/44590042/204389240-f21513b4-83f6-491d-80b1-a5569f65fda7.png)
You need to copy the whole "class: org.dynmap.hdmap.HDMap" section to your own world configuration file.
So, as the example, if you wished to get this configuration for your world named "OverworldOne", your configuration would looks like this :
```
worlds:
# Name is your map name (case sensitive)
- name: OverworldOne
# Title will be displayed on the right menu as the section title
title: "OverOne Render"
enabled: true
extrazoomout: 2
maps:
- class: org.dynmap.hdmap.HDMap
# Name has to be unique ! Not displayed
name: OOSurface
# Title will be displayed on mouse hovering the icon on the right menu
title: Surface-shadows-smooth
icon: images/block_world_surface.png
# Prefix has to be unique ! Not displayed
prefix: OOSurface
perspective: iso_SE_60_hires
shader: stdtexture
lighting: shadows-smooth
image-format: default
mapzoomin: 2
mapzoomout: 0
boostzoom: 0
append_to_world: ''
protected: false
```