Change Log 1.9.20
Fun little update this time around.
Dynmap Support!
This has been one that has been requested a fair bit over the past few years, and finally added now. You can display the fields on your Dynmap with a custom icon and name, as well as field type specific overrides for color and opacity
This requires a new flag
SHOW_ON_DYNMAP
And will require some config.yml changes as outlined below (copy and paste into your existing file)
Code (YAML):
# Dynmap Support
# enabled: true/false - If true, dynmap support is enabled if it exists on the server
# line_hex_color: This is the default color of the outline for domain fields
# fill_hex_color: This is the default color of the fill for domain fields
# fill_opacity: This is the opacity of the fill for domain fields, from 0.0 to 1.0 with higher being more opaque
# To get hex color codes, you can use a site such as https://htmlcolorcodes.com/
# show_marker: true/false - If true, will show a marker with the field name
# marker_icon: The icon to use for the field - the marker will always show at the block location
# To get valid icon names, see the Dynmap Wiki - https://github.com/webbukkit/dynmap/wiki/Using-Markers
dynmap:
enabled
: true
line_hex_color
: 8B589C
fill_hex_color
: F7E6FC
fill_opacity
: 0.5
show_marker
: true
marker_icon
: default
The notes in the config file should explain it, but briefly, this is the default for all fields that have the SHOW_ON_DYNMAP flag - the line hex color is the outline color, fill hex color is the shading color, and fill opacity is how see-through or not shading is. Show marker will display an icon where the block itself is, and will include the name of the field when hovered over (see the image above), and the marker icon is the icon being used, the full list of which can be pulled from the Dynmap Wiki
You can also add the following to each block yml file if you want to, but you do not HAVE to - if you don't, the defaults from config.yml will be used
Code (YAML):
# Dynmap Support
# These values are overrides from the entries in config.yml - If they are not included, the defaults will be used
# To disable the field from showing on Dynmap, remove the SHOW_ON_DYNMAP flag
# line_hex_color: This is the default color of the outline for domain fields
# fill_hex_color: This is the default color of the fill for domain fields
# fill_opacity: This is the opacity of the fill for domain fields, from 0.0 to 1.0 with higher being more opaque
# To get hex color codes, you can use a site such as https://htmlcolorcodes.com/
# show_marker: true/false - If true, will show a marker with the field name
# marker_icon: The icon to use for the field - the marker will always show at the block location
# To get valid icon names, see the Dynmap Wiki - https://github.com/webbukkit/dynmap/wiki/Using-Markers
dynmap:
line_hex_color
:
"FF9730"
fill_hex_color
:
"FCD1A5"
fill_opacity
: 0.4
show_marker
: true
marker_icon
:
"house"
As stated above, these are overrides - so if they exist, they will be used, if you leave them out, the defaults will be used. Don't forget to set the SHOW_ON_DYNMAP flag on each block type you want listed
Other Changes
Player interaction lookups have been cleaned up and no longer rely on version specific functions - this should make things a little more efficient
Cleaned up a bug where Vault wasn't installed was throwing a null error in console
As always - any issues or concerns, please reach out on Discord