Class GamesManagerEvents
java.lang.Object
fr.multimc.api.spigot.games.events.GamesManagerEvents
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onAsyncChatEvent
(io.papermc.paper.event.player.AsyncChatEvent e) void
onBlockBreak
(org.bukkit.event.block.BlockBreakEvent e) void
onEntityDamaged
(org.bukkit.event.entity.EntityDamageEvent e) void
onPlayerJoin
(org.bukkit.event.player.PlayerJoinEvent e) 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 spectatorvoid
onPlayerQuit
(org.bukkit.event.player.PlayerQuitEvent e) void
onSpectatorTeleport
(org.bukkit.event.player.PlayerTeleportEvent e)
-
Constructor Details
-
GamesManagerEvents
-
-
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)
-