IntellectualSites / IntellectualSites/PlotSquared

Unable to remove a player with "add" status from a plot

Open
#4,796 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Requires Testing
Dominant language
Java
Stars
653
Forks
975
Avg merge
2m
Merged PRs (30d)
6

Description

Server Implementation

Paper

Server Version

1.21.3

Describe the bug

When attempting to remove a player who previously had the add permission on a plot, the removal fails.
Even though the player is shown as being added, PlotSquared returns the error:

<player> is neither added, trusted or denied on the plot, thus doesn't need to be removed.
To Reproduce
  1. Add a player to a plot using /plot add <player>.
  2. Try to remove the same player using /plot remove <player> or /plot delete <player>.
  3. PlotSquared returns an error that the player is not added, even though they are added.
  4. The player remains unable to be removed from the plot.
Expected behaviour

Self-explanatory

Screenshots / Videos

https://github.com/user-attachments/assets/0b606cae-78ee-4fc8-9fa8-9e35f956dbdc

Error log (if applicable)

No response

Plot Debugpaste

https://athion.net/ISPaster/paste/view/04b06c6d51d3420bab74485da6499af0

PlotSquared Version

PlotSquared version 7.5.10-SNAPSHOT

Checklist
Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the /plot add <player> and /plot remove <player> flow on Paper 1.21.3, using the linked debugpaste for context. Trace the permission state used by removal and deletion, then verify that a player with add status can be removed without the incorrect error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.