Skip to content

[FEATURE] - Add gameplay hooks to the API #116

Description

@MagicTeaMC

Feature Description

Add API events/hooks for the actual tree-chopping process.

Motivation & Use Case

Allow other plugins such as jobs, quests, skills, or statistics plugins to react to AutoTreeChop operations.

Proposed Solution

Add pre/post chop events containing relevant information such as the player and affected blocks. Pre-chop events could be cancellable where appropriate.

Alternatives Considered

PlaceholderAPI can expose some player state, but cannot provide gameplay hooks.

Examples & Mockups

No response

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions