Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom reactions to attempts at equipping #2

Open
foxfirecodes opened this issue Apr 17, 2019 · 0 comments
Open

Custom reactions to attempts at equipping #2

foxfirecodes opened this issue Apr 17, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@foxfirecodes
Copy link
Member

This was a feature that was requested by the original requester of the plugin. The idea is simple: when the player tries to equip a disallowed item, react to it in a custom way. This could be very similar to the filters system, with a List<Reaction> or something along those lines. Reactions simply need a type and value key (value could be any type and could be parsed by the Reaction itself), and some possible reactions could be...

  • command
  • teleport
  • damage
  • potion-effect
  • kill
@foxfirecodes foxfirecodes added the enhancement New feature or request label Apr 17, 2019
@foxfirecodes foxfirecodes self-assigned this Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant