Updated Flags (markdown)

bloodmc 2020-05-09 18:00:55 -04:00
parent 66179d3bf6
commit 4fda30984d

@ -5,7 +5,7 @@ Default Flags can be overridden or per claim specific Flags can be used.
Using `/cf` Provides you a UI to edit the default flags for the claim you are in.
Flags do not apply to the owner of a claim, this includes Admins in Wilderness or Admin claims.
Use overrides if you want to force flags on all users in a claim type. Setting an override in the wilderness affects all claim types.
Use overrides if you want to force flags on all users in a claim type.
Note: Flag commands are just wrappers around LuckPerm's API. Everything set via GD flags, can be set directly using LP. See [Usage with LuckPerms](https://github.com/bloodmc/GriefDefender/wiki/Flags#usage-with-luckperms)
@ -28,7 +28,7 @@ Note: Flag commands are just wrappers around LuckPerm's API. Everything set via
| `<flag>` | The action or event to manage [`flag`](#available-flags) |
| `<target>` | What is to be affected by the action ie. `minecraft:dirt`. Use `any` or `modid:any` as wildcard.|
| `<value>` | Whether to allow, deny or remove the flag `false\|undefined\|true` , instead of `undefined` you can use `0` |
| `context[key=value]`| Optional current contexts:<br>`override=type` will apply it to all claims of that type<br>Note: Using override in wilderness will apply to ALL claim types.<br>`default` will set as default for type you're standing in so all newly created claims will get that flag<br>`source` what triggers the flag ie. `minecraft:player`<br>`used_item` The used item of player<br>Ex. `/cf entity-damage pig false context[used_item=diamond_sword, override=basic]` This would deny damage to a pig only when a diamond sword is used in a basic claim|
| `context[key=value]`| Optional current contexts:<br>`override=type` will apply it to all claims of that type.<br>`default` will set as default for type you're standing in so all newly created claims will get that flag<br>`source` what triggers the flag ie. `minecraft:player`<br>`used_item` The used item of player<br>Ex. `/cf entity-damage pig false context[used_item=diamond_sword, override=basic]` This would deny damage to a pig only when a diamond sword is used in a basic claim|
## Contexts