Interface BanUserEvent

All Superinterfaces:
Event

public interface BanUserEvent extends Event
Occurs when a user is banned.
  • Method Summary

    Modifier and Type
    Method
    Description
    ban()
    Gets the ban involved in this event.
    Gets the User.

    Methods inherited from interface org.spongepowered.api.event.Event

    cause, context, source
  • Method Details

    • user

      User user()
      Gets the User.
      Returns:
      The user
    • ban

      Gets the ban involved in this event.
      Returns:
      The ban