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
ConstructorsConstructorDescriptionGSAuthWarningEvent(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.CommandSourceTheCommandSourcewarning 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- theUUIDof the warned playerwarner- the sender issuing the warn
-
-
Method Details
-
getWarner
public com.velocitypowered.api.command.CommandSource getWarner()TheCommandSourcewarning the player.- Returns:
- the
CommandSourceperforming the action
-