Brianetta / StickyLocks

New locking plugin for Bukkit. Database/UUID/tool/command driven (default tool is a stick).
GNU General Public License v3.0
4 stars 3 forks source link

Shulker box support? #17

Closed Errorcode101 closed 3 years ago

Errorcode101 commented 3 years ago

I see no way to use Sticky Locks with Shulker Boxes, are they supported? and if not, will there be support in the future?

Brianetta commented 3 years ago

You can protect Shulker Boxes, with one major caveat. Your players will have to re-lock them every time they place one down. This is why they're not protected by default - it's easier to explain to players that they're not protected, rather than explain why breaking the box breaks the lock.

You will have to add them to the list under protectables: in config.yml. You will need to add all seventeen variants, as shown below:

- BLACK_SHULKER_BOX
- BLUE_SHULKER_BOX
- BROWN_SHULKER_BOX
- CYAN_SHULKER_BOX
- GRAY_SHULKER_BOX
- GREEN_SHULKER_BOX
- LIGHT_BLUE_SHULKER_BOX
- LIGHT_GRAY_SHULKER_BOX
- LIME_SHULKER_BOX
- MAGENTA_SHULKER_BOX
- ORANGE_SHULKER_BOX
- PINK_SHULKER_BOX
- PURPLE_SHULKER_BOX
- RED_SHULKER_BOX
- SHULKER_BOX
- WHITE_SHULKER_BOX
- YELLOW_SHULKER_BOX
Errorcode101 commented 3 years ago

Thank you for a quick response. This brings up my second question, What about an auto-locking feature? I saw a YT video on Sticky Locks with an auto-lock feature in your config file. Was this removed or just not supported on shulkers?

Brianetta commented 3 years ago

Any player can enable autolock for themselves using /sl autolock in chat. It is no longer a global option. It will lock any protectable block that they place.

Errorcode101 commented 3 years ago

Thank you very much, I really appreciate this plugin!