Configuration Information

LockSecurity Config

General:

This is the section of the configuration file that will contain general, non-categorized configuration options. If they do not fit into their own proper category, they will be out on their own in this independent section. Here is what the default config will look like:

MetricsEnabled: true
RecipeYields: 1
EnableNotifyOnLogin: true
MaximumLocks:
  EXAMPLE_WORLD: -1

MetricsEnabled

RecipeYields

  • The return count of Unsmithed Keys when crafting them
  • Possible values:
    • Integer: 1 - 64

EnableNotifyOnLogin

  • Whether administrators with the locks.locknotify permission should automatically be put into locknotify mode
  • Possibles values:
    • true: Administrators will be put into locknotify mode
    • false: Administrators will not be put into locknotify mode by default

MaximumLocks

  • This is a list of every single one of your worlds. Here you will list the worlds you have, and specify the amount of maximum locks a player can have
  • Possible values:
    • WORLD_NAME: -1 - Allow for infinite chests in that world
    • WORLD_NAME: 1+ - Specify the maximum amount of chests a player can lock in that world

Griefing:

Griefing is the category in which you can modify all aspects related to griefing of locked blocks. At the moment, it is very small and not very interesting, however, future plans for this category will be developed along the life of this plugin.

Griefing:
  PreventLockedExplosions: true
  IgnorelocksCanBreakLocks: true
  OwnerRequiresKey: true

PreventLockedExplosions

  • Whether explosions can destroy locked blocks or not
  • Possible values are "true" and "false"
    • true: Explosions will not destroy locked blocks
    • false: Explosions will destroy locked blocks

IgnorelocksCanBreakLocks

  • Whether players who are ignoring locks can break other players' locked chests or not
  • Possible values are "true" and "false"
    • true: /ignorelocks will allow players to destroy other players' locked chests
    • false: /ignorelocks will prevent players from destroying other players' locked chests

OwnerRequiresKey

  • Whether or not the original owner of the lock requires a key in their hand or not
  • Possible values are "true" and "false"
    • true: The owner of the locked block requires them to have a lock in their hand
    • false: The owner does not require a lock to open their own chests

Aesthetics:

Aesthetics is the category in which you can modify all aesthetic aspects of the plugin. At the moment, it is very small and not very interesting, however, future plans for this category will be developed along the life of this plugin.

Aesthetics:
  DisplayLockedSmokeParticle: true
  DisplayNameChangeNotice: true

DisplayLockedSmokeParticle

  • Whether a smoke particle is displayed over a locked chest or not when a player fails to open it
  • Possible values are "true" and "false"
    • true: The particle will display
    • false: The particle will not display

DisplayNameChangeNotice

  • Whether a message is displayed in console when a player changes their name, and what indexes are being updated
  • Possible values are "true" and "false"
  • true: The message will display when a player changes their name
  • false: The message will not display

Vault

Vault is the category in which you can modify all monetary or vault-related aspects of the plugin. This may be added on to in the future, but at the moment, there are very basic features which allow for nice customization for your economic server

Vault:
  CostToLock: 100
  UnlockReward: 75
  DisplayWithdrawMsg: true
  DisplayDepositMsg: true

CostToLock

  • The amount of money it will cost for the player to lock a specific block
  • Possible values are integers
  • Maximum and minimum values: (2^31) to (2^31)-1

UnlockReward

  • The amount of money the player will receive after unlocking one of their locks
  • Possible values are integers
  • Maximum and minimum values: (2^31) to (2^31)-1

DisplayWithdrawMsg

  • Whether a message is displayed to the player that money has been withdrawn from their balance
  • Possible values are "true" and "false"
  • true: The message will display when a player's money is withdrawn
  • false: The message will not display

DisplayDepositMsg

  • Whether a message is displayed to the player that money has been deposited to their balance
  • Possible values are "true" and "false"
  • true: The message will display when a player's money is deposited
  • false: The message will not display

Comments

Posts Quoted:
Reply
Clear All Quotes