Jump to content

Recommended Posts

Posted

Here is a simple lwc fix for locking all the mod blocks available, mostly ic2 stuff

just replace this with your normal lwc confic file, feel free to improve the list.

( credit to all the great ops of tekkit)

# Core configurable options for LWC

core:

 

    # The language LWC will use, specified by the shortname. For example, English = en, French = fr, German = de,

    # and so on

    locale: en

 

    # How often updates are batched to the database (in seconds). If set to a higher value than 10, you may have

    # some unexpected results, especially if your server is prone to crashing.

    flushInterval: 10

 

    # LWC regularly caches protections locally to prevent the database from being queried as often. The default is 10000

    # and for most servers is OK. LWC will also fill up to <precache> when the server is started automatically.

    cacheSize: 10000

 

    # How many protections are precached on startup. If set to -1, it will use the cacheSize value instead and precache

    # as much as possible

    precache: -1

 

    # If true, players will be sent a notice in their chat box when they open a protection they have access to, but

    # not their own unless <showMyNotices> is set to true

    showNotices: true

 

    # If true, players will be sent a notice in their chat box when they open a protection they own.

    showMyNotices: false

 

    # If true, ops will be considered LWC admins (e.g with a Permissions plugin, considered to have lwc.admin) and thus

    # will have very destructive LWC commands.

    opIsLWCAdmin: true

 

    # If true, LWC will not log history about protections. If you are using LWC-Economy and this is disabled, you will

    # NOT receive refunds for purchased protections

    disableHistory: false

 

    # if true, LWC will only allow protections to be created inside of Towns via the Towny plugin

    townyBorders: false

 

    # The permission node prefix that is used to match player groups when

    # no supported permission plugin is found, e.g group.vip matches the player's group as vip

    groupPrefix: 'group.'

 

# Controls how the updater operates

updater:

 

    # The branch to select updates from

    # STABLE or BLEEDING_EDGE

    branch: STABLE

 

    # When to retrieve updates

    # Either AUTOMATIC or MANUAL

    method: AUTOMATIC

 

# "Fun" options

optional:

 

    # Protections are only active when a player is online.

    # So if a player is offline, anyone can access it. If the player is online, it functions normally

    onlyProtectWhenOwnerIsOnline: false

 

    # Protections are only active when a player is offline

    onlyProtectWhenOwnerIsOffline: false

 

    # Block IDs to automatically blocks from /lwc admin purge, /lwc admin expire, etc.

    exemptBlocks: []

 

    # Opt out of the optional metrics tooling

    # Available online: http://metrics.griefcraft.com/plugin/LWC/

    optOut: false

 

# Database information for LWC

database:

 

    # The database adapter to use, for example sqlite (default) or mysql

    adapter: sqlite

 

    # This is strictly for SQLite only and should be left alone. When changing to MySQL and this is left intact,

    # LWC will automatically convert your protections from SQLite to MySQL

    path: 'plugins/LWC/lwc.db'

 

    # The MySQL host. You can specify a non-default port (3306) by adding :port, e.g host: 'localhost:3307'

    host: 'localhost'

 

    # The database LWC should use to store data (not necessary for SQLite)

    database: 'lwc'

 

    # The username LWC should use to connect to the server with (not necessary for SQLite)

    username: ''

 

    # The password LWC should use to connect to the server with (not necessary for SQLite)

    password: ''

 

    # The prefix for LWC tables. For example, a prefix of 'lwc_' will make

    # the protections table show up as lwc_protections

    prefix: 'lwc_'

 

# The protections nodes allows you to define, remove and modify which blocks LWC is allowed to protect

# This means that you could make any block you want protectable, or remove existing protectable blocks

# (e.g trap doors, etc.)

protections:

    # These values serve as default values for the protections defined under blocks

 

    # If true, the default behaviour will be to BLOCK redstone to protections, and /credstone on (Protection Flag)

    # will ALLOW redstone to the protection

    # If false, the default behaviour will be to ALLOW redstone to protections, and /credstone on will

    # BLOCK redstone to the protection

    denyRedstone: false

 

    # Settable to private, public, or off. It defines what protections are registered as when you place them on

    # the ground

    autoRegister: off

 

    # Used in very specific use-cases: makes LWC ignore block destruction for the given block or all blocks, allowing

    # players to remove the block and resulting protection.

    ignoreBlockDestruction: false

 

    # If left clicking should be ignored by LWC. An example of this would be to add ignoreLeftClick under a note block

    # protection to allow players to play the note block's note, but not change the note (which is done via right click,

    # which would be blocked by LWC.)

    ignoreLeftClick: false

 

    # If right clicking should be ignored by LWC.

    ignoreRightClick: false

 

    # If LWC should ignore explosions to the protection. For example, you could allow Doors to be blown by explosions,

    # but not chests.

    ignoreExplosions: false

 

    # If entities - such as zombies - are allowed to break down doors

    allowEntityBreakDoor: false

 

    # Creation messages and protection notices will not be shown for this protection

    quiet: false

 

    # Current and custom protections are defined here by their block name or id

    # If you use the Id, you MUST encase it in quotes, for example (chest):

    # '54':

    #    enabled: true

    # The custom protection must also have enabled: true under it for it to function in the world

    blocks:

        chest:

            enabled: true

            autoRegister: private

        furnace:

            enabled: true

            autoRegister: private

        dispenser:

            enabled: true

            autoRegister: private

        sign:

            enabled: true

            autoRegister: private

        wooden_door:

            enabled: true

        iron_door:

            enabled: true

        trap_door:

            enabled: true

        fence_gate:

            enabled: true

        '181':

            enabled: true

            autoRegister: private

        '250':

            enabled: true

            autoRegister: private

        '250:1':

            enabled: true

            autoRegister: private

        '250:2':

            enabled: true

            autoRegister: private

        '250:3':

            enabled: true

            autoRegister: private

        '250:4':

            enabled: true

            autoRegister: private

        '250:5':

            enabled: true

            autoRegister: private

        '250:6':

            enabled: true

            autoRegister: private

        '250:7':

            enabled: true

            autoRegister: private

        '250:8':

            enabled: true

            autoRegister: private

        '250:9':

            enabled: true

            autoRegister: private

        '250:10':

            enabled: true

            autoRegister: private

        '250:11':

            enabled: true

            autoRegister: private

        '250:12':

            enabled: true

            autoRegister: private

        '250:13':

            enabled: true

            autoRegister: private

        '250:14':

            enabled: true

            autoRegister: private

        '250:15':

            enabled: true

            autoRegister: private

        '227':

            enabled: true

            autoRegister: private

        '227:1':

            enabled: true

            autoRegister: private

        '227:2':

            enabled: true

            autoRegister: private

        '225':

            enabled: true

            autoRegister: private

        '225:1':

            enabled: true

            autoRegister: private

        '181':

            enabled: true

            autoRegister: private

        '181:1':

            enabled: true

            autoRegister: private

        '181:2':

            enabled: true

            autoRegister: private

        '181:3':

            enabled: true

            autoRegister: private

        '181:4':

            enabled: true

            autoRegister: private

        '181:5':

            enabled: true

            autoRegister: private

        '194:1':

            enabled: true

            autoRegister: private

        '194:2':

            enabled: true

            autoRegister: private

        '194:3':

            enabled: true

            autoRegister: private

        '194:4':

            enabled: true

            autoRegister: private

        '194:5':

            enabled: true

            autoRegister: private

        '126':

            enabled: true

            autoRegister: private

        '126:1':

            enabled: true

            autoRegister: private

        '126:2':

            enabled: true

            autoRegister: private

        '126:3':

            enabled: true

            autoRegister: private

        '126:4':

            enabled: true

            autoRegister: private

        '126:5':

            enabled: true

            autoRegister: private

        '126:6':

            enabled: true

            autoRegister: private

        '126:7':

            enabled: true

            autoRegister: private

        '128':

            enabled: true

            autoRegister: private

        '128:1':

            enabled: true

            autoRegister: private

        '137':

            enabled: true

            autoRegister: private

        '137:1':

            enabled: true

            autoRegister: private

        '137:2':

            enabled: true

            autoRegister: private

        '137:3':

            enabled: true

            autoRegister: private

        '137:4':

            enabled: true

            autoRegister: private

        '150':

            enabled: true

            autoRegister: private

        '150:1':

            enabled: true

            autoRegister: private

        '150:2':

            enabled: true

            autoRegister: private

        '150:3':

            enabled: true

            autoRegister: private

        '150:4':

            enabled: true

            autoRegister: private

        '150:5':

            enabled: true

            autoRegister: private

        '150:6':

            enabled: true

            autoRegister: private

        '150:7':

            enabled: true

            autoRegister: private

        '150:8':

            enabled: true

            autoRegister: private

        '150:9':

            enabled: true

            autoRegister: private

        '150:10':

            enabled: true

            autoRegister: private

        '150:11':

            enabled: true

            autoRegister: private

        '150:12':

            enabled: true

            autoRegister: private

        '150:13':

            enabled: true

            autoRegister: private

        '150:14':

            enabled: true

            autoRegister: private

        '150:15':

            enabled: true

            autoRegister: private

        '161':

            enabled: true

            autoRegister: private

        '161:1':

            enabled: true

            autoRegister: private

        '161:2':

            enabled: true

            autoRegister: private

        '183':

            enabled: true

            autoRegister: private

        '183:1':

            enabled: true

            autoRegister: private

        '183:2':

            enabled: true

            autoRegister: private

        '188':

            enabled: true

            autoRegister: private

        '188:1':

            enabled: true

            autoRegister: private

        '190:6':

            enabled: true

            autoRegister: private

        '190:7':

            enabled: true

            autoRegister: private

        '208':

            enabled: false

            autoRegister: private

        '213':

            enabled: true

            autoRegister: private

        '213:1':

            enabled: true

            autoRegister: private

        '213:2':

            enabled: true

            autoRegister: private

        '213:3':

            enabled: true

            autoRegister: private

        '213:4':

            enabled: true

            autoRegister: private

        '213:5':

            enabled: true

            autoRegister: private

        '213:6':

            enabled: true

            autoRegister: private

        '213:7':

            enabled: true

            autoRegister: private

        '213:8':

            enabled: true

            autoRegister: private

        '213:9':

            enabled: true

            autoRegister: private

        '213:10':

            enabled: true

            autoRegister: private

        '213:11':

            enabled: true

            autoRegister: private

        '213:12':

            enabled: true

            autoRegister: private

        '213:13':

            enabled: true

            autoRegister: private

        '216':

            enabled: true

            autoRegister: private

        '216:1':

            enabled: true

            autoRegister: private

        '216:2':

            enabled: true

            autoRegister: private

        '216:3':

            enabled: true

            autoRegister: private

        '223:2':

            enabled: true

            autoRegister: private

        '233':

            enabled: true

            autoRegister: private

        '246':

            enabled: true

            autoRegister: private

        '246:1':

            enabled: true

            autoRegister: private

        '246:2':

            enabled: true

            autoRegister: private

        '246:3':

            enabled: true

            autoRegister: private

        '246:4':

            enabled: true

            autoRegister: private

        '246:5':

            enabled: true

            autoRegister: private

        '253':

            enabled: true

            autoRegister: private

        '253:1':

            enabled: true

            autoRegister: private

        '253:2':

            enabled: true

            autoRegister: private

        '253:3':

            enabled: true

            autoRegister: private

        '253:4':

            enabled: true

            autoRegister: private

        '253:5':

            enabled: true

            autoRegister: private

        '253:6':

            enabled: true

            autoRegister: private

        '253:7':

            enabled: true

            autoRegister: private

        '253:8':

            enabled: true

            autoRegister: private

        '134:2':

            enabled: true

            autoRegister: private

        '161':

            enabled: true

            autoRegister: private

 

 

modes:

    droptransfer:

        enabled: true

    persist:

        enabled: true

Posted

Very appreciated Nightfury. I'll have to compare that listing with mine and...(OCD-can't resist)...numerically sort the list. Thanks bud!

Ah if it was your Lwc confics that will explain a few things, i though i had found this one on reddit.., If you want i can give you the credit?

Posted

Oh, I'm not claiming credit. I was just saying I'd have to compare the IDs to ensure my config matches up (nothing missing).

But - as a general rule, it's usually proper to give credit to whoever provided a file/etc that you post elsewhere.

  • Forum Administrators
Posted

I wouldn't recommend just copy pasting the entire config. Just copy the mod block id section. That's really all you need.

Posted

Oh, I'm not claiming credit. I was just saying I'd have to compare the IDs to ensure my config matches up (nothing missing).

But - as a general rule, it's usually proper to give credit to whoever provided a file/etc that you post elsewhere.

problem is i dont remember who i got the confic from, and i have changed it a lot since, and pretty much everyone can do this sort of confic,, soo,, Credit to everyone!

  • 2 weeks later...
Posted

Uhm... can someone explain me why this Config looks exactly like my?

(I gave her the config and told her to not share without my permission, she already posted it before, for some reason it got removed (good))

And please dont tell me that its just random that the added IDs have the same order as on my....

Posted

Are you trying to claim copyright on a config setup?

I had to chuckle. I'm sorry MineFabi, is this proprietary information? If so, was it marked appropriately? (Sorry, if you worked for a big tech company you'd understand)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...