IntellectualSites / IntellectualSites/PlotSquared
grants are set to 0, when Player left the server and joined again
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.20.4
Describe the bug
Everytime I give a player with the command /p grant add .... some grants, they will set to 0, if he leave the server and join again. They will set to 0 at the moment when the player joined. During he is left it is still there.
To Reproduce
- /p grant add PLAYER
- /p grant check PLAYER = 1
- player leave Server
- /p grant check PLAYER = 1
- player join Server
- /p grant check PLAYER = 0
Expected behaviour
I expect that the grants are still there after leaving and joining.
Screenshots / Videos
No response
Error log (if applicable)
No response
Plot Debugpaste
https://athion.net/ISPaster/paste/view/15aa6d93e8f147edb502c4f01f97b8bc
PlotSquared Version
plotsquared-bukkit-7.3.6-Premium
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 reported sequence with /p grant add, /p grant check, leaving, and rejoining on Paper 1.20.4 using the linked debugpaste for context. Trace the grant persistence and player-join handling; done means grants remain 1 after the player rejoins, with a regression test covering the sequence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100