Class GSAuthWarningEvent

java.lang.Object
net.md_5.bungee.api.plugin.Event
com.gamersafer.minecraft.auth.bungeecord.event.GSAuthEvent
com.gamersafer.minecraft.auth.bungeecord.event.GSAuthWarningEvent

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

    Constructors
    Constructor
    Description
    GSAuthWarningEvent(net.md_5.bungee.api.connection.ProxiedPlayer player, UUID uuid, net.md_5.bungee.api.CommandSender warner)
    Creates a new GSAuthWarningEvent
  • Method Summary

    Modifier and Type
    Method
    Description
    net.md_5.bungee.api.CommandSender
    The CommandSender warning the player.

    Methods inherited from class com.gamersafer.minecraft.auth.bungeecord.event.GSAuthEvent

    getPlayer, getUuid

    Methods inherited from class net.md_5.bungee.api.plugin.Event

    postCall

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GSAuthWarningEvent

      public GSAuthWarningEvent(net.md_5.bungee.api.connection.ProxiedPlayer player, UUID uuid, net.md_5.bungee.api.CommandSender 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 net.md_5.bungee.api.CommandSender getWarner()
      The CommandSender warning the player.
      Returns:
      the CommandSender performing the action