Class GSAuthWarningEvent

java.lang.Object
com.gamersafer.minecraft.auth.velocity.event.GSAuthEvent
com.gamersafer.minecraft.auth.velocity.event.GSAuthWarningEvent

public class GSAuthWarningEvent extends GSAuthEvent
Fired when a user is warned
  • Constructor Details

    • GSAuthWarningEvent

      public GSAuthWarningEvent(com.velocitypowered.api.proxy.Player player, UUID uuid, com.velocitypowered.api.command.CommandSource warner)
      Creates a new GSAuthWarningEvent
      Parameters:
      player - the warned player
      uuid - the UUID of the warned player
      warner - the sender issuing the warn
  • Method Details

    • getWarner

      public com.velocitypowered.api.command.CommandSource getWarner()
      The CommandSource warning the player.
      Returns:
      the CommandSource performing the action