Chest/Door Protections

  • Views Views: 387
  • Last updated Last updated:
  • On our Towny Survival server, griefing and is against the Rules. To help prevent your stuff from going missing, we have a protection system for all your stuff!

    Chests, furnaces, smokers, blast furnaces, dispensers, droppers, barrels, composters, shulker boxes, wood doors, looms, item frames and armor stands are automatically locked when you place them.


    List of lockable items

    • Chests
    • Trapped Chests
    • Shulker Boxes
    • Barrels
    • Furnaces
    • Smokers
    • Blast Furnaces
    • Dispensers
    • Droppers
    • Composters
    • Looms
    • Wooden doors
    • Iron doors
    • Wooden Trapdoors
    • Iron Trapdoors
    • Fence Gates
    • Cartography Tables
    • Stonecutters
    • Signs
    • Banners
    • Armor Stands
    • Item Frames

    How to lock an item

    To lock an item is pretty simple. Follow these instructions:

    1. Type the following into chat: /lock
    2. Left click (punch) the item you wish to lock. (Only works with the items listed above)
    3. Done!

    How to unlock an item

    Unlocking an item is just as easy as locking!. Follow these instructions:

    1. Type the following into chat: /unlock
    2. Left click (punch) the item you wish to unlock.
    3. Done!

    Adding someone to your protection

    There are two ways in which you can add someone to your locks! The first method is to add them to a specific lock, such as a single chest. You do that by doing this:

    1. Type the following into chat: /cmodify [username]
    2. Left click (punch) the item you wish to add the person to.
    3. Done!
    4. *Note, replace [username] with the name of the person you want to add to the protection.

    The second method is to trust someone. Trusting someone means you give them access to all your locks (works on locks made afterward too) You do that like this:

    1. Type the following into chat: /trust add [username]
    2. Type the following into chat: /trust confirm
    3. Done!
    4. *Note, replace [username] with the name of the person you want to add to the protection.

    Removing someone from your protection

    Here is how you remove someone from a singular protection

    1. Type the following into chat: /cmodify -[username]
    2. Left click (punch) the item you wish to remove the person from.
    3. Done!
    4. *Note, replace [username] with the name of the person you want to add to the protection.

    This is how you remove trust:

    1. Type the following into chat: /trust remove [username]
    2. Type the following into chat: /trust confirm
    3. Done!
    4. *Note, replace [username] with the name of the person you want to add to the protection.

    How to enable hoppers to work with chests

    To allow hoppers to remove and add items to a chest or container, you can very simply enable it by doing the command /chopper on and then punching the chest. To disable, do /chopper off

    How to make doors automatically close

    Make doors automatically close by doing the command /cautoclose on then punch the door. To disable, do /cautoclose off

    How to efficiently lock/unlock/modify a large group of items

    Instead of constantly re-typing the same command, you can enable "persist mode". Which will allow you to punch multiple items to lock/unlock/etc. to do this, type the command you wish to perform, then type /cpersist then once you're done, type /cpersist again.