Class GamesManagerEvents

java.lang.Object
fr.multimc.api.spigot.games.events.GamesManagerEvents
All Implemented Interfaces:
org.bukkit.event.Listener

public class GamesManagerEvents extends Object implements org.bukkit.event.Listener
  • Constructor Details

    • GamesManagerEvents

      public GamesManagerEvents(GamesManager gamesManager, Logger logger)
  • Method Details

    • onPlayerMove

      public void onPlayerMove(org.bukkit.event.player.PlayerMoveEvent e)
      Event call when a player move on the server Only used to freeze the player if: - The player is in the game world - The GamesManager is not started - The player is not a spectator
      Parameters:
      e - PlayerMoveEvent object
    • onPlayerJoin

      public void onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent e)
    • onPlayerQuit

      public void onPlayerQuit(org.bukkit.event.player.PlayerQuitEvent e)
    • onBlockBreak

      public void onBlockBreak(org.bukkit.event.block.BlockBreakEvent e)
    • onEntityDamaged

      public void onEntityDamaged(org.bukkit.event.entity.EntityDamageEvent e)
    • onAsyncChatEvent

      public void onAsyncChatEvent(io.papermc.paper.event.player.AsyncChatEvent e)
    • onSpectatorTeleport

      public void onSpectatorTeleport(org.bukkit.event.player.PlayerTeleportEvent e)