Package org.spongepowered.api.event.user
Interface BanUserEvent
- All Superinterfaces:
Event
Occurs when a user is banned.
-
Method Details
-
user
User user()Gets theUser
.- Returns:
- The user
-
ban
Ban.Profile ban()Gets the ban involved in this event.- Returns:
- The ban
-