Jump to content

Recommended Posts

Posted

Many people face the fear that their items will be stolen on a server, well fear not! For all those people asking why can't LWC Protect my stuff? It can you just needed to edit the configuration files. So here is how,

# 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


 

Then you want to add block ID's below that following the 

'ID': # Name

     enabled: True/False

     autoregister: ?

 

Now to finish editing your files, just simply add the Block ID's below


        '181': # Iron Chest

            enabled: true

            autoRegister: private

        '181:1': # Gold Chest

            enabled: true

            autoRegister: private

        '181:2': # Diamond Chest

            enabled: true

            autoRegister: private

        '181:3': # Copper Chest

            enabled: true

            autoRegister: private

        '181:4': # Silver Chest

            enabled: true

            autoRegister: private

        '181:5': # Crystal Chest

            enabled: true

            autoRegister: private

        '128': # Alchemical Chest

            enabled: true

            autoRegister: private

        '178': # Ender Chest

            enabled: true

            autoRegister: private

        '194:2': # Black Hole Chest

            enabled: true

            autoRegister: private

        '128:1': # Condenser

            enabled: true

            autoRegister: private

        '126': # Energy Collector MK1

            enabled: true

            autoRegister: private

        '126:1': # Collector MK2

            enabled: true

        '126:2': # Collector MK3

            enabled: true

        '126:5': # Relay MK1

            enabled: true

        '126:6': # Relay MK2

            enabled: true

        '126:7': # Relay MK3

            enabled: true

        '126:3': # DM Furnace

            enabled: true

        '126:4': # RM Furnace

            enabled: true

        '137': # Alloy Furnace

            enabled: true

        '137:1': # Blulectric Furnace

            enabled: true

        '137:4': # Blulectric Alloy Furnace

            enabled: true

        '213:12': # Blast Furnace Brick

            enabled: true

        '250:1': # Iron Furnace

            enabled: true

        '250:2': # Electric Furnace

            enabled: true

        '250:13': # Induction Furnace

            enabled: true

        '227': # Batbox

            enabled: true

        '227:1': # MFE

            enabled: true

        '227:2': # MFSU

            enabled: true

    # IC2 Machines, Note furnaces are above

        '225': #Personal Safe

            enabled: true

            autoRegister: private

        '225:1': #Trade-O-Mat

            enabled: true

        '246': # Generator

            enabled: true

        '246:1': # Geothermal Gen.

            enabled: true

        '246:2': # Water Mill

            enabled: true

        '246:3': # Solar Panel

            enabled: true

        '246:4': # Wind Mill

            enabled: true

        '246:5': # Nuclear Reactor !?!

            enabled: true

        '250:3': # Macerator

            enabled: true

        '250:4': # Extractor

            enabled: true

        '250:5': # Compressor

            enabled: true

        '250:6': # Canning Machine

            enabled: true

        '250:7': # Miner

            enabled: true

        '250:8': # Pump

            enabled: true

        '250:9': # Magnetizer

            enabled: true

        '250:10': # Electrolyzer

            enabled: true

        '250:11': # Recycler

            enabled: true

        '250:14': # Mass Fabricator

            enabled: true

        '250:15': # Terraformer

            enabled: true

        '223': # Teleporter

            enabled: true

        '223:1': # Tesla Coil

            enabled: true

    # Build Craft Stuff

        '153': # Quarry

            enabled: true

        '169': # Automatic Crafting Table

            enabled: true

        '194:1': # Automatic Crafting Table MK2

            enabled: true

        '161': # Redstone Engine

            enabled: true

        '161:1': # Steam Engine

            enabled: true

        '161:2': # Combustion Engine

            enabled: true

    # Redpower Stuff

        '137:2': # Buffer

            enabled: true

        '137:3': # Project Table

            enabled: true

        '150:8': # Retriever

Final Product looks like this: http://pastie.org/4353366

@ Forum Admins, Moderators, Owner..... If this is not the appropriate spot, or there is no appropriate spot do as you see fit.

Posted

If i am missing an Block that you would like to protect simply follow the format and add it inside the config,

'214': # World Anchor

enabled: true

autoRegister: private

Simply paste that into the config below

enabled: true

'150:8': # Retriever

Note, "#" stands for the start of a comment and is not read by the plugin/game. It is for organization.

  • 4 weeks later...
Posted

Just to point out (after i did a bit of testing as im compiling my own list due to how ive set up my server)

If you don't specify the data value it will protect every ID that has data values after it

eg:

'181': # Iron Chest

enabled: true

autoRegister: private

Will also protect the gold chest (181:1) diamond chest (181:2) and all other data values that has the 181 ID.

  • 2 weeks later...
Posted

i think this one is better and more complete ? ;)

http://forums.technicpack.net/threads/lwc-adding-mod-items-95-complete.18703/

Edit:

See here: http://technicpack.net/forums/threads/lwc-adding-mod-items-95-complete.18703/

It's another similar list made by greedseed and me.

Woops seen that a tick to late :P Thanks RebelNode !

 # 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

wooden_door:

enabled: true

iron_door:

enabled: true

trap_door:

enabled: true

fence_gate:

enabled: true

#RM Furnace

'126:4':

enabled: true

autoRegister: Private

#Alchemical chest

'128':

enabled: true

autoRegister: Private

#Energy Condenser

'128:1':

enabled: true

autoRegister: Private

#Transmutation Tablet

'130':

enabled: true

autoRegister: Private

#Monitor

'134':

enabled: true

autoRegister: Private

#Central Processing Unit

'134:1':

enabled: true

autoRegister: Private

#Disk Drive

'134:2':

enabled: true

autoRegister: Private

#Alloy Furnace

'137':

enabled: true

autoRegister: Private

#Blulectric Furnace

'137:1':

enabled: true

autoRegister: Private

#Buffer

'137:2':

enabled: true

autoRegister: Private

#Project Table

'137:3':

enabled: true

autoRegister: Private

#Blulectric Alloy Furnace

'137:4':

enabled: true

autoRegister: Private

#Timer

'138':

enabled: true

autoRegister: Private

#Deployer

'150':

enabled: true

autoRegister: Private

#Transposer

'150:2':

enabled: true

autoRegister: Private

#Filter

'150:3':

enabled: true

autoRegister: Private

#Item Detector

'150:4':

enabled: true

autoRegister: Private

#Sorting Machine

'150:5':

enabled: true

autoRegister: Private

#Battery Box

'150:6':

enabled: true

autoRegister: Private

#Retriever

'150:8':

enabled: true

autoRegister: Private

#Regulator

'150:10':

enabled: true

autoRegister: Private

#Assambler

'150:13':

enabled: true

autoRegister: Private

#ejector

'150:14':

enabled: true

autoRegister: Private

#Relay

'150:15':

enabled: true

autoRegister: Private

#Solar Panel

'151':

enabled: true

autoRegister: Private

#Quarry

'153':

enabled: true

autoRegister: Private

#Filter

'155':

enabled: true

autoRegister: Private

#Builder

'157':

enabled: true

autoRegister: Private

#Steam engine

'161:1':

enabled: true

autoRegister: Private

#Combustion Engine

'161:2':

enabled: true

autoRegister: Private

#Automatic Crafting Table

'169':

enabled: true

autoRegister: Private

#Mining Well

'174':

enabled: true

autoRegister: Private

#Iron Chest

'181':

enabled: true

autoRegister: Private

#Gold Chest

'181:1':

enabled: true

autoRegister: Private

#Diamond Chest

'181:2':

enabled: true

autoRegister: Private

#Copper Chest

'181:3':

enabled: true

autoRegister: Private

#Silver Chest

'181:4':

enabled: true

autoRegister: Private

#Crystal Chest

'181:5':

enabled: true

autoRegister: Private

#Low Voltage Solar array

'183':

enabled: true

autoRegister: Private

#Medium Voltage Solar array

'183:1':

enabled: true

autoRegister: Private

#High Voltage Solar array

'183:2':

enabled: true

autoRegister: Private

#Charging Bench Mk1

'187':

enabled: true

autoRegister: Private

#Charging Bench Mk2

'187:1':

enabled: true

autoRegister: Private

#Charging Bench Mk3

'187:2':

enabled: true

autoRegister: Private

#Rotary Macerator

'188':

enabled: true

autoRegister: Private

#Singularity Compressor

'188:1':

enabled: true

autoRegister: Private

#Centrifuge Extractor

'188:2':

enabled: true

autoRegister: Private

#Energy Link

'190:4':

enabled: true

autoRegister: Private

#Buffer

'194':

enabled: true

autoRegister: Private

#Black Hole Chest

'194:2':

enabled: true

autoRegister: Private

#Retrievulaor

'194:5':

enabled: true

autoRegister: Private

#Computer

'207':

enabled: true

autoRegister: Private

#Disk Drive

'208':

enabled: true

autoRegister: Private

#Monitor

'208:2':

enabled: true

autoRegister: Private

#Teleporter

'223':

enabled: true

autoRegister: Private

#BatBox

'227':

enabled: true

autoRegister: Private

#MFE

'227:1':

enabled: true

autoRegister: Private

#MFSU

'227:2':

enabled: true

autoRegister: Private

#Personal Safe

'225':

enabled: true

autoRegister: Private

#Reactor Chamber

'233':

enabled: true

autoRegister: Private

#Generator

'246':

enabled: true

autoRegister: Private

#Geothermal Generator

'246:1':

enabled: true

autoRegister: Private

#Water Mill

'246:2':

enabled: true

autoRegister: Private

#Solar Panel

'246:3':

enabled: true

autoRegister: Private

#Wind Mill

'246:4':

enabled: true

autoRegister: Private

#Nuclear Reactor

'246:5':

enabled: true

autoRegister: Private

#Iron Furnace

'250:1':

enabled: true

autoRegister: Private

#Electric Furnace

'250:2':

enabled: true

autoRegister: Private

#Macerator

'250:3':

enabled: true

autoRegister: Private

#Extractor

'250:4':

enabled: true

autoRegister: Private

#Compressor

'250:5':

enabled: true

autoRegister: Private

#Canning Machine

'250:6':

enabled: true

autoRegister: Private

#Miner

'250:7':

enabled: true

autoRegister: Private

#Electrollyzer

'250:10':

enabled: true

autoRegister: Private

#Recycler

'250:11':

enabled: true

autoRegister: Private

#Induction Furnace

'250:13':

enabled: true

autoRegister: Private

#Mass Fabricator

'250:14':

enabled: true

autoRegister: Private

#Terraformer

'250:15':

enabled: true

autoRegister: Private

#Forcefield Core

'253':

enabled: true

autoRegister: Private

#MFFS area Projector

'253:1':

enabled: true

autoRegister: Private

#Directional Forcefield Projector

'253:2':

enabled: true

autoRegister: Private

#MFFS Deflector

'253:3':

enabled: true

autoRegister: Private

#Tube Forcefield Projector

'253:4':

enabled: true

autoRegister: Private

#MFFS Directional Extender

'253:5':

enabled: true

autoRegister: Private

#Forcefield EU Injecor

'253:6':

enabled: true

autoRegister: Private

#Reactor Containment Field Projector

'253:7':

enabled: true

autoRegister: Private

#MFFS Reactor Heat Control

'253:8':

enabled: true

autoRegister: Private

#MFFS Reactor Heat Monitor Server

'253:9':

enabled: true

autoRegister: Private

#MFFS Reactor Heat Monitor Client

'254':

enabled: true

autoRegister: Private

#Forcefield Underwater Upgrade

'254:1':

enabled: true

autoRegister: Private

#Frocefield Dome Upgrade

'254:2':

enabled: true

autoRegister: Private

#Forcefield Block Cutter Upgrade

'254:3':

enabled: true

autoRegister: Private

#Forcefield Core storage Upgrade

'254:4':

enabled: true

autoRegister: Private

#Forcefield Core Range Upgrade

'254:5':

enabled: true

autoRegister: Private

#Forcefield Zapper Upgrade

'254:6':

enabled: true

autoRegister: Private

#Forcefield Camouflage Upgrade

'254:7':

enabled: true

autoRegister: Private

#MFFS Reactor Connector

'254:8':

enabled: true

autoRegister: Private

#Chest Cart

'342':

enabled: true

autoRegister: Private

#Furnace Cart

'343':

enabled: true

autoRegister: Private

#Item Teleport Pipe

'4303':

enabled: true

autoRegister: Private

#Waterproof Teleport Pipe

'4304':

enabled: true

autoRegister: Private

#Power Teleport Pipe

'4305':

enabled: true

autoRegister: Private

#Diamond Transport Pipe

'4311':

enabled: true

autoRegister: Private

#Tunnel Bore

'7310':

enabled: true

autoRegister: Private

#MFE Cart

'7307':

enabled: true

autoRegister: Private

#MFSU Cart

'7256':

enabled: true

autoRegister: Private

#Reinforced Door

'30185':

enabled: true

  • 1 month later...
Posted

I was under the impression that block IDs were ignored by the config and only the pure ID could be used for example, '181': was fine but '181:5': was not. When I tried it in my config '181': worked fine and protected all blocks with the 181 prefix (chests) but '181:5': did nothing. Am I doing something wrong?

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...