Dynmap-WorldGuard icon indicating copy to clipboard operation
Dynmap-WorldGuard copied to clipboard

Flag filter

Open ChrissW-R1 opened this issue 2 years ago • 1 comments

Added option to control the flags in popups by a new flag called dynmap-flags-filter. So you could control, which information are public on the online map.

Usage: The flag should contain a comma-separated (,) list of flags with the information to show it, separated by an colon (:). Eg.: dynmap-flags-filter=greeting:allow,farewell:deny, will show the greeting and hide the farewell flag.

Also some configuration options were added to control the behavior of this feature.

# Filter region flags in info window
flag-filter:
  # Enable the flag filter feature
  enable: true
  # Should the flags hidden by default
  hidden-by-default: false

If the configuration is not changed, everything remains consistent.

ChrissW-R1 avatar Jan 15 '23 21:01 ChrissW-R1

Solves #71

ChrissW-R1 avatar Jan 15 '23 21:01 ChrissW-R1