jpenilla / squaremap-addons

Various addons for squaremap
12 stars 13 forks source link

[WorldGuard] Per-region UI options #56

Closed jpenilla closed 1 year ago

jpenilla commented 1 year ago

See the "Lvl 2" section of this issue #14 Also somewhat related: #47

VladOliinyk commented 1 year ago

Oh, I’d love to see this one comming! 🥵

jpenilla commented 1 year ago

image

config-version: 2
world-settings:
    default:
        # ...
        default-style:
            stroke:
                color: '#00ff00'
                weight: 1
                opacity: 1.0
            fill:
                color: '#00ff00'
                opacity: 0.2
            click-tooltip: <span style="font-size:120%;">{regionname}</span><br />Owner
                <span style="font-weight:bold;">{playerowners}</span><br />Flags<br
                /><span style="font-weight:bold;">{flags}</span>
        # ...
        style-overrides:
            test2:
                stroke:
                    color: '#FF0000'
                fill:
                    color: '#FF0000'