Interface QueryPermissionEvent

All Superinterfaces:
net.kyori.event.Cancellable, Event, PermissionEvent
All Known Subinterfaces:
QueryPermissionEvent.Post, QueryPermissionEvent.Pre

public interface QueryPermissionEvent extends PermissionEvent
The base event that is fired before and after GD queries permission provider for result.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    An event that is fired after GD queries permission provider for result.
    static interface 
    An event that is fired before all GD permission checks take place.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Object
    Gets the query action location.

    Methods inherited from interface net.kyori.event.Cancellable

    cancelled, cancelled

    Methods inherited from interface com.griefdefender.api.event.Event

    getCause

    Methods inherited from interface com.griefdefender.api.event.PermissionEvent

    getContexts, getMessage, getPermission, getSubject, setMessage
  • Method Details

    • getLocation

      @Nullable Object getLocation()
      Gets the query action location.
      Returns:
      The query action location, if available