Advertisement
Guest User

Untitled

a guest
Dec 1st, 2011
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.99 KB | None | 0 0
  1. # Core configurable options for LWC
  2. core:
  3.  
  4. # The language LWC will use, specified by the shortname. For example, English = en, French = fr, German = de,
  5. # and so on
  6. locale: en
  7.  
  8. # If set to true, LWC will automatically download new updates as they become available
  9. autoUpdate: false
  10.  
  11. # How often updates are batched to the database (in seconds). If set to a higher value than 10, you may have
  12. # some unexpected results, especially if your server is prone to crashing.
  13. flushInterval: 10
  14.  
  15. # LWC regularly caches protections locally to prevent the database from being queried as often. The default is 10000
  16. # and for most servers is OK. LWC will also fill up to <precache> when the server is started automatically.
  17. cacheSize: 10000
  18.  
  19. # How many protections are precached on startup. If set to -1, it will use the cacheSize value instead and precache
  20. # as much as possible
  21. precache: -1
  22.  
  23. # The default menu style presented to players. Possible options are basic and advanced. Basic prefers to use
  24. # aliases such as /cprivate over its advanced counterpart, /lwc -c private or /lwc create private
  25. defaultMenuStyle: basic
  26.  
  27. # If true, players will be sent a notice in their chat box when they open a protection they have access to, but
  28. # not their own unless <showMyNotices> is set to true
  29. showNotices: true
  30.  
  31. # If true, players will be sent a notice in their chat box when they open a protection they own.
  32. showMyNotices: false
  33.  
  34. # If true, ops will be considered LWC admins (e.g with a Permissions plugin, considered to have lwc.admin) and thus
  35. # will have very destructive LWC commands.
  36. opIsLWCAdmin: true
  37.  
  38. # If true, LWC will not log history about protections. If you are using LWC-Economy and this is disabled, you will
  39. # NOT receive refunds for purchased protections
  40. disableHistory: false
  41.  
  42. # If you're having an issue where chest locks randomly stop working, and if you type '/lwc -o' and hit
  43. # one of these "not workin" chests and see something like 'That Air is not registered!', you may be
  44. # experiencing bukkit bug #656: http://leaky.bukkit.org/issues/656
  45. # If so, set this flag to true, and to avoid a performance hit, be sure to set 'cacheSize' above to
  46. # more than whatever number of active protections you have. LWC will cache all protections in memory
  47. # and protect any x,y,z registered block, regardless of if Bukkit says it's something else (like Air).
  48. bukkitBug656workaround: false
  49.  
  50. # Database information for LWC
  51. database:
  52.  
  53. # The database adapter to use, for example sqlite (default) or mysql
  54. adapter: mysql
  55.  
  56. # This is strictly for SQLite only and should be left alone. When changing to MySQL and this is left intact,
  57. # LWC will automatically convert your protections from SQLite to MySQL
  58. path: 'plugins/LWC/lwc.db'
  59.  
  60. # The MySQL host. You can specify a non-default port (3306) by adding :port, e.g host: 'localhost:3307'
  61. host: '********'
  62.  
  63. # The database LWC should use to store data (not necessary for SQLite)
  64. database: '********'
  65.  
  66. # The username LWC should use to connect to the server with (not necessary for SQLite)
  67. username: '*****'
  68.  
  69. # The password LWC should use to connect to the server with (not necessary for SQLite)
  70. password: '*****'
  71.  
  72. # The prefix for LWC tables. For example, a prefix of 'lwc_' will make
  73. # the protections table show up as lwc_protections
  74. prefix: 'lwc_'
  75.  
  76. # The protections nodes allows you to define, remove and modify which blocks LWC is allowed to protect
  77. # This means that you could make any block you want protectable, or remove existing protectable blocks
  78. # (e.g trap doors, etc.)
  79. protections:
  80. # These values serve as default values for the protections defined under blocks
  81.  
  82. # If true, the default behaviour will be to BLOCK redstone to protections, and /credstone on (Protection Flag)
  83. # will ALLOW redstone to the protection
  84. # If false, the default behaviour will be to ALLOW redstone to protections, and /credstone on will
  85. # BLOCK redstone to the protection
  86. denyRedstone: false
  87.  
  88. # Settable to private, public, or off. It defines what protections are registered as when you place them on
  89. # the ground
  90. autoRegister: on
  91.  
  92. # Used in very specific use-cases: makes LWC ignore block destruction for the given block or all blocks, allowing
  93. # players to remove the block and resulting protection.
  94. ignoreBlockDestruction: false
  95.  
  96. # If left clicking should be ignored by LWC. An example of this would be to add ignoreLeftClick under a note block
  97. # protection to allow players to play the note block's note, but not change the note (which is done via right click,
  98. # which would be blocked by LWC.)
  99. ignoreLeftClick: false
  100.  
  101. # If right clicking should be ignored by LWC.
  102. ignoreRightClick: false
  103.  
  104. # If LWC should ignore explosions to the protection. For example, you could allow Doors to be blown by explosions,
  105. # but not chests.
  106. ignoreExplosions: false
  107.  
  108. # Current and custom protections are defined here by their block name or id
  109. # If you use the Id, you MUST encase it in quotes, for example (chest):
  110. # '54':
  111. # enabled: true
  112. # The custom protection must also have enabled: true under it for it to function in the world
  113. blocks:
  114. chest:
  115. enabled: true
  116. autoRegister: private
  117. furnace:
  118. enabled: true
  119. autoRegister: private
  120. dispenser:
  121. enabled: true
  122. autoRegister: private
  123. sign:
  124. enabled: true
  125. autoRegister: private
  126. wooden_door:
  127. enabled: true
  128. autoRegister: private
  129. iron_door:
  130. enabled: true
  131. autoRegister: private
  132. trap_door:
  133. enabled: true
  134. autoRegister: private
  135.  
  136. modes:
  137. droptransfer:
  138. enabled: true
  139. persist:
  140. enabled: true
  141.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement