Package cc.carm.plugin.userprefix.event
Class UserPrefixExpireEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- org.bukkit.event.player.PlayerEvent
-
- cc.carm.plugin.userprefix.event.UserPrefixEvent
-
- cc.carm.plugin.userprefix.event.UserPrefixExpireEvent
-
public class UserPrefixExpireEvent extends UserPrefixEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
-
Field Summary
Fields Modifier and Type Field Description @NotNull PrefixConfig
expiredPrefix
static HandlerList
handler
-
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
-
Constructor Summary
Constructors Constructor Description UserPrefixExpireEvent(@NotNull Player who, @NotNull PrefixConfig expiredPrefix)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
call(@NotNull Player player, @NotNull PrefixConfig currentPrefix)
@NotNull PrefixConfig
getExpiredPrefix()
@NotNull HandlerList
getHandlers()
-
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
-
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
-
-
-
Field Detail
-
handler
public static HandlerList handler
-
expiredPrefix
@NotNull public final @NotNull PrefixConfig expiredPrefix
-
-
Constructor Detail
-
UserPrefixExpireEvent
public UserPrefixExpireEvent(@NotNull @NotNull Player who, @NotNull @NotNull PrefixConfig expiredPrefix)
-
-
Method Detail
-
getExpiredPrefix
@NotNull public @NotNull PrefixConfig getExpiredPrefix()
-
getHandlers
@NotNull public @NotNull HandlerList getHandlers()
- Specified by:
getHandlers
in classEvent
-
call
public static void call(@NotNull @NotNull Player player, @NotNull @NotNull PrefixConfig currentPrefix)
-
-