Package com.minigameworld.frames
Class FakeMiniGame
java.lang.Object
com.minigameworld.frames.MiniGame
com.minigameworld.frames.FakeMiniGame
- All Implemented Interfaces:
GameEventListener
,org.bukkit.event.Listener
[Info]
- Fake minigame frame
- Player can NOT join
- Can be used for any purpose (e.g. Teleporter)
[Rule]
- Override and implement anything you want
- Fake minigame frame
- Player can NOT join
- Can be used for any purpose (e.g. Teleporter)
[Rule]
- Override and implement anything you want
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets minigame frame type (e.g.protected abstract void
onFakeJoin(org.bukkit.entity.Player p)
void
tutorial()
Register minigame tutorialMethods inherited from class com.minigameworld.frames.MiniGame
checkGameFinishCondition, className, coloredTitle, containsPlayer, customData, customOption, dataManager, equals, finishGame, gamePlayer, gamePlayers, handleException, id, initCustomData, initGame, initSettings, inventoryManager, isActive, isEmpty, isFull, isLessThanPlayersLeft, isLessThanPlayersLive, isLive, isMoreThanPlayersLive, isSameTemplate, isStarted, joinGame, leaveGame, leftPlayTime, leftWaitingTime, livePlayers, livePlayersCount, loadCustomData, location, locationManager, maxPlayers, minigame, minPlayers, minusEveryoneScore, minusScore, onException, onFinish, onFinishDelay, onJoin, onLeave, onStart, onUnview, onView, particle, particle, particles, playerCount, players, playSound, playSounds, playTime, plusEveryoneScore, plusScore, printScores, randomPlayer, rank, score, scoreboardManager, sendMessage, sendMessage, sendMessages, sendMessages, sendTitle, sendTitle, sendTitles, sendTitles, setLive, setting, startGame, taskManager, title, titleWithClassName, topPlayer, tutorials, updateScoreboard, viewManager, waitingTime
-
Constructor Details
-
FakeMiniGame
-
-
Method Details
-
onMiniGamePlayerJoin
-
onFakeJoin
protected abstract void onFakeJoin(org.bukkit.entity.Player p) -
tutorial
Description copied from class:MiniGame
Register minigame tutorial -
frameType
Description copied from class:MiniGame
Gets minigame frame type (e.g. "Solo", "SoloBattle", "Team", "TeamBattle")
Override this method for custom frame minigame class- Overrides:
frameType
in classMiniGame
- Returns:
- Minigame frame type
- See Also:
SoloMiniGame
,SoloBattleMiniGame
,TeamMiniGame
,TeamBattleMiniGame
-