Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flag filter #75

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Flag filter #75

wants to merge 10 commits into from

Conversation

ChrissW-R1
Copy link

@ChrissW-R1 ChrissW-R1 commented Jan 15, 2023

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
Copy link
Author

Solves #71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant