Configuration - Hidendra/LWC GitHub Wiki

LWC Configuration

###This is the LWC configuration file. Be sure not to touch what you're not sure about, and make sure you use spaces, not tabs.

core

  • locale: (default: de) Locale.
  • cacheSize: (default: 10000)
  • precache: (default: -1)
  • showNotices: (default: true) Show notices.
  • showMyNotices: (default: false)
  • opIsLWCAdmin: (default: true) Determines whether operators have power over LWC.
  • disableHistory: (default: false)
  • townyBorders: (default: false)
  • groupPrefix: (default: group.)

updater

  • branch: (default: STABLE)
  • method: (default: AUTOMATIC)

optional

  • onlyProtectWhenOwnerIsOnline: (default: false) Only protect blocks when a player is online.
  • onlyProtectWhenOwnerIsOffline: (default: false) Only protect blocks when a player is offline.
  • exemptBlocks: (default: [])
  • optOut: (default: false)

database

  • adapter: (default: sqlite) Which database type you want to use.
  • path: (default: plugins/LWC/lwc.db) Path to that database.
  • host: (default: localhost) The address of the host the database is on.
  • database: (default: lwc) The name of the database.
  • username: (default: '') The username LWC uses to connect to the database.
  • password: (default: '') The password of the username above.
  • prefix: (default: lwc_)

protections

  • denyRedstone: (default: false) Whether or not to prevent redstone from opening doors and stuff.
  • autoRegister: (default: false) Whether or not to lock a block as soon as it's placed.
  • ignoreBlockDestruction (default: false)
  • ignoreLeftClick: (default: false) Whether or not to ignore left clicks on a protected block.
  • ignoreRightClick: (default: false) Whether or not to ignore right clicks on a protected block.
  • ignoreExplosions: (default: false) Whether or not to allow explosions to destroy protected blocks.
  • allowEntityBreakDoor: (default: false) Whether or not zombies can break down your doors. This is found later in the config but is part of protections.
  • quiet: (default: false)
  • denyHoppers: (default: true)
  • readonly-modify: (default: false)
  • readonly-remove: (default: false)

blocks

These are the blocks that you want to be able to protect.

The default blocks are chest, furnace, dispenser, sign, wooden_door, iron_door, and trap_door.

Options:

  • enabled: (default: true) Whether or not to enable the protection.
  • autoRegister (default: true [for chests, furnaces, dispensers, and signs]) Whether to automatically lock the block as it's placed.

modes

  • droptransfer: (default: enabled) Whether or not drop transfer mode is enabled. (Dropped items go to a chest)
  • persist: (default: enabled) Whether or not persist mode is enabled.