Internet Explorer is not supported. Please upgrade to a more modern browser.
PDC stands for Persistent Data Container, it's just a fancy way of doing locks by using commands instead of signs. slightly less user friendly.
it adds the data directly to the chest for the lock instead of a sign with text for the data.
you can use /lock on and /lock off on a container to lock or unlock it instead.
but it appears that this comes with it's own permission commands such as the /lock permission rw:#redstone
which allows users to allow redstone use on that container. but this can then be activated by everyone.
Yeah, this new LockKey plugin uses Persistent Data Container on the container and the key, linking them, and avoiding the need for any commands.
kenace:
I’m not sure which version of LockettePro the server is using, but I found that NyaaCat’s current source blocks redstone dispensing from containers that are effectively locked.
I made an experimental change on my fork: when someone presses a nearby button or lever, it checks whether they have access to the locked dispenser or dropper, then allows a brief dispense. The search distance and pass duration are configurable.
I tested the behaviour on a local 26.3 server. Please feel free to take a look and see whether it helps in your setup:
https://github.com/mickhod/LockettePro/tree/redstone-authorized-dispense
LockettePro has two lock methods: the sign locks most of us use, and PDC locks, which are managed with commands.
PDC locks already support redstone access:
- Look at the container and run
/lock on.- Run
/lock permission rw:#redstone.This lets redstone activate the locked container, but it doesn’t check who triggered the redstone.
My change checks the player pressing a nearby button or lever against the lock’s owner/member permissions. Authorized users can activate the dispenser; others remain blocked. The search distance and authorization window can be configured.
Hi AF,
don't know if this is any good to you