IntellectualSites / IntellectualSites/PlotSquared
`%plotsquared_plot_count%` does not show global plot count
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
26.2
Describe the bug
According to the wiki (https://intellectualsites.gitbook.io/plotsquared/customization/placeholders) the placeholder %plotsquared_plot_count% is meant to show "Amount of global plots of a player" but when I run it in different worlds, I get different amounts based on the world I am in, so it does not appear to be a global count unless by global it's meant to be per world.
But then I don't quite understand why there seems to be a different placeholder %plotsquared_plot_count_(world or 'this')% which would do literally that. So that leads me to believe this is a bug.
To Reproduce
- Make two PlotSquared worlds
- Claim one plot in one world
- Stay in this world and use
/papi parse me %plotsquared_plot_count%. It should say "1" - Go to the other world and use the same command again. It should say "0"
Expected behaviour
No matter which world I am parsing the placeholder in, it should give me the same amount, which is all my plots combined, no matter which world it's in.
Screenshots / Videos
No response
Error log (if applicable)
No response
Plot Debugpaste
https://athion.net/ISPaster/paste/view/6c8941690c3343c68d49725f1a6bafa4
PlotSquared Version
7.6.0-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 tracing the registration and implementation of %plotsquared_plot_count%, then compare it with the world-qualified %plotsquared_plot_count_(world or 'this')% placeholder. Reproduce the issue with two PlotSquared worlds and confirm that the unqualified placeholder returns the player's combined plot count regardless of the current world.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 70/100