Skip to content

Make the Endest Pearl use the thrower's block-breaking permissions#78

Open
Nikolay-Sitnikov wants to merge 4 commits into
masterfrom
endest-pearl-block-permission
Open

Make the Endest Pearl use the thrower's block-breaking permissions#78
Nikolay-Sitnikov wants to merge 4 commits into
masterfrom
endest-pearl-block-permission

Conversation

@Nikolay-Sitnikov
Copy link
Copy Markdown

Adds a BlockEvent.BreakEvent check to all block-breaking events, preventing the Endest Pearl from being used to grief others' bases even with Endest Pearl griefing enabled (thus making it a theoretically viable mining tool - although the cost is high.)

I have tested that this works in the simplest circumstance with 2 teams with ServerUtilities. I have not tested it with the offline player rules, since that's pretty difficult to test.

@Nikolay-Sitnikov
Copy link
Copy Markdown
Author

Nikolay-Sitnikov commented Apr 15, 2026

Actually, Server Utilities will prioritize the fake-player-hood of the FakePlayer above their UUID and username identity as a real player, so that "imitate the thrower if they logged off" strategy won't work. I don't know what I should do about it, if anything. There aren't many guidelines for how to handle player permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants