IntellectualSites / IntellectualSites/PlotSquared
Unable to remove a player with "add" status from a plot
Nobody has claimed this yet.
- 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
- Add a player to a plot using
/plot add <player>. - Try to remove the same player using
/plot remove <player>or/plot delete <player>. - PlotSquared returns an error that the player is not added, even though they are added.
- 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
- I have included a Plot debugpaste.
- I am using the newest build from https://www.spigotmc.org/resources/77506/ and the issue still persists.
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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