BlockProt

BlockProt

17.2k Downloads

[Feature] Bulk edit a player's blocks

Henry0811 opened this issue ยท 7 comments

commented

Your question

In our server, sometimes there are players quit. But then if they want to give their things to another player, then they have to unlock all the chest that they had lock before. If they have so many chests then it would be hard to unlock all of them. Is there a command that can unlock all the blocks that a player had lock before ?

commented

Oh, and if there's no such command exist, does anybody know where is the plugin data file?

commented

Hi @Henry0811, sorry for the late response. There currently is no bulk edit command so there's no alternative to manually removing all protections currently, I am looking at a solution for this though!

For the data file: There is none, the protections are stored in the world folder in the blocks themselves.

commented

I want to know that how to stop reminding players How to lock?

commented

Are you sure you are using the newest version of the plugin? This should have been fixed a long time ago. A simple opening of the inventory should be sufficient to remove that message for that player. Otherwise, look at config.yml, theres a setting there.

commented

1.06 was re-released which included a fix. Re-downloading is always a good idea.

commented

I am using the 1.06 version and I think it is the newest version.

commented

Hi I'm really looking for this kind of feature for BlockProt. It is common when players leave and left hundreds of empty chests from their underground storage.
If BlockProt data stored in blocks data maybe we can give permission for admins to perform command within specified radius in blocks. So this command will search for locked containers and update block data (wipe BlockProt data: chest owner and whether it's locked or not).

The algorithm of this command would be something like...
Search for Locked Blocks specified in BlockProt Setting within user specified radius and remove owner and lock status.

For example /blockprot purge PlayerName r:100 (where r=radius)