Hidendra / LWC

Lightweight Protection for Chests, Furnaces, Dispensers, and more for the Minecraft server mod Bukkit
Other
167 stars 123 forks source link

Delete Protections with WorldEdit #564

Open SwissNic opened 11 years ago

SwissNic commented 11 years ago

Hi everyone, We had this Plugin one time, and if we deleted the houses from a user with //set air, the protection still stood. That was why we changed to another Plugin. We'd like to put this Plugin on our server again, but we dont know: Is it possible to delete protections with a WorldEdit cmd? If that was possible, we could delete all protections with 1 cmd

Thanks for answers! Best regards

Hidendra commented 11 years ago

You can use /lwc admin cleanup to make LWC go through each protection and delete each protection that no longer exists (LWC stores the block id it knows was protected. if the block ID in the world is no longer that then it removes it)

Alternatively if you have a WG region you can use /lwc admin purgeregion WGRegionName. It doesn't use the current selection at the moment

SwissNic commented 11 years ago

Thank you very much for this quickly answer :+1: