Advertisement
Guest User

Untitled

a guest
Aug 14th, 2017
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.08 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. # If you will be notified of LWC updates
  43. updateNotifier: true
  44.  
  45. # "Fun" options
  46. optional:
  47.  
  48. # Protections are only active when a player is online.
  49. # So if a player is offline, anyone can access it. If the player is online, it functions normally
  50. onlyProtectWhenOwnerIsOnline: false
  51.  
  52. # Protections are only active when a player is offline
  53. onlyProtectWhenOwnerIsOffline: false
  54.  
  55. # Block IDs to automatically blocks from /lwc admin purge, /lwc admin expire, etc.
  56. exemptBlocks: []
  57.  
  58. # Opt out of the optional metrics tooling
  59. # Available online: http://metrics.griefcraft.com/plugin/LWC/
  60. optOut: false
  61.  
  62. # Blocks that cannot be placed around someone else's protection. This is most useful
  63. blacklistedBlocks:
  64. - 166
  65.  
  66. # Players that are blocked from destroying any blocks protected by LWC. Mainly useful for MCPC
  67. # where mods can remove blocks and try to break the block by sending an event first (e.g turtle)
  68. blacklistedPlayers:
  69. - plr
  70.  
  71. # If protections limits will be enabled (defaults to unlimited protections)
  72. useProtectionLimits: true
  73.  
  74. # Database information for LWC
  75. database:
  76.  
  77. # The database adapter to use, for example sqlite (default) or mysql
  78. adapter: sqlite
  79.  
  80. # This is strictly for SQLite only and should be left alone. When changing to MySQL and this is left intact,
  81. # LWC will automatically convert your protections from SQLite to MySQL
  82. path: 'plugins/LWC/lwc.db'
  83.  
  84. # The MySQL host. You can specify a non-default port (3306) by adding :port, e.g host: 'localhost:3307'
  85. host: 'localhost'
  86.  
  87. # The database LWC should use to store data (not necessary for SQLite)
  88. database: 'lwc'
  89.  
  90. # The username LWC should use to connect to the server with (not necessary for SQLite)
  91. username: ''
  92.  
  93. # The password LWC should use to connect to the server with (not necessary for SQLite)
  94. password: ''
  95.  
  96. # The prefix for LWC tables. For example, a prefix of 'lwc_' will make
  97. # the protections table show up as lwc_protections
  98. prefix: 'lwc_'
  99.  
  100. # The interval between pinging the MySQL server to keep it alive (in seconds)
  101. ping_interval: 300
  102.  
  103. # The protections nodes allows you to define, remove and modify which blocks LWC is allowed to protect
  104. # This means that you could make any block you want protectable, or remove existing protectable blocks
  105. # (e.g trap doors, etc.)
  106. protections:
  107. # These values serve as default values for the protections defined under blocks
  108.  
  109. # If true, the default behaviour will be to BLOCK redstone to protections, and /credstone on (Protection Flag)
  110. # will ALLOW redstone to the protection
  111. # If false, the default behaviour will be to ALLOW redstone to protections, and /credstone on will
  112. # BLOCK redstone to the protection
  113. denyRedstone: false
  114.  
  115. # If true, hoppers will by blocked by DEFAULT and /chopper on will enable hopper use on them
  116. # If false, hoppers will be enabled by DEFAULT and /chopper on will disable hopper use on them
  117. denyHoppers: true
  118.  
  119. # Settable to private, public, or off. It defines what protections are registered as when you place them on
  120. # the ground
  121. autoRegister: off
  122.  
  123. # Used in very specific use-cases: makes LWC ignore block destruction for the given block or all blocks, allowing
  124. # players to remove the block and resulting protection.
  125. ignoreBlockDestruction: false
  126.  
  127. # If left clicking should be ignored by LWC. An example of this would be to add ignoreLeftClick under a note block
  128. # protection to allow players to play the note block's note, but not change the note (which is done via right click,
  129. # which would be blocked by LWC.)
  130. ignoreLeftClick: false
  131.  
  132. # If right clicking should be ignored by LWC.
  133. ignoreRightClick: false
  134.  
  135. # If LWC should ignore explosions to the protection. For example, you could allow Doors to be blown by explosions,
  136. # but not chests.
  137. ignoreExplosions: false
  138.  
  139. # If entities - such as zombies - are allowed to break down doors
  140. allowEntityBreakDoor: false
  141.  
  142. # If entities - such as villagers - should be allowed to interact with protections (i.e doors)
  143. allowEntityInteract: false
  144.  
  145. # Creation messages and protection notices will not be shown for this protection
  146. quiet: false
  147.  
  148. # Set to true to prevent users from modifying a protection they own of a certain type (or any protection).
  149. # ONLY lwc admins will be able to modify the protection
  150. readonly-modify: false
  151.  
  152. # Set to true to prevent users from removing a protection they own of a certain type (or any protection).
  153. # ONLY lwc admins will be able to modify the protection
  154. readonly-remove: false
  155.  
  156. # Current and custom protections are defined here by their block name or id
  157. # If you use the Id, you MUST encase it in quotes, for example (chest):
  158. # '54':
  159. # enabled: true
  160. # The custom protection must also have enabled: true under it for it to function in the world
  161. blocks:
  162. chest:
  163. enabled: true
  164. autoRegister: private
  165. furnace:
  166. enabled: true
  167. autoRegister: private
  168. dispenser:
  169. enabled: true
  170. autoRegister: private
  171. sign:
  172. enabled: true
  173. autoRegister: private
  174. wooden_door:
  175. enabled: true
  176. iron_door:
  177. enabled: true
  178. spruce_door:
  179. enabled: true
  180. birch_door:
  181. enabled: true
  182. jungle_door:
  183. enabled: true
  184. acacia_door:
  185. enabled: true
  186. dark_oak_door:
  187. enabled: true
  188. trap_door:
  189. enabled: true
  190. iron_trapdoor:
  191. enabled: true
  192. fence_gate:
  193. enabled: true
  194. spruce_fence_gate:
  195. enabled: true
  196. birch_fence_gate:
  197. enabled: true
  198. jungle_fence_gate:
  199. enabled: true
  200. acacia_fence_gate:
  201. enabled: true
  202. dark_oak_fence_gate:
  203. enabled: true
  204.  
  205. modes:
  206. droptransfer:
  207. enabled: true
  208.  
  209. # allow items to be transferred across world boundaries
  210. crossWorld: false
  211. persist:
  212. enabled: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement