Open PIE-yt opened 7 years ago
Try protect-inventories flag. If that fails which it should not, try LWC manually add all the shulker box types as lockable but not auto lock. It was my m8 Jabberwockie that fixed and released LWC + Chest shop for 1.9 + which still works now in 1.12 you can download it from a comment on the bukkit LWC/Chest shop sites. We fixed it to help protect Slimefun blocks but it was added as a PStones ability ( \O/ THANK YOU! ) shortly after.
In core.yml (LWC) under blocks: white_shulker_box: enabled: true silver_shulker_box: enabled: true gray_shulker_box: enabled: true black_shulker_box: enabled: true lime_shulker_box: enabled: true green_shulker_box: enabled: true blue_shulker_box: enabled: true light_blue_shulker_box: enabled: true cyan_shulker_box: enabled: true yellow_shulker_box: enabled: true orange_shulker_box: enabled: true brown_shulker_box: enabled: true pink_shulker_box: enabled: true magenta_shulker_box: enabled: true purple_shulker_box: enabled: true red_shulker_box: enabled: true
or try PStone flag ?protect-inventories: true
Now just /ps toggle protect-inventories in game as required.
Thanks, I've gone with the "?protect-invetories: true" flag. So anyone who needs to protect the shulker boxes can without it breaking villager trading and item menus by default.
Still unfortunate shulker boxes can't be prevent-use, are they perhaps implemented differently than other blocks (chests, beacons etc.) I wonder?
BTW if you /info with an empty hand then right click a placed red shulker box you will note it has a block id of 223:1 not 223 or 223:0 try adding 223:1 to prevent use instead see if that works for red shulker boxes, if so add the rest ;)
Thanks for the idea, I tried it but no luck unfortunately.
I think the data value represents to rotation of the box.
Not rotation :D try giving a 223:10 place it.. does it stack with a 223:0 after pick up? Nope. It now also has a hidden meta line.
Scary Shulker Boxes!
I've discovered that the prevent-use flag doesn't seem to prevent players opening shulker boxes.
The IDs I'm using: `- purple_shulker_box
I'm using the latest 1.12 build of PreciousStones and Spigot: git-Spigot-99c2a37-3819f8d
Thanks for your time.