public EventModule
void onGameInit(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GameInitEvent> callback)
class GameInitEvent
void onGameStart(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GameStartEvent> callback)
class GameStartEvent
void onGameJoin(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GameJoinEvent> callback)
class GameJoinEvent
void afterGameJoin(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GameJoinPostEvent> callback)
class GameJoinPostEvent
void onGameLeave(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GameLeaveEvent> callback)
class GameLeaveEvent
void onGameTimeout(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GameTimeoutEvent> callback)
class GameTimeoutEvent
void onGameFinish(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GameFinishEvent> callback)
class GameFinishEvent
void onAreaEnter(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GameAreaEnterEvent> callback)
class GameAreaEnterEvent
void onAreaExit(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GameAreaExitEvent> callback)
class GameAreaExitEvent
void onPlayerKill(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GamePlayerKillEvent> callback)
class GamePlayerKillEvent
void onPlayerDeath(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GamePlayerDeathEvent> callback)
class GamePlayerDeathEvent
void onPlayerInteract(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GamePlayerInteractEvent> callback)
class GamePlayerInteractEvent
void onEntityDamage(@NotNull java.util.function.Consumer<com.github.lazoyoung.craftgames.api.event.GameEntityDamageEvent> callback)
class GameEntityDamageEvent