TownyAdvanced / MapTowny

A Towny add-on Bukkit plugin that enables towns to show up on a web-map.
MIT License
22 stars 18 forks source link

MapTowny town color does not update when changing town map color #42

Open zerenxyz opened 1 year ago

zerenxyz commented 1 year ago

Describe the Bug

I am using squaremap with MapTowny. When using /town set mapcolor blue it gives back the chat response that the town map color has been changed to blue, but the squaremap within the browser does not update to blue and stays the default colour.

Expected Behavior

The map border should update to the color set when using the command within 1 minute (but even after some time and server restart the color does not update)

Plugin Version

MapTowny: 2.1.0 (config-version: 1.0)

Towny Version

Towny: 0.98.6.2

Squaremap Version

squaremap-paper-mc1.19.3-1.1.10-SNAPSHOT+ed7ae67

Server Software Version

Pufferfish+ Build 41 - 1.19.3

Momshroom commented 1 year ago

I have this same issue on Pl3xMap. Using paper 43 (1.20.1) and Pl3xMap 1.20-441 MapTowny version 2.1.1, as compiled by Llmdl (from the Discord)

tskopen commented 1 year ago

Solution: In config change these values

Use specified nation color as the stroke color instead?

use-nation-color-stroke: true

Use specified town color as the fill color instead?

This option will take priority over the 'use-nation-color-fill' option if it is enabled.

use-town-color-fill: true

Use specified town color as the stroke color instead?

This option will take priority over the 'use-nation-color-stroke' option if it is enabled.

use-town-color-stroke: true