Uses of Class
com.minigameworld.frames.MiniGame
Packages that use MiniGame
Package
Description
-
Uses of MiniGame in com.minigameworld.api
Methods in com.minigameworld.api that return MiniGameMethods in com.minigameworld.api with parameters of type MiniGameModifier and TypeMethodDescriptionboolean
MiniGameWorld.registerGame(MiniGame newGame)
Registers new template minigame to MiniGameWorld plugin
The Same class name minigame can't be registered in the same serverboolean
MiniGameWorld.unregisterGame(MiniGame minigame)
Unregisters template minigame from servervoid
MiniGameWorld.updateInstanceGameData(MiniGame instance)
Update instance minigame data with template minigame dataConstructors in com.minigameworld.api with parameters of type MiniGame -
Uses of MiniGame in com.minigameworld.api.observer
Methods in com.minigameworld.api.observer with parameters of type MiniGameModifier and TypeMethodDescriptionvoid
MiniGameTimingNotifier.notifyObservers(MiniGame minigame, MiniGameTimingNotifier.Timing timing)
Notify timing to observers -
Uses of MiniGame in com.minigameworld.dev
Subclasses of MiniGame in com.minigameworld.dev -
Uses of MiniGame in com.minigameworld.events.minigame
Constructors in com.minigameworld.events.minigame with parameters of type MiniGameModifierConstructorDescriptionMiniGameEvent(MiniGame minigame)
MiniGameFinishEvent(MiniGame minigame, List<MiniGamePlayer> players)
MiniGameScoreboardUpdateEvent(MiniGame minigame)
MiniGameStartEvent(MiniGame minigame)
-
Uses of MiniGame in com.minigameworld.events.minigame.instance
Constructors in com.minigameworld.events.minigame.instance with parameters of type MiniGameModifierConstructorDescriptionMiniGameInstanceCreateEvent(MiniGame minigame)
MiniGameInstanceEvent(MiniGame minigame)
MiniGameInstanceRemoveEvent(MiniGame minigame)
-
Uses of MiniGame in com.minigameworld.events.minigame.player
Constructors in com.minigameworld.events.minigame.player with parameters of type MiniGameModifierConstructorDescriptionMiniGamePlayerEvent(MiniGame minigame, org.bukkit.entity.Player player)
MiniGamePlayerJoinEvent(MiniGame minigame, org.bukkit.entity.Player player)
MiniGamePlayerLeaveEvent(MiniGame minigame, org.bukkit.entity.Player player)
MiniGamePlayerUnviewEvent(MiniGame minigame, org.bukkit.entity.Player player)
MiniGamePlayerViewEvent(MiniGame minigame, org.bukkit.entity.Player player)
-
Uses of MiniGame in com.minigameworld.frames
Subclasses of MiniGame in com.minigameworld.framesModifier and TypeClassDescriptionclass
[Info]
- Fake minigame frame
- Player can NOT join
- Can be used for any purpose (e.g.class
[Info]
- Minigame frame several players can battle individually like FFA
- min player count: 2 or more
[Rule]
- nothingclass
[Info]
- Minigame frame only 1 player can play
- solo play
- min player count: 1
- solo util methods
[Rule]
- nothingclass
[Info]
- Minigame frame players battle with each teams
- min team count: 2 or more
- all teams have the same score
- team util class, methods
[Custom Option]
- group-chat: If true, send message only to team members (default: true)
- team-pvp: If true, team members can not attack each other(pvp option have to be set to true), (default: false)
- team-size: Related withMiniGameSetting.getMaxPlayers()
, if "max-players" is 12 and "team-size" is 4 then 3 teams will be created.class
[Info]
- Minigame frame players cooperate with each other
- min player count: 1 or more
- all players have the same score
- team util methods
[Rule]
- must use "plusEveryoneScore()" or "minusEveryoneScore()" for team scoreMethods in com.minigameworld.frames that return MiniGameMethods in com.minigameworld.frames with parameters of type MiniGameModifier and TypeMethodDescriptionboolean
MiniGame.isSameTemplate(MiniGame game)
Check two games drived from the same template game or notConstructors in com.minigameworld.frames with parameters of type MiniGameModifierConstructorDescriptionTeamBattleMiniGameScoreboardUpdater(MiniGame minigame)
TeamMiniGameScoreboardUpdater(MiniGame minigame)
-
Uses of MiniGame in com.minigameworld.frames.helpers
Methods in com.minigameworld.frames.helpers that return MiniGameModifier and TypeMethodDescriptionMiniGameCustomOption.minigame()
MiniGameInventoryManager.minigame()
MiniGameViewManager.minigame()
Constructors in com.minigameworld.frames.helpers with parameters of type MiniGameModifierConstructorDescriptionLocationManager(MiniGame minigame)
MiniGameCustomOption(MiniGame minigame)
MiniGameDataManager(MiniGame minigame)
MiniGameInventoryManager(MiniGame minigame)
MiniGamePlayer(MiniGame minigame, org.bukkit.entity.Player p)
MiniGamePlayerState(MiniGame minigame, org.bukkit.entity.Player player)
MiniGameTaskManager(MiniGame minigame)
MiniGameViewManager(MiniGame minigame)
-
Uses of MiniGame in com.minigameworld.frames.helpers.scoreboard
Fields in com.minigameworld.frames.helpers.scoreboard declared as MiniGameConstructors in com.minigameworld.frames.helpers.scoreboard with parameters of type MiniGameModifierConstructorDescriptionMiniGamePlayScoreboard(MiniGame minigame)
MiniGameScoreboardManager(MiniGame minigame)
MiniGameScoreboardSidebarUpdater(MiniGame minigame)
MiniGameScoreboardUpdater(MiniGame minigame)
MiniGameWaitingScoreboard(MiniGame minigame)
-
Uses of MiniGame in com.minigameworld.managers
Methods in com.minigameworld.managers that return MiniGameModifier and TypeMethodDescriptionMiniGameManager.createGameInstance(MiniGame templateGame)
Create a new instance of template(registered) minigameMiniGameManager.getInGame(org.bukkit.entity.Player p)
MiniGameManager.getInstanceGame(Class<?> c, String id)
Get instance game with class simple name and minigame idMiniGameManager.getInstanceGame(String title, String id)
Get instance game with title and minigame idMiniGameManager.getPlayingGame(org.bukkit.entity.Player p)
Get playing instance minigameMiniGameManager.getTemplateGame(Class<?> c)
Get template minigame with class simple name
[USAGE]MiniGameManager.getTemplateGame(String title)
Get template minigame with titleMiniGameManager.getViewingGame(org.bukkit.entity.Player p)
Get viewing instance minigameMethods in com.minigameworld.managers that return types with arguments of type MiniGameModifier and TypeMethodDescriptionMiniGameManager.getInstanceGames()
MiniGameManager.getTemplateGames()
Methods in com.minigameworld.managers with parameters of type MiniGameModifier and TypeMethodDescriptionint
MiniGameManager.countInstances(MiniGame game)
MiniGameManager.createGameInstance(MiniGame templateGame)
Create a new instance of template(registered) minigamevoid
MiniGameManager.notifyObservers(MiniGame minigame, MiniGameTimingNotifier.Timing event)
boolean
MiniGameManager.registerTemplateGame(MiniGame templateGame)
Register template minigamevoid
MiniGameManager.removeGameInstance(MiniGame instance)
boolean
MiniGameManager.unregisterTemplateGame(MiniGame templateGame)
Unregister template minigamevoid
MiniGameManager.updateInstanceGameData(MiniGame instance)
Update instance game data with the template game data -
Uses of MiniGame in com.minigameworld.managers.event
Methods in com.minigameworld.managers.event that return MiniGame -
Uses of MiniGame in com.minigameworld.managers.party
Methods in com.minigameworld.managers.party with parameters of type MiniGameModifier and TypeMethodDescriptionboolean
Party.canJoinGame(MiniGame game)
Check party members can join minigame -
Uses of MiniGame in com.minigameworld.util
Methods in com.minigameworld.util with parameters of type MiniGameModifier and TypeMethodDescriptionstatic String
Setting.instanceDirFormat(String templateWorldName, MiniGame game)
Ref: https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html<world name>_<game title>_<yyyy-MM-dd'T'H-mm-ss>_<game id>