Advertisement
Guest User

Untitled

a guest
Jan 26th, 2013
2,350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.85 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. # How often updates are batched to the database (in seconds). If set to a higher value than 10, you may have
  9. # some unexpected results, especially if your server is prone to crashing.
  10. flushInterval: 10
  11.  
  12. # LWC regularly caches protections locally to prevent the database from being queried as often. The default is 10000
  13. # and for most servers is OK. LWC will also fill up to <precache> when the server is started automatically.
  14. cacheSize: 10000
  15.  
  16. # How many protections are precached on startup. If set to -1, it will use the cacheSize value instead and precache
  17. # as much as possible
  18. precache: -1
  19.  
  20. # If true, players will be sent a notice in their chat box when they open a protection they have access to, but
  21. # not their own unless <showMyNotices> is set to true
  22. showNotices: true
  23.  
  24. # If true, players will be sent a notice in their chat box when they open a protection they own.
  25. showMyNotices: false
  26.  
  27. # If true, ops will be considered LWC admins (e.g with a Permissions plugin, considered to have lwc.admin) and thus
  28. # will have very destructive LWC commands.
  29. opIsLWCAdmin: true
  30.  
  31. # If true, LWC will not log history about protections. If you are using LWC-Economy and this is disabled, you will
  32. # NOT receive refunds for purchased protections
  33. disableHistory: false
  34.  
  35. # if true, LWC will only allow protections to be created inside of Towns via the Towny plugin
  36. townyBorders: false
  37.  
  38. # The permission node prefix that is used to match player groups when
  39. # no supported permission plugin is found, e.g group.vip matches the player's group as vip
  40. groupPrefix: 'group.'
  41.  
  42. # Controls how the updater operates
  43. updater:
  44.  
  45. # The branch to select updates from
  46. # STABLE or BLEEDING_EDGE
  47. branch: STABLE
  48.  
  49. # When to retrieve updates
  50. # Either AUTOMATIC or MANUAL
  51. method: MANUAL
  52.  
  53. # "Fun" options
  54. optional:
  55.  
  56. # Protections are only active when a player is online.
  57. # So if a player is offline, anyone can access it. If the player is online, it functions normally
  58. onlyProtectWhenOwnerIsOnline: false
  59.  
  60. # Protections are only active when a player is offline
  61. onlyProtectWhenOwnerIsOffline: false
  62.  
  63. # Block IDs to automatically blocks from /lwc admin purge, /lwc admin expire, etc.
  64. exemptBlocks: []
  65.  
  66. # Opt out of the optional metrics tooling
  67. # Available online: http://metrics.griefcraft.com/plugin/LWC/
  68. optOut: false
  69.  
  70. # Blocks that cannot be placed around someone else's protection. This is most useful
  71. blacklistedBlocks:
  72. - 166
  73.  
  74. # Players that are blocked from destroying any blocks protected by LWC. Mainly useful for MCPC
  75. # where mods can remove blocks and try to break the block by sending an event first (e.g turtle)
  76. blacklistedPlayers:
  77. - plr
  78.  
  79. # Database information for LWC
  80. database:
  81.  
  82. # The database adapter to use, for example sqlite (default) or mysql
  83. adapter: sqlite
  84.  
  85. # This is strictly for SQLite only and should be left alone. When changing to MySQL and this is left intact,
  86. # LWC will automatically convert your protections from SQLite to MySQL
  87. path: 'plugins/LWC/lwc.db'
  88.  
  89. # The MySQL host. You can specify a non-default port (3306) by adding :port, e.g host: 'localhost:3307'
  90. host: 'localhost'
  91.  
  92. # The database LWC should use to store data (not necessary for SQLite)
  93. database: 'lwc'
  94.  
  95. # The username LWC should use to connect to the server with (not necessary for SQLite)
  96. username: ''
  97.  
  98. # The password LWC should use to connect to the server with (not necessary for SQLite)
  99. password: ''
  100.  
  101. # The prefix for LWC tables. For example, a prefix of 'lwc_' will make
  102. # the protections table show up as lwc_protections
  103. prefix: 'lwc_'
  104.  
  105. # The protections nodes allows you to define, remove and modify which blocks LWC is allowed to protect
  106. # This means that you could make any block you want protectable, or remove existing protectable blocks
  107. # (e.g trap doors, etc.)
  108. protections:
  109. # These values serve as default values for the protections defined under blocks
  110.  
  111. # If true, the default behaviour will be to BLOCK redstone to protections, and /credstone on (Protection Flag)
  112. # will ALLOW redstone to the protection
  113. # If false, the default behaviour will be to ALLOW redstone to protections, and /credstone on will
  114. # BLOCK redstone to the protection
  115. denyRedstone: false
  116.  
  117. # Settable to private, public, or off. It defines what protections are registered as when you place them on
  118. # the ground
  119. autoRegister: off
  120.  
  121. # Used in very specific use-cases: makes LWC ignore block destruction for the given block or all blocks, allowing
  122. # players to remove the block and resulting protection.
  123. ignoreBlockDestruction: false
  124.  
  125. # If left clicking should be ignored by LWC. An example of this would be to add ignoreLeftClick under a note block
  126. # protection to allow players to play the note block's note, but not change the note (which is done via right click,
  127. # which would be blocked by LWC.)
  128. ignoreLeftClick: false
  129.  
  130. # If right clicking should be ignored by LWC.
  131. ignoreRightClick: false
  132.  
  133. # If LWC should ignore explosions to the protection. For example, you could allow Doors to be blown by explosions,
  134. # but not chests.
  135. ignoreExplosions: false
  136.  
  137. # If entities - such as zombies - are allowed to break down doors
  138. allowEntityBreakDoor: false
  139.  
  140. # If entities - such as villagers - should be allowed to interact with protections (i.e doors)
  141. allowEntityInteract: false
  142.  
  143. # Creation messages and protection notices will not be shown for this protection
  144. quiet: false
  145.  
  146. # Current and custom protections are defined here by their block name or id
  147. # If you use the Id, you MUST encase it in quotes, for example (chest):
  148. # '54':
  149. # enabled: true
  150. # The custom protection must also have enabled: true under it for it to function in the world
  151. blocks:
  152. chest:
  153. enabled: true
  154. autoRegister: private
  155. furnace:
  156. enabled: true
  157. autoRegister: private
  158. dispenser:
  159. enabled: true
  160. autoRegister: private
  161. sign:
  162. enabled: true
  163. autoRegister: private
  164. wooden_door:
  165. enabled: true
  166. iron_door:
  167. enabled: true
  168. trap_door:
  169. enabled: true
  170. fence_gate:
  171. enabled: true
  172.  
  173. modes:
  174. droptransfer:
  175. enabled: true
  176.  
  177. # allow items to be transferred across world boundaries
  178. crossWorld: false
  179. persist:
  180. enabled: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement