Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Bulk edit a player's blocks #133

Open
Henry0811 opened this issue Jan 20, 2022 · 7 comments
Open

[Feature] Bulk edit a player's blocks #133

Henry0811 opened this issue Jan 20, 2022 · 7 comments
Assignees
Labels
enhancement New feature or request high priority This issue has high priority and should get a fix as soon as possible question Further information is requested
Milestone

Comments

@Henry0811
Copy link

Henry0811 commented Jan 20, 2022

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 ?

@Henry0811 Henry0811 added the question Further information is requested label Jan 20, 2022
@Henry0811
Copy link
Author

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

@Henry0811 Henry0811 changed the title [Question]: How should I do when I want to unlock all the blocks that is locked by a specific player ? [Question]: How should I do when I want to unlock all the blocks that are locked by a specific player ? Jan 20, 2022
@spnda
Copy link
Owner

spnda commented Jan 22, 2022

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.

@spnda spnda added enhancement New feature or request high priority This issue has high priority and should get a fix as soon as possible labels Jan 30, 2022
@spnda spnda changed the title [Question]: How should I do when I want to unlock all the blocks that are locked by a specific player ? [Feature] Bulk edit a player's blocks Jan 30, 2022
@Henry0811
Copy link
Author

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

@spnda
Copy link
Owner

spnda commented Apr 7, 2022

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.

@Henry0811
Copy link
Author

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

@spnda
Copy link
Owner

spnda commented Apr 8, 2022

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

@spnda spnda added this to the 1.1.0 milestone May 21, 2022
@ilfarpro
Copy link
Contributor

ilfarpro commented Aug 25, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high priority This issue has high priority and should get a fix as soon as possible question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants