Uses of Class
com.minigameworld.events.minigame.MiniGameExceptionEvent
Packages that use MiniGameExceptionEvent
Package
Description
-
Uses of MiniGameExceptionEvent in com.minigameworld.events.minigame
Subclasses of MiniGameExceptionEvent in com.minigameworld.events.minigameModifier and TypeClassDescriptionclass
Called when a player playing minigame exception has occured
Defined reason
player-quit-server
: when a player quit the serverclass
Called when a server exception has occured
[IMPORTANT] all minigames will be finished -
Uses of MiniGameExceptionEvent in com.minigameworld.frames
Methods in com.minigameworld.frames with parameters of type MiniGameExceptionEventModifier and TypeMethodDescriptionvoid
MiniGame.handleException(MiniGameExceptionEvent exception)
- Handle exception
- If player exception
- callsMiniGame.onException(MiniGameExceptionEvent)
- player will leave the game
- checksMiniGameSetting.GameFinishCondition
- If server exception
- minigame will be finishedprotected void
MiniGame.onException(MiniGameExceptionEvent exception)
Called only in play state and when exception is passed
Exception
protected void
TeamBattleMiniGame.onException(MiniGameExceptionEvent exception)
-
Uses of MiniGameExceptionEvent in com.minigameworld.frames.helpers
Methods in com.minigameworld.frames.helpers with parameters of type MiniGameExceptionEventModifier and TypeMethodDescriptionvoid
MiniGameViewManager.handleException(MiniGameExceptionEvent exception)
Handle a exception of a minigame -
Uses of MiniGameExceptionEvent in com.minigameworld.listeners
Methods in com.minigameworld.listeners with parameters of type MiniGameExceptionEventModifier and TypeMethodDescriptionvoid
MiniGameEventListener.onMiniGameExceptionEvent(MiniGameExceptionEvent e)
-
Uses of MiniGameExceptionEvent in com.minigameworld.managers
Methods in com.minigameworld.managers with parameters of type MiniGameExceptionEventModifier and TypeMethodDescriptionboolean
MiniGameManager.handleException(MiniGameExceptionEvent exception)