Skip to content

Protection Flags

RedstoneFuture edited this page Jun 26, 2021 · 32 revisions

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.

Magnet

  • Command: /lwc flag magnet <"true" or "false"> or /cmagnet <"true" or "false">

  • Permission: lwc.flag.magnet

Redstone

By default this flag will disable redstone mechanics on the protections. The default behavior you can configurate in the core.yml:

protections:
    denyRedstone: true

The 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

Autoclose

  • Command: /lwc flag autoclose <"true" or "false"> or /cautoclose <"true" or "false">

  • Permission: lwc.flag.autoclose

Allowexplosions

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

Allowexplosions_Flag

Hopper flags

Hopper

By default, hoppers can not interact with protections to prevent griefing. The default behavior you can configurate in the core.yml:

protections:
    denyHoppers: true

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

Hopperin

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

Hopperin_Flag

Hopperout

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

Hopperout_Flag

Exemption

  • Permission: lwc.flag.exemption

Clone this wiki locally