-
Notifications
You must be signed in to change notification settings - Fork 0
Protection Flags
LWC has multiple protection flags which enhance similar block protections in very specific ways. You get the flag values of a block with the command /cinfo.
-
Command:
/lwc flag magnet <"true" or "false">or/cmagnet <"true" or "false"> -
Permission:
lwc.flag.magnet
By default this flag will disable redstone mechanics on the protections. The default behavior you can configurate in the core.yml:
protections:
denyRedstone: trueThe redstone flag either disables or enables redstone use on the protection.
-
Command:
/lwc flag redstone <"true" or "false">or/credstone <"true" or "false"> -
Permission:
lwc.flag.redstone
This flag allows to auto-close protected doors after a short time. If you have a double door (by default LWC open booth, if one's is protected) it's better to set these flag for also booth doors separately.
Note: The behavior of doors / douple doors you can configure in the
doors.ymlof LWC.
-
Command:
/lwc flag autoclose <"true" or "false">or/cautoclose <"true" or "false"> -
Permission:
lwc.flag.autoclose

By default, protected block get also destroy with explosions. With this flag you can prevent or allow the block destruction at explosions.
-
Command:
/lwc flag allowexplosions <"true" or "false">or/callowexplosions <"true" or "false"> -
Permission:
lwc.flag.allowexplosions

Note: The option
disable-move-eventin thepaper.ymlmust be set to "false". In some situations these paper option can be help to improve the performance and decrease lags by hopper actions. But the LWC hopper flags need this event to work.
By default, hoppers can not interact with protections to prevent griefing. The default behavior you can configurate in the core.yml:
protections:
denyHoppers: trueThe hopper prevention is not dependent on the gamemode, hopper slot or the fill item / his amount.
This flag sets the hopper behavior when they're built to insert / extract items from protected inventory blocks, such as chests.
Note: The "Hopperin" and "Hopperout" flag are childrends of the "Hopper" flag. Activate the behavior with a activation by one of them. Deactivate the behavior with a deactivation of the "Hopper" AND the "Hopperin" / "Hopperout" flag.
-
Command:
/lwc flag hopper <"true" or "false">or/chopper <"true" or "false"> -
Permission:
lwc.flag.hopper
This flag sets the hopper behavior when they're built to insert items from protected inventory blocks, such as chests.
Note: This flag is a child of the "Hopper" flag. Activate the behavior with a activation by one of them. Deactivate the behavior with a deactivation of the "Hopper" AND the "Hopperin" flag.
-
Command:
/lwc flag hopperin <"true" or "false">or/chopperin <"true" or "false"> -
Permission:
lwc.flag.hopperin

This flag sets the hopper behavior when they're built to extract items from protected inventory blocks, such as chests.
Note: This flag is a child of the "Hopper" flag. Activate the behavior with a activation by one of them. Deactivate the behavior with a deactivation of the "Hopper" AND the "Hopperout" flag.
-
Command:
/lwc flag hopperout <"true" or "false">or/chopperout <"true" or "false"> -
Permission:
lwc.flag.hopperout

-
Permission:
lwc.flag.exemption