
Issue Protecting Modded Inventories with switch_IDs
Chickandduck opened this issue ยท 3 comments
What steps will reproduce the problem?
-
Using clay brick on the modded inventory to recieve block ID (Block being Ironchests mods chest)
-
-
Using said ID in the config.yml file in the Protection categorie in the switch_id subcategorie (ID being Ironchests:iron_chest)
-
Saving the File to apply changes
-
Rebooting the Server to ensure changes are applied.
-
Creating a town
-
Placing Modded inventory block in the Town claim
-
Set NPC as Town Mayor
-
Leave the town
-
Remove Operator priveleges from user
-
go to a new plot and hit anything to reset your Towny cache. Then return to the original plot and try to open the chest.
-
Attempt to Right Click Modded Inventory Block.
What is the expected output?
Chat message to user: "Outsiders are not permitted to switch"
Modded Inventory block access denied to user with modded inventory within a town claim while not being a resident of said Town.
Towny version
Towny version: towny-0.99.5.11
Server version
Arclight Server version: arclight-forge-1.16.5-1.0.24
Minecraft version: 1.16.5
Please use Pastebin.com to link the following files
- Your full server startup from the logs\latest.log: https://gist.github.com/Chickandduck/c1f9eb21e7fdaa79201fb3bae89484b5 (Pastebin had a 512 kb limit sorry!)
- Your Towny config.yml: https://pastebin.com/8VLiJBS4
- Your townyperms.yml: https://pastebin.com/fCbKysBW
- Your log's error: Non applicable
Could you add one more step, after step 9, go to a new plot and hit anything to reset your Towny cache. Then return to the original plot and try to open the chest.
Could you add one more step, after step 9, go to a new plot and hit anything to reset your Towny cache. Then return to the original plot and try to open the chest.
Done and Info tool screen shot also