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

Placeholder for specific flags

Open ChrissW-R1 opened this issue 3 years ago • 0 comments

It might be very useful to show only specific flags on the map. On our servers, we use WorldGuard region for likely anything. So we have many regions with a huge stack of flags.

Here some example:

SampleRegion (Urando) - 0
Owners
g:builder
Members

Flags
enderdragon-block-damage: DENY
give-effects: [REGENERATION:(319t-x0)]
use-dripleaf: ALLOW
damage-animals: DENY
ravager-grief: DENY
lava-fire: DENY
ghast-fireball: DENY
lightning: DENY
chest-access: ALLOW
tnt: DENY
invincible: ALLOW
other-explosion: DENY
item-frame-rotation: DENY
deny-spawn: [minecraft:blaze, minecraft:pillager, minecraft:giant, minecraft:skeleton, minecraft:elder_guardian, minecraft:zoglin, minecraft:ravager, minecraft:ghast, minecraft:hoglin, minecraft:guardian, minecraft:vindicator, minecraft:zombie_horse, minecraft:magma_cube, minecraft:piglin_brute, minecraft:spider, minecraft:creeper, minecraft:wither, minecraft:evoker, minecraft:slime, minecraft:illusioner, minecraft:wandering_trader, minecraft:phantom, minecraft:zombified_piglin, minecraft:witch, minecraft:wither_skeleton, minecraft:husk, minecraft:ender_dragon, minecraft:shulker, minecraft:cave_spider, minecraft:piglin, minecraft:enderman, minecraft:silverfish, minecraft:stray, minecraft:endermite, minecraft:vex, minecraft:zombie, minecraft:drowned, minecraft:wolf, minecraft:zombie_villager]
vehicle-place: ALLOW
creeper-explosion: DENY
use: ALLOW
enderman-grief: DENY
entity-painting-destroy: DENY
chorus-fruit-teleport: DENY
ride: ALLOW
wither-damage: DENY
lighter: DENY
use-anvil: ALLOW
fire-spread: DENY
teleport: world, -80, 67, 266
interact: ALLOW
snowman-trails: DENY
entity-item-frame-destroy: DENY
vehicle-destroy: ALLOW
mob-damage: DENY
block-trampling: DENY
greeting-title: §9Welcome in Sample
enderman-teleport: DENY
firework-damage: DENY

This is nice for the builders and operator, but not for normal players. But there is only one placeholder %flags%, which give the whole list of flags. But it would be nice to have additional placeholders like this: %flag_use% which gives only the value of the flag "use".

ChrissW-R1 avatar May 11 '22 10:05 ChrissW-R1