Class GSAuthWarningEvent
java.lang.Object
com.gamersafer.minecraft.auth.velocity.event.GSAuthEvent
com.gamersafer.minecraft.auth.velocity.event.GSAuthWarningEvent
Fired when a user is warned
-
Constructor Summary
ConstructorDescriptionGSAuthWarningEvent
(com.velocitypowered.api.proxy.Player player, UUID uuid, com.velocitypowered.api.command.CommandSource warner) Creates a newGSAuthWarningEvent
-
Method Summary
Modifier and TypeMethodDescriptioncom.velocitypowered.api.command.CommandSource
TheCommandSource
warning the player.Methods inherited from class com.gamersafer.minecraft.auth.velocity.event.GSAuthEvent
getPlayer, getUuid
-
Constructor Details
-
GSAuthWarningEvent
public GSAuthWarningEvent(com.velocitypowered.api.proxy.Player player, UUID uuid, com.velocitypowered.api.command.CommandSource warner) Creates a newGSAuthWarningEvent
- Parameters:
player
- the warned playeruuid
- theUUID
of the warned playerwarner
- the sender issuing the warn
-
-
Method Details
-
getWarner
public com.velocitypowered.api.command.CommandSource getWarner()TheCommandSource
warning the player.- Returns:
- the
CommandSource
performing the action
-