Class PlayerReadyEvent

java.lang.Object
com.hypixel.hytale.server.core.event.events.player.PlayerEvent<String>
com.hypixel.hytale.server.core.event.events.player.PlayerReadyEvent
All Implemented Interfaces:
IBaseEvent<String>, IEvent<String>

public class PlayerReadyEvent extends PlayerEvent<String>
A player event that is triggered when a client player is ready.
  • Constructor Details

    • PlayerReadyEvent

      public PlayerReadyEvent(@Nonnull Ref<EntityStore> ref, @Nonnull Player player, int readyId)
      Default Constructor for a PlayerReadyEvent instance.
      Parameters:
      ref - The entity reference of the player entity.
      player - The player entity that is ready.
      readyId - The ready ID associated with this event.
  • Method Details

    • getReadyId

      public int getReadyId()
      Returns:
      The ready ID associated with this event.
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class PlayerEvent<String>