Skip to content

Create AbandonConfirmMenu.java and default item for plot-abandon to TNT#213

Merged
Zoriot merged 1 commit into
mainfrom
update/abandon-confirmation
May 18, 2026
Merged

Create AbandonConfirmMenu.java and default item for plot-abandon to TNT#213
Zoriot merged 1 commit into
mainfrom
update/abandon-confirmation

Conversation

@Cinnazeyy
Copy link
Copy Markdown
Member

This PR changes the behaviour of clicking on the abandon item in the PlotActionsMenu.
Now the button opens up a new confirmation menu where only after clicking on the abandon item again, will the plot be actually abandoned.
This is to prevent trigger happy users accidentally nuking their progress.
Additionally, this PR also changes the default item for the abandon item to TNT. Previously it was a barrier block.

abandon

Copy link
Copy Markdown
Member

@Zoriot Zoriot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about the design, I also see it would make sense to have a separate "back" and "cancel" button, might be too much also.
Might make sense to ask Malte - because he often mass delete plot where this is a extra click (where you also have to readjust the mouse). If he wishes also a direct way we could add a permission for that.

Please fix the translation issue - the other stuff i mentioned are your own decision. Other than that LGTM - ty for implementing it

Comment thread src/main/java/com/alpsbte/plotsystem/core/menus/AbandonConfirmMenu.java Outdated
Copy link
Copy Markdown
Member

@Zoriot Zoriot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than that LGTM

@Zoriot Zoriot force-pushed the update/abandon-confirmation branch from cf13262 to 3e8cfc7 Compare May 10, 2026 13:30
@Zoriot Zoriot force-pushed the update/abandon-confirmation branch from 3e8cfc7 to ea86536 Compare May 18, 2026 16:53
@Zoriot Zoriot merged commit 9dfd3b7 into main May 18, 2026
2 checks passed
@Zoriot Zoriot deleted the update/abandon-confirmation branch May 21, 2026 22:46
@Zoriot Zoriot added the enhancement New feature or request label May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants