There are currently 22 players online.

Connect now using the IP mc.autcraft.com

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

New Plugin - LockKey
Started by AutismFather

kenace

kenace

Joined
02 Aug 2022
Last Seen
04 Dec 2026
Topics
9
Posts
25
Minecraft
kenace

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.

kenace · 2 hours ago
AutismFather

AutismFather

Admin
Joined
24 Mar 2022
Last Seen
04 Dec 2026
Topics
207
Posts
527
Minecraft
AutismFather

Yeah, this new LockKey plugin uses Persistent Data Container on the container and the key, linking them, and avoiding the need for any commands.

AutismFather · about 1 hour ago
kenace

kenace

Joined
02 Aug 2022
Last Seen
04 Dec 2026
Topics
9
Posts
25
Minecraft
kenace
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:

  1. Look at the container and run /lock on.
  2. 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

kenace · about 1 hour ago