Skip to content

More events to cancel for players without vane.admin.modify_world #330

Description

@hjk321

The following events should be cancelled for players who have not been vouched for:

  • EntityTargetLivingEntityEvent (player can't take damage so the mob shouldn't try to target them)
  • EntityInsideBlockEvent (triggering pressure plates etc might have side effects on the world)
  • EntityPickupItemEvent
  • PlayerAttemptPickupItemEvent
  • PlayerPickupArrowEvent
  • PlayerPickupExperienceEvent
  • PlayerDropItemEvent

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions