Add event for armadillo state changes
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Is your feature request related to a problem?
At present, it's not possible to detect when an armadillo changes its state and cancel it. This is problematic for vanish plugins, as they can't cancel the state change caused by a vanished player.
Describe the solution you'd like.
I suggest introducing a new cancellable ArmadilloStateChangeEvent, similar to the WardenAngerChangeEvent.
#12026 seems to be a good basis for this feature request, as it adds API features for armadillos (such as an enum for the armadillo state).
Describe alternatives you've considered.
N/A
Other
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 reading the API changes in #12026 and compare the proposed event with WardenAngerChangeEvent. Trace how armadillo state changes are represented and exposed, then determine the relevant API and event integration points. Done means a cancellable ArmadilloStateChangeEvent lets plugins detect and cancel armadillo state changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100