WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Placeholder for specific flags #71

@ChrissW-R1

Description

@ChrissW-R1

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions