IntellectualSites / IntellectualSites/PlotSquared
Perform Block ID Checks on Plugin Load
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 653
- Forks
- 975
- Avg merge
- 2m
- Merged PRs (30d)
- 6
Description
What feature do you want to see added?
If a pattern check can be ran on plugin load, a user could be notified of invalid block IDs being used in worlds.yml.
The context is that I had an invalid block ID in my worlds.yml file for an extended period of time. For me, it wasn't readily apparent that something was wrong as the entire world was already generated, so it only produced errors during a merge and an unmerge, and those are not common. I am not sure why it was changed, but it was well over a year ago.
Are there any alternatives?
I have yet to try any alternatives, as this is merely a fresh idea, and I am not sure what else I could try. I have fixed the worlds.yml and it resolved the merging/unmerging issues.
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 locating the plugin-load entry point and the code that reads worlds.yml. Trace how block IDs are currently resolved during merge and unmerge, then determine how invalid IDs should be reported during loading. Done means invalid block IDs in worlds.yml are detected and clearly reported when the plugin loads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100