PaperMC / PaperMC/Paper

Add event for armadillo state changes

Open
#12,174 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: needs triage
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.