Skip to content
Rutger Kok edited this page Jul 22, 2013 · 1 revision

First of all, make sure you have installed Lockette. We are going to add the block to the Lockette list of custom blocks. A typical Lockette config file looks like this (but then with more options):

enable-messages-user: true
enable-messages-owner: false
enable-messages-admin: true
enable-messages-error: true
enable-messages-help: true
explosion-protection-all: false
enable-chest-rotation: false
enable-permissions: false
enable-protection-doors: true
enable-protection-trapdoors: true
allow-admin-snoop: false
allow-admin-bypass: true
allow-admin-break: true
enable-quick-protect: true
enable-color-tags: true
default-door-timer: 0
custom-lockable-block-list:
- 116
- 84
- 57
broadcast-snoop-target: '[Everyone]'
broadcast-break-target: '[Everyone]'
broadcast-reload-target: '[Operators]'
strings-file-name: strings-en.yml

As you would probably guess, you will have to add the block id to the custom-lockable-block-list of the Lockette config file. Add a new line, and use the id 130. Make sure there is a space between the - and 130.

Now (re)start the server, and make sure that Lockette displays your id in the following line:

[INFO] [Lockette] Custom lockable block list: [116, 84, 57, 130]