Open
Description
openedon Mar 27, 2024
Given the introduction of contextual MiniMessage parses, it would be nice to provide (perhaps in the builder?) a way to "filter" the tags. This would be left entirely up to the end user to implement, but the idea would be that we would allow a more "central" MiniMessage instance, with filtering done dynamically.
For example, it could look something like:
builder.dynamicTagFiltering(tagName, context -> context.targetAsType(Player.class).hasPermission("myplugin.tags." + tagName));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment