Class CustomGamePublishEvent

java.lang.Object
org.bukkit.event.Event
dev.itsharshxd.zentrix.api.events.ZentrixEvent
dev.itsharshxd.zentrix.api.events.customgame.CustomGamePublishEvent

public final class CustomGamePublishEvent extends ZentrixEvent
Called after a host published a custom game and it was saved, just as it is announced.

Main thread; only fired while a listener is registered.

Since:
1.8.0
  • Constructor Details

    • CustomGamePublishEvent

      public CustomGamePublishEvent(@NotNull @NotNull CustomGameInfo game)
  • Method Details

    • getCustomGame

      @NotNull public @NotNull CustomGameInfo getCustomGame()
      The published game.
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Description copied from class: ZentrixEvent
      Gets the handler list for this event.
      Overrides:
      getHandlers in class ZentrixEvent
      Returns:
      The handler list
    • getHandlerList

      @NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()