Class GSBansEvent
java.lang.Object
com.gamersafer.minecraft.bans.velocity.event.GSBansEvent
- Direct Known Subclasses:
GSBansBanEvent
,GSBansKickEvent
,GSBansMuteEvent
,GSBansWarningEvent
The base event for all fired by this plugin.
-
Constructor Summary
ConstructorsConstructorDescriptionGSBansEvent
(@Nullable com.velocitypowered.api.proxy.Player player, UUID uuid) Base constructor -
Method Summary
-
Constructor Details
-
GSBansEvent
Base constructor- Parameters:
player
- the playeruuid
- theUUID
of the player
-
-
Method Details
-
getPlayer
public @Nullable com.velocitypowered.api.proxy.Player getPlayer()Returns the player that was acted upon. May be null if the player is not online- Returns:
- the player
-
getUuid
Returns the UUID of the player that was acted upon- Returns:
- the uuid of the player
-